Let n and a be positive integers and let d = gcd(a, n). Show that the equation ax mod n = 1 has a solution if and only if d = 1.

Elements Of Modern Algebra
8th Edition
ISBN:9781285463230
Author:Gilbert, Linda, Jimmie
Publisher:Gilbert, Linda, Jimmie
Chapter2: The Integers
Section2.5: Congruence Of Integers
Problem 30E: 30. Prove that any positive integer is congruent to its units digit modulo .
icon
Related questions
Question

Let n and a be positive integers and let d = gcd(a, n). Show that the

equation ax mod n = 1 has a solution if and only if d = 1.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer