Learn/Number Theory/Primitive Roots
Number Theory • Topic 23

Primitive Roots

A primitive root modulo is a generator of the multiplicative group modulo . It is an element such that its powers cover all coprime residues.

Definition

Definition (Primitive Root)
is a primitive root modulo if .

Existence Theorem

Primitive roots exist only for moduli of the form:
where is an odd prime and .
  • Notably, no primitive roots for (composites divisible by two primes, or powers of 2 ).

Index (Discrete Logarithm)

If is a primitive root, any coprime to can be written as . is called the index or discrete logarithm.
  • Properties like logarithms: .

Practice Problems

Exercise (Problem 1)
Find a primitive root modulo 7.
Exercise (Problem 2)
Show that if is a primitive root modulo , then .
Exercise (Problem 3)
How many primitive roots are there modulo 17? (Answer: ).