The number a is a primitive root if ordn(a) = ϕ(n) and ordn(a) = k for ak ≡ 1 (mod n) where k is the smaller positive integer.
For a prime number n, it's easy to find the number of primitive roots with the Euler function ϕ(n) = n - 1.
For n = 625, the order is ϕ(625) = ϕ(54) = 53*4 = 500. (oops!)
For a prime number n, it's easy to find the number of primitive roots with the Euler function ϕ(n) = n - 1.
For n = 625, the order is ϕ(625) = ϕ(54) = 53*4 = 500. (oops!)
Last edited: