Dudley Section 10
Dudley Section 10
Dudley Section 10
Primitive Roots 1
Here ϕ(m) is Euler’s ϕ-function which is, for m is a positive integer, the number
of positive integers less than or equal to m and relatively prime to m.
Note. If (a, m) = 1 then there is positive integer t such that at ≡ 1 (mod m);
namely, t = ϕ(m). Of course there are infinitely many choices for t, since we could
take t = kϕ(m) where k is any positive integer: akϕ(m) ≡ (aϕ(m) )k ≡ 1k ≡ 1 (mod
m). We are particularly interested in the smallest value of t such that at ≡ 1 (mod
m).
Theorem 10.1. Suppose that (a, m) = 1 and a has order t modulo m. Then
an ≡ 1 (mod m) if and only if n is a multiple of t.
Theorem 10.2. If (a, m) = 1 and a has order t (mod m), then t | ϕ(m).
Exercise 10.2. What order can an integer have modulo 9? Find an example of
each.
Corollary 10.A. Any prime divisor of 2p −1 is of the form 2kp+1 for some integer
k.
Note. The next theorem lets us use primitive roots to generate the ϕ(m) positive
integers less than m that are relatively prime to m.
Section 10. Primitive Roots 4
Note. Not every integer has a primitive root. For example, with m = 8 we have
ϕ(8) = 4, but the order of a = 1 is 1, a = 3 has order 2 since 32 ≡ 1 (mod 8), a = 5
has order 2 since 52 ≡ 1 (mod 8), and a = 7 has order 2 since 72 ≡ 1 (mod 8);
remember, we only consider those numbers less than m = 8 and relatively prime to
m = 8. Our next goal is to show that each prime number has a primitive root (see
Theorem 10.6). The proof requires three lemmas and the existence of a primitive
root of a prime is given, though a technique of finding the primitive root is not
part of the proof. Dudley comments (see page 77): “For these reasons, you do not
lose too much if you take the result on faith.”
Lemma 10.1. Suppose that a has order t modulo m. Then ak has order t modulo
m if and only if (k, t) = 1.
Section 10. Primitive Roots 5
Corollary 10.B. Suppose that g is a primitive root of prime p. Then the least
residue of g k is a primitive root of p if and only if (k, p − 1) = 1.
Note. The next result is reminiscent of the Fundamental Theorem of Algebra (that
is, an n degree polynomial with complex coefficients has exactly n zeros, counting
multiplicity). However, in considering a polynomial equivalence with an n-degree
polynomial, we do not get exactly n zeros but instead at most n zeros.
Note. Lemma 10.2 does not hold if the modulus is not prime. For example, the
equation x2 + x ≡ 0 (mod 6) has more than n = 2 solutions, namely 0, 2, 3, and
5. This is because there are “zero divisors” modulo 6. Namely, 2 · 3 ≡ 0 (mod 6),
yet neither 2 nor 3 is 0 (mod 6). For more on zero divisors, see my online notes
for Introduction to Modern Algebra (MATH 4127/5127) on Section IV.19. Integral
Domains; notice Definition 19.2.
Note. With Lemmas 10.1 to 10.3, we now have the equipment to prove that every
prime number has a primitive root. In fact, we can also quantify the number of
primitive roots.
Section 10. Primitive Roots 6
Note. In the proof of Theorem 10.6, we introduced function ψ(t) as the number
of integers 1, 2, . . . , p − 1 that have order t mod p. We showed that ψ(t) = ϕ(t) for
each t a divisor of p − 1. Therefore, we have also proved the following.
Corollary 10.C. If p is a prime and t | (p − 1), then the number of least residues
modulo p with order t is ϕ(t).
Note. We know by Theorem 10.6 that every prime has a primitive root. It is
reasonable to consider other values of m for which a primitive root mod m exist.
Such m are classified in the Primitive Root Theorem. A (lengthy) proof of it can be
found in Amin Witno’s Theory of Numbers online book; see his Chapter 5 Primitive
Roots.
Note. Even though the Primitive Root Theorem lets us classify which numbers
have primitive roots, it does not tell us how to find the primitive roots. Dudley
comments (page 80): “No method is known for predicting what will be the smallest
positive primitive root of a given prime p, nor is there much known about the
distribution of the ϕ(p − 1) primitive roots among the least residues modulo p.”
Note. Recall that Wilson’s Theorem (Theorem 6.2) states: Positive integer p is
prime if and only if (p − 1)! ≡ −1 (mod p). We can use primitive roots to easily
prove one of the implications of Wilson’s Theorem
Revised: 3/6/2022