Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 3.1.21* (When is every quadratic nonresidue a primitive root?)

Exercise 3.1.21* (When is every quadratic nonresidue a primitive root?)

Let p be an odd prime. Prove that every primitive root of p is a quadratic nonresidue. Prove that every quadratic nonresidue is a primitive root if and only if p is of the form 2 2 n + 1 , where n is a non-negative integer, that is, if and only if p = 3 or p is a Fermat number.

Answers

( F 0 = 2 2 0 + 1 = 3 is a Fermat number, see wikipedia, or OEIS.)

Proof. Let p be an odd prime, and g a primitive root modulo p . Assume for contradiction that g is a quadratic residue, then g a 2 ( mod p ) . But then g ( p 1 ) 2 a p 1 1 , thus the order of g divides ( p 1 ) 2 . But the order of g is p 1 by definition. This contradiction shows that g is not a quadratic residue.

(Alternatively, from Problem 11, we know that the quadratic nonresidues are g , g 3 , g 5 , .)

Consider a Fermat number p = 2 2 n + 1 , where n = { 0 , 1 , 2 , 3 , } , and let a be a quadratic residue modulo p . If g is a chosen primitive root, then by Problem 11, a g t for some odd positive integer t . Let o ( x ) denote the order of an element x modulo p , if p x . Then o ( g ) = p 1 = 2 2 n . By Lemma 2.33,

o ( a ) = o ( g t ) = o ( g ) t o ( g ) = 2 2 n t 2 2 n ,

and since t is odd, t 2 2 n = 1 , thus

o ( a ) = 2 2 n = p 1 ,

so a is a primitive root modulo p . This shows that every quadratic nonresidue modulo F n is a primitive root.

Conversely, let p be any odd prime, and suppose that every quadratic nonresidue is a primitive root. Let p 1 = 2 a p 1 a 1 p 2 a 2 p l a l be the factorization of p 1 into prime factors, where 2 < p 1 < p 2 < < p k , and a i 0 .

Let g be a fixed primitive root modulo p . By problem 11, the quadratic non residues are the numbers g t where t is odd. By our hypothesis, g t is also a primitive root, for every odd t . This shows that for every odd t ,

o ( g t ) = o ( g ) t o ( g ) = o ( g ) = p 1 .

Thus t o ( g ) = 1 , so

t 2 a p 1 a 1 p 2 a 2 p l a l = 1 ( t  odd ) .

In particular, for t = p i , where p i is an odd prime, p i 2 n p 1 a 1 p 2 a 2 p l a l = 1 , thus a i = 0 . Therefore p 1 = 2 a , and

p = 2 a + 1 .

By Problem 1.3.42, since p is prime, a is a power of 2 , so that there is an integer n 0 such that

p = 2 2 n + 1 .

Every quadratic nonresidue is a primitive root if and only if p = 2 2 n + 1 for some integer n 0 . □

User profile picture
2024-10-21 07:58
Comments