Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.8.12 (The congruence $x^n \equiv a \pmod p$ has a unique solution if $(n,p-1) = 1$)

Exercise 2.8.12 (The congruence $x^n \equiv a \pmod p$ has a unique solution if $(n,p-1) = 1$)

Prove that if p is a prime, ( a , p ) = 1 and ( n , p 1 ) = 1 , then x n a ( mod p ) has exactly one solution.

Answers

Proof. Consider a primitive root g modulo p . By hypothesis a 0 ( mod p ) , thus a g b ( mod p ) for some integer b . Since x n a ( mod p ) , then x 0 ( mod p ) , so x g y for some integer y , where 0 y < p 1 . Then

x n a ( mod p ) g ny g b ( mod p ) ny b ( mod p 1 )

Since n ( p 1 ) = 1 , this last congruence has exactly one solution modulo p 1 . Indeed, if m is an inverse of n modulo p 1 , i.e. mn 1 ( mod p 1 ) , then

ny b ( mod p 1 ) y mb ( mod p 1 ) .

There is a unique y 0 [ [ 0 , p 1 [ [ such that y 0 mb ( mod p 1 ) , and so y = y 0 . Therefore

x n a ( mod p ) x g y 0 ( mod p ) ,

where y 0 is the unique solution of y 0 mb ( mod p 1 ) , 0 y 0 < p 1 .

If p is a prime such that a p = 1 and n ( p 1 ) = 1 , then x n a ( mod p ) has exactly one solution.

(Note that x n 0 ( mod p ) has also a unique solution x 0 ( mod p ) , so we can forget the condition a p = 1 .) □

User profile picture
2024-09-12 09:32
Comments