ProofComplete

Primitive Roots - Key Proof

We present a complete proof that primitive roots exist modulo every prime, establishing the cyclicity of the multiplicative group (Z/pZ)βˆ—(\mathbb{Z}/p\mathbb{Z})^*. This fundamental result uses properties of polynomial congruences and group theory.

ProofExistence of Primitive Roots Modulo Primes

Let pp be a prime. We prove that (Z/pZ)βˆ—(\mathbb{Z}/p\mathbb{Z})^* is cyclic, equivalently, that primitive roots modulo pp exist.

Lemma 1: For any divisor dd of pβˆ’1p-1, there are at most dd solutions to xd≑1(modp)x^d \equiv 1 \pmod{p}.

Proof: A polynomial of degree dd has at most dd roots modulo pp (since Z/pZ\mathbb{Z}/p\mathbb{Z} is a field). The polynomial xdβˆ’1x^d - 1 has degree dd, so at most dd roots modulo pp.

Lemma 2: Let ψ(d)\psi(d) denote the number of elements of order dd in (Z/pZ)βˆ—(\mathbb{Z}/p\mathbb{Z})^*. Then: βˆ‘d∣(pβˆ’1)ψ(d)=pβˆ’1\sum_{d \mid (p-1)} \psi(d) = p - 1

Proof: Every element has some order dd dividing pβˆ’1p-1 (by Lagrange's theorem). The sum counts all pβˆ’1p-1 non-zero elements exactly once.

Lemma 3: If there exists an element of order dd, then there are exactly Ο•(d)\phi(d) elements of order dd.

Proof: If gg has order dd, then gkg^k has order dd if and only if gcd⁑(k,d)=1\gcd(k, d) = 1. There are Ο•(d)\phi(d) such values of kk in {1,…,d}\{1, \ldots, d\}.

Main proof: We have ψ(d)∈{0,Ο•(d)}\psi(d) \in \{0, \phi(d)\} for each d∣(pβˆ’1)d \mid (p-1).

By Lemma 2: βˆ‘d∣(pβˆ’1)ψ(d)=pβˆ’1\sum_{d \mid (p-1)} \psi(d) = p - 1

But we also know (from properties of Euler's totient function): βˆ‘d∣(pβˆ’1)Ο•(d)=pβˆ’1\sum_{d \mid (p-1)} \phi(d) = p - 1

Since ψ(d)≀ϕ(d)\psi(d) \leq \phi(d) for all dd and both sums equal pβˆ’1p-1, we must have ψ(d)=Ο•(d)\psi(d) = \phi(d) for all divisors dd of pβˆ’1p-1.

In particular, ψ(pβˆ’1)=Ο•(pβˆ’1)>0\psi(p-1) = \phi(p-1) > 0, so there exist elements of order pβˆ’1p-1. These are primitive roots modulo pp.

β– 
Remark

This proof is surprisingly elegant: it uses only basic counting and the formula βˆ‘d∣nΟ•(d)=n\sum_{d \mid n} \phi(d) = n. The key insight is that if fewer than Ο•(d)\phi(d) elements had order dd for some dd, the total count would be less than pβˆ’1p-1, a contradiction.

ProofPrimitive Roots Modulo Prime Powers

Let pp be an odd prime and gg a primitive root modulo pp. We prove that either gg or g+pg + p is a primitive root modulo pkp^k for all kβ‰₯1k \geq 1.

Step 1: Show that ordpk(g)=pkβˆ’1(pβˆ’1)\text{ord}_{p^k}(g) = p^{k-1}(p-1) if gpβˆ’1≑̸1(modp2)g^{p-1} \not\equiv 1 \pmod{p^2}.

Let d=ordpk(g)d = \text{ord}_{p^k}(g). Since gpβˆ’1≑1(modp)g^{p-1} \equiv 1 \pmod{p}, we have pβˆ’1∣dp-1 \mid d by properties of orders.

Also, dβˆ£Ο•(pk)=pkβˆ’1(pβˆ’1)d \mid \phi(p^k) = p^{k-1}(p-1), so d=pj(pβˆ’1)d = p^j(p-1) for some 0≀j≀kβˆ’10 \leq j \leq k-1.

From gd≑1(modpk)g^d \equiv 1 \pmod{p^k}, we get gd≑1(modp)g^d \equiv 1 \pmod{p}, so (pβˆ’1)∣d(p-1) \mid d.

Key claim: If gpj(pβˆ’1)≑1(modpj+2)g^{p^{j}(p-1)} \equiv 1 \pmod{p^{j+2}}, then gpj+1(pβˆ’1)≑1(modpj+3)g^{p^{j+1}(p-1)} \equiv 1 \pmod{p^{j+3}}.

This follows from the binomial theorem: if gm=1+tpj+2g^m = 1 + tp^{j+2} with p∀tp \nmid t, then: gpm=(1+tpj+2)p≑1+tpj+3(modpj+4)g^{pm} = (1 + tp^{j+2})^p \equiv 1 + tp^{j+3} \pmod{p^{j+4}}

By induction, if gpβˆ’1≑̸1(modp2)g^{p-1} \not\equiv 1 \pmod{p^2}, then gpj(pβˆ’1)≑̸1(modpj+2)g^{p^{j}(p-1)} \not\equiv 1 \pmod{p^{j+2}} for all jβ‰₯0j \geq 0.

Therefore, ordpk(g)=pkβˆ’1(pβˆ’1)=Ο•(pk)\text{ord}_{p^k}(g) = p^{k-1}(p-1) = \phi(p^k).

Step 2: If gpβˆ’1≑1(modp2)g^{p-1} \equiv 1 \pmod{p^2}, show that (g+p)pβˆ’1≑̸1(modp2)(g+p)^{p-1} \not\equiv 1 \pmod{p^2}.

By the binomial theorem: (g+p)pβˆ’1=gpβˆ’1+(pβˆ’1)gpβˆ’2p+(pβˆ’12)gpβˆ’3p2+β‹―(g+p)^{p-1} = g^{p-1} + (p-1)g^{p-2}p + \binom{p-1}{2}g^{p-3}p^2 + \cdots

Modulo p2p^2: (g+p)pβˆ’1≑gpβˆ’1+(pβˆ’1)gpβˆ’2p(modp2)(g+p)^{p-1} \equiv g^{p-1} + (p-1)g^{p-2}p \pmod{p^2}

If gpβˆ’1≑1(modp2)g^{p-1} \equiv 1 \pmod{p^2}, then: (g+p)pβˆ’1≑1βˆ’gpβˆ’2p(modp2)(g+p)^{p-1} \equiv 1 - g^{p-2}p \pmod{p^2}

Since gg is a primitive root modulo pp, we have g≑̸0(modp)g \not\equiv 0 \pmod{p}, so gpβˆ’2≑̸0(modp)g^{p-2} \not\equiv 0 \pmod{p}.

Therefore, (g+p)pβˆ’1≑̸1(modp2)(g+p)^{p-1} \not\equiv 1 \pmod{p^2}, and g+pg+p is a primitive root modulo pkp^k by Step 1.

β– 
ExampleVerification

For p=5p = 5, we have g=2g = 2 as a primitive root.

Check: 25βˆ’1=16=25βˆ’92^{5-1} = 16 = 25 - 9, so 24≑16(mod25)2^4 \equiv 16 \pmod{25}.

Since 16≑̸1(mod25)16 \not\equiv 1 \pmod{25}, the element 22 is a primitive root modulo 2525 (and all powers of 55).

These proofs demonstrate the deep connection between polynomial congruences, group structure, and the existence of generators in modular arithmetic.