Primitive roots exist modulo every prime
Statement
Let be a prime. Prove that there exists an integer whose multiplicative order modulo is (a primitive root).
Hint
For let be the number of residues of order . Show using that a polynomial of degree has at most roots modulo , and compare with .
Show solutionHide solution
Solution
Setup. Work in the field . Every nonzero residue has an order dividing (Fermat), so
Claim: for all . If there is nothing to prove. Otherwise let have order . The numbers are pairwise distinct and all satisfy . A polynomial of degree over a field has at most roots, so these are *all* the roots of . Any element of order is a root of , hence of the form with . The order of is , which equals iff . So in this case.
Comparison. We know (the sum of over the divisors of ). Combined with and , equality must hold for every :
In particular : a primitive root exists.
Example. : is a primitive root (), and there are of them ( and ).
Lesson. Count elements of each order, bound each count by a polynomial-root argument, and use to force equality.