In: Advanced Math
Let p be an odd prime.
(a) (*) Prove that there is a primitive root modulo p2 . (Hint: Use that if a, b have orders n, m, with gcd(n, m) = 1, then ab has order nm.)
(b) Prove that for any n, there is a primitive root modulo pn.
(c) Explicitly find a primitive root modulo 125.
Please do all parts.
Thank you in advance
(a)
Claim. If g is a primitive root mod p then either g or g + p
must be a primitive root mod p2
Let g be a primitive root mod p. Denote k :=
ordp2 (g). We have k |ϕ(p2)= p(p −
1) and gk ≡ 1 mod p2
. Since ordp(g) = p − 1, k must be divisible by p − 1.
Thus k= p(p − 1) or k = p − 1. In the former case g is
a primitive root modulo p. So assume k = p − 1, that is,
gp-1 ≡ 1 mod p2
Then
(g + p)p-1 ≡ gp-1+ p(p − 1)gp-2≡ 1
+ p(p − 1)gp-2 1 mod
p2
.
As g+p is a primitive root mod p, by the above argument it must be
primitive mod p2
(b)