Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.2.16* (If $F_n = 2^{2^n}+1$ is prime, $3,5,7$ are primitive roots modulo $F_n$ ($n>1$))
Exercise 3.2.16* (If $F_n = 2^{2^n}+1$ is prime, $3,5,7$ are primitive roots modulo $F_n$ ($n>1$))
Show that if is prime then is a primitive root and that and are primitive roots provided that .
Answers
Proof. Assume that is prime, where is a positive integer ( is not a primitive root of ). Since , where , we may repeat the arguments of Problem 15 (see Problem 15 for more details):
therefore , so This gives
If is the order of modulo , then , but . Hence . This shows that is a primitive element modulo .
(Alternatively, we have proved by another way in Problem 3.1.21 that any quadratic nonresidue modulo a Fermat number is a primitive root.)
Suppose now that . Using , the law of quadratic reciprocity shows that
Similarly,
Moreover, for every exponent
By an obvious induction, we obain for all such that . Hence
Therefore or . Since the quadratic residues modul are , this shows that is a quadratic non residue modulo . Hence
Since any quadratic nonresidue modulo a Fermat number is a primitive root, (Problem 3.1.21), , and are primitive roots modulo . □
Verification with Sage that :
sage: def F(n): ....: return 2^(2^n) + 1 ....: sage: [F(n) % 7 for n in range(2,15)] [3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3] sage: [F(n) % 5 for n in range(2,15)] [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] sage: [F(n) % 3 for n in range(2,15)] [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]