Zsigmondy's Theorem: Bart Michels February 4, 2014
Zsigmondy's Theorem: Bart Michels February 4, 2014
Zsigmondy's Theorem: Bart Michels February 4, 2014
Bart Michels
February 4, 2014∗
Zsigmondy’s theorem is a by few known theorem that often proves useful in various num-
ber theory problems. In this article we give an elementary proof of Zsigmondy’s theorem.
1 Prerequisites
Before proving the main theorem we present some elementary properties of cyclotomic
polynomials. The proofs can be found in [2].
Let Φn (x) denote the n-th cyclotomic polynomial.
Theorem 1. Let p be a prime number. If the polyomial xn − 1 has a double root modulo
p, that is, there exists an integer a and a polynomial f (x) ∈ Z[x] for which
then p | n.
∗
Modified december 1st, 2014
1
Theorem 2. If n is a positive integer, then
Y
xn − 1 = Φd (x) (1)
d|n
and Y n
Φn (x) = (x d − 1)µ(d) . (2)
d|n
Here a negative exponent in the right hand side of (2) has to be interpreted as a division
of polynomials.
k
In particular we have that Φpk n (a) | Φn (ap ) for all a ∈ Z.
Theorem 4. Let n be a positive integer and a be any integer. Then every prime divisor
p of Φn (a) either satisfies p ≡ 1 (mod n) or p | n.
Lemma 5. Let x and y be integers, let n be a positive integer, and let p be an odd prime
such that p | x − y and none of x and y is divisible by p. Then
vp (xn − y n ) = vp (x − y) + vp (n).
Here vp (a) denotes the highest integer exponent k such that pk | a. We also write pk k a.
We will refer to this as the Lifting The Exponent Lemma.
Proof.
From p | Φn (a) we certainly have p | an − 1 ≡ aq − 1, so k = ordp (a) exists and k | q.
α
Because (theorem 3) Φn (a) | Φq (ap ) ≡ Φq (a) (mod p) we have that p | Φq (a).
If k < q there would be a divisor d | k for which p | ΦQd (a) (a consequence of (1)). As
q
d | q and d < q this means the polynomial x − 1 = r|q Φr (x) has a double root, a,
modulo p due to a factor Φd (x)Φq (x). From theorem 1 we would obtain that p | q, which
is impossible. Therefore k = q.
2
Proof.
From the triangle inequality for complex numbers we have x − 1 6 |x − ζ| 6 x + 1 for
any complex number ζ with |ζ| = 1. The first inequality is strict unless ζ = 1, and the
second is strict unless ζ = −1. Applying this we obtain
Y
(x − 1)ϕ(n) 6 |x − ζ| < (x + 1)ϕ(n) ,
ζ n =1
ord(ζ)=n
with equality only if ϕ(n) = 1, that is, n = 2. Note that the second inequality is always
strict, because |x − 1| < |x + 1|. The product in the middle is, by definition |Φn (x)|. If
x > 1 then from (2) we have Φn (x) > 0, hence |Φn (x)| = Φn (x).
a n
Because zn = bn b
− 1 , from (1) and (2) we have that
a
ϕ(n)
Ψn = b Φn (4)
b
and Y
zn = Ψd . (5)
d|n
If zn = pa11 · · · par r where ps1 , . . . , pst are the primitive prime divisors of zn , we set
a a
Pn = ps1s1 · · · pstst .
From (4) we have Ψn ∈ Z and from (3) it follows that Pn | Ψn , because the only zk for
which gcd(Pn , zk ) > 1 is zn , by definition of Pn . Let Ψn = λn Pn . We will prove that
Pn > 1 in the cases Zsigmondy’s theorem does not exclude.
2. An upper bound on λn
From (5) it follows that Ψn | zznd for every positive divisor d | n with d < n.
Note that gcd(λn , Pn ) = 1, because λn Pn = Ψn | zn and by definition Pn contains all
primitive divisors of zn , so λn can not be a multiple of a prime which divides Pn .
Let p be a prime divisor of Ψn such that p | λn , so p is not primitive. We will prove that
p | n. Let d < n such that p | zd .
3
If p = 2, then from theorem 4 we have 2 | n, at least if n > 1. Suppose p is odd. If p - n
then by the Lifting The Exponent Lemma, vp (zn ) = vp (zd ) so p - zznd , a contradiction to
Ψn | zznd . Hence rad(λn ) | n.
Suppose λn > 1. If p is a prime divisor of λn with pα k n and n = pα q, then from theorem
3 we have
α α
p | Ψn | Ψq (ap , bp ) ≡ Ψq (mod p),
where more generally we denote
ϕ(n) x
Ψn (x, y) = y Φn .
y
3. A lower bound on Pn
In this part of the proof we exploit the result of Lemma 7. We consider three cases.
Case 1: λn = 1
If λn = 1, then Pn = Ψn > (a − b)ϕ(n) > 1. The inequality is strict unless n = 2 and
a − b = 1, but then Zsigmondy’s theorem is trivially true.
Case 3: λn = p and a − b = 1
Suppose the inequality Pn > 1 is not strict, so Ψn = p. This will eventually give us the
only counterexample that’s left, being n = 6, a = 2.
From p | zn it follows that p is odd. Let n = pα q.
α−1 α−1
If α > 1, then p = Ψn = Ψpq (ap , bp ), but
p−1
pα−1 pα−1 pα−1 pα−1 ϕ(pq) p p
X p
Ψpq (a ,b ) > (a −b ) >a −b = bk > p,
k=0
k
4
because p > 2, contradiction. Hence n = pq. Now we have
3 Applications
In this section we present some elementary applications of Zsigmondy’s theorem. We
start with a similar theorem for sums of nth powers.
Solution.
Because −1 is not a quadratic residue modulo 3, we have that n is odd. From a+1 | an +1
we have that 3 | a + 1. If a 6= 2 or n 6= 3, an + 1 has a prime divisor different from 3,
which means an + 1 cannot be a power of 3.
The only remaining case is a = 2 and n = 3, giving the only solution (a, n, k) = (2, 3, 2).
Solution.
Let a = p1 p2 · · · pn and b = 2a + 1. It is sufficient to prove that b has at least 2n prime
divisors. This is indeed true, because Zsigmondy’s theorem for sums says that as 3 - a,
2d + 1 introduces a new prime for every divisor d | a. As a has 2n divisors, b has at least
2n prime divisors, which is much bigger than the required 2n.
5
Theorem 8. Let a, b, n be positive integers such that 3 - n and gcd(a, b) = 1. Then
τ (an + bn ) > 2τ (n) . If n is odd and a − b > 1, then τ (an − bn ) > 2τ (n) .
Here τ counts the number of positive divisors. The proof is analoguous to the solution
of example 2. The conditions for the inequalites can be weakened by studying in which
cases ad ± bd does not contain a primitive prime divisor, for some d | n.
References
[1] G.D. Birkhoff, H.S. Vandiver, On the Integral Divisors of an − bn , 1904,
http://www.jstor.org/stable/info/2007263