Cyclotomic polynomials

Jordan Bell
April 12, 2017

1 Preliminaries

By an arithmetical function we mean a function whose domain contains the positive integers. We say that an arithmetical function f is multiplicative when gcd⁡(n,m)=1 implies f⁢(n⁢m)=f⁢(n)⁢f⁢(m), and that it is completely multiplicative when f⁢(n⁢m)=f⁢(n)⁢f⁢(m) for all n,m≥1.

Write

Un={e2⁢π⁢i⁢k/n:1≤k≤n}={e2⁢π⁢i⁢k/n:0≤k≤n-1},

the nth roots of unity. For n>1, there is an element ζ of Un with ζ≠1. Because ξ↦ζ⁢ξ is a bijection Un→Un we have ζ⁢∑ξ∈Unξ=∑ξ∈Unξ, hence (1-ζ)⁢∑ξ∈Unξ=0. But ζ≠1, which means that

∑k=0n-1e2⁢π⁢i⁢k/n=∑ξ∈Unξ=0,n>1.

Write

Δn={e2⁢π⁢i⁢k/n:1≤k≤n,gcd⁡(k,n)=1},

the primitive nth roots of unity. Let ϕ be the Euler phi function:

ϕ⁢(n)=|{k:1≤k≤n,gcd⁡(k,n)=1}|=|Δn|.

ϕ is multiplicative, and for prime p and for r≥1, ϕ⁢(pr)=pr-1⁢(p-1).

Let μ be the Möbius function:

μ⁢(n)=∑1≤k≤n,gcd⁡(k,n)=1e2⁢π⁢i⁢k/n=∑ξ∈Δnξ.

For p prime, as Δp=Up∖{1},

μ⁢(p)=-1+∑ξ∈Upξ=0-1=-1.

For r≥2, as Δpr=Upr∖Upr-1,

μ⁢(pr)=-∑ξ∈Upr-1ξ+∑ξ∈Uprξ=-0+0=0.

Furthermore, one proves that μ is multiplicative. Thus

μ⁢(n)={1n is a square-free integer with an even number of prime factors-1n is a square-free integer with an odd number of prime factors0otherwise.

The Möbius inversion formula states that if f and g are arithmetic functions satisfying

g⁢(n)=∑d∣nf⁢(d),n≥1,

then

f⁢(n)=∑d∣nμ⁢(n/d)⁢g⁢(d),n≥1.

We can write

Un=⋃d∣nΔd,

and Δd∩Δe=∅ for d≠e. So

n=∑d∣nϕ⁢(d).

Therefore by the Möbius inversion formula,

ϕ⁢(n)=∑d∣nd⋅μ⁢(n/d).

Also, for n>1,

∑d∣nμ⁢(d)=∑d∣n∑ξ∈Δdξ=∑ξ∈Unξ=0. (1)

Let

d⁢(n)=∑d∣n1,

the number of divisors of n, for example, d⁢(6)=4. Let

ω⁢(n)=∑p∣n1,

the number of prime divisors of n: for n=p1α1⁢⋯⁢prαr, α1,…,αr≥1, we have ω⁢(n)=r, for example ω⁢(12)=ω⁢(22⋅3)=2.

2 Definition and basic properties of cyclotomic polynomials

For n≥1, let

Φn⁢(x)=∏1≤k≤n,gcd⁡(k,n)=1(x-e2⁢π⁢i⁢k/n)=∏ξ∈Δn(x-ξ),

the nth cyclotomic polynomial. The first of the following two identities was found by Euler [45, pp. 199–200, Chap. III, §VI].

Lemma 1.

For n≥1,

xn-1=∏d∣nΦd⁢(x),

and for x∉Un,

Φn⁢(x)=∏d∣n(xd-1)μ⁢(n/d).
Proof.

For Fn⁢(x)=xn-1, each of e2⁢π⁢i⁢k/n, 1≤k≤n, is a distinct root of Fn⁢(x), so

xn-1 =∏1≤k≤n(x-e2⁢π⁢i⁢k/n)
=∏d∣n∏1≤k≤n,gcd⁡(k,n)=d(x-e2⁢π⁢i⁢k/n)
=∏d∣n∏1≤j≤n/d,gcd⁡(j,n/d)=1(x-e2⁢π⁢i⁢j⁢d/n)
=∏d∣nΦn/d⁢(x)
=∏d∣nΦd⁢(x).

That is, log⁡Fn=∑d∣nlog⁡Φd. Therefore applying the Möbius inversion formula yields log⁡Φn=∑d∣nμ⁢(n/d)⁢log⁡Fd and so Φn=∏d∣nFdμ⁢(n/d). ∎

Lemma 2.

When p is a prime,

Φp⁢(x)=xp-1+⋯+x+1.

When p is an odd prime,

Φ2⁢p⁢(x)=xp-1-xp-2+xp-3-⋯+x2-x+1.
Proof.

When p is a prime, xp-1=Φ1⁢(x)⋅Φp⁢(x), i.e.

Φp⁢(x)=xp-1Φ1⁢(x)=xp-1x-1=xp-1+⋯+x+1.

When p is an odd prime,

Φ2⁢p⁢(x)=x2⁢p-1Φ1⁢(x)⁢Φ2⁢(x)⁢Φp⁢(x)=x2⁢p-1(xp-1)⁢Φ2⁢(x)=(xp-1)⁢(xp+1)(xp-1)⁢(x+1)=xp+1x+1,

and because (x+1)⁢(xp-1-xp-2+xp-3-⋯+x2-x+1)=xp+1,

Φ2⁢p⁢(x)=xp-1-xp-2+xp-3-⋯+x2-x+1.

∎

Lemma 3.

If p is a prime and m≥1,

Φp⁢m⁢(x)={Φm⁢(xp)p|mΦm⁢(xp)/Φm⁢(x)p∤m.

For k≥1,

Φpk⁢m⁢(x)={Φm⁢(xpk)p|mΦm⁢(xpk)/Φm⁢(xpk-1)p∤m,
Proof.

Using Lemma 1,

Φp⁢m⁢(x) =∏d∣(p⁢m)(xd-1)μ⁢(p⁢m/d)
=∏d∣(pm),p|d(xd-1)μ⁢(p⁢m/d)⋅∏d∣(p⁢m),p∤d(xd-1)μ⁢(p⁢m/d)
=∏e∣m(xp⁢e-1)μ⁢(m/e)⋅∏d∣(p⁢m),p∤d(xd-1)μ⁢(p⁢m/d)
=Φm⁢(xp)⋅∏d∣(p⁢m),p∤d(xd-1)μ⁢(p⁢m/d).

If m=a⁢p and d|(p⁢m) and p∤d, then μ⁢(p⁢m/d)=μ⁢(a⁢p2/d)=0 and

Φp⁢m⁢(x)=Φm⁢(xp)⋅∏d∣a(xd-1)μ⁢(a⁢p2/d)=Φm⁢(xp).

If p∤m and d∣(p⁢m) and p∤d, then μ⁢(p⁢m/d)=μ⁢(p)⁢μ⁢(m/d)=-μ⁢(m/d) and

Φp⁢m⁢(x)=Φm⁢(xp)⋅∏d∣(p⁢m),p∤d(xd-1)μ⁢(p⁢m/d)=Φm⁢(xp)⋅∏d∣m(xd-1)-μ⁢(m/d).

For k≥2,

Φpk⁢m⁢(x)=Φp⋅pk-1⁢m⁢(x)=Φpk-1⁢m⁢(xp)=⋯=Φp⁢m⁢(xpk-1),

and using the expression we obtained for Φp⁢m⁢(x) we get the expression stated for Φpk⁢m⁢(x). ∎

Lemma 4.

For n=p1α1⁢⋯⁢prαr, where pi are prime and αi≥1, and N=p1⁢⋯⁢pr,

Φn⁢(x)=ΦN⁢(xn/N).
Proof.

If d|n and d∤N then μ⁢(d)=0, hence

Φn⁢(x) =∏d∣n(xn/d-1)μ⁢(d)
=∏d∣N(xn/d-1)μ⁢(d)
=∏d∣N((xn/N)N/d-1)μ⁢(d)
=ΦN⁢(xn/N).

∎

Lemma 5.

If n>1 then

Φn⁢(x-1)=x-ϕ⁢(n)⁢Φn⁢(x).
Proof.
Φn⁢(x-1)=∏d∣n(x-d-1)μ⁢(n/d)=∏d∣n(1-xd)μ⁢(n/d)⁢(x-d)μ⁢(n/d),

hence

Φn⁢(x-1)=∏d∣n(-x-d)μ⁢(n/d)⋅∏d∣n(xd-1)μ⁢(n/d).

Because n>1 it holds that ∑d∣nμ⁢(n/d)=0, and using this and ∑d∣nd⋅μ⁢(n/d)=ϕ⁢(n) yields

Φn⁢(x-1)=x-ϕ⁢(n)⁢Φn⁢(x).

∎

Lemma 6.

If r>1 is odd then

Φ2⁢r⁢(x)=Φr⁢(-x).
Proof.

Because r is odd, if d1,…,dl are the divisors of r then

d1,…,dl,2⁢d1,…,2⁢dl

are the divisors of 2⁢r, so

Φ2⁢r⁢(x) =∏d∣(2⁢r)(xd-1)μ⁢(2⁢r/d)
=∏d∣r(xd-1)μ⁢(2⁢r/d)⋅∏d|r(x2⁢d-1)μ⁢(2⁢r/(2⁢d))
=∏d∣r(xd-1)μ⁢(2⁢r/d)⁢(x2⁢d-1)μ⁢(r/d)
=∏d∣r(xd-1)μ⁢(2)⁢μ⁢(r/d)+μ⁢(r/d)⁢(xd+1)μ⁢(r/d)
=∏d∣r(xd+1)μ⁢(r/d).

Because r is odd, any divisor d of r is odd and then xd+1=-((-x)d-1), so

Φ2⁢r⁢(x)=∏d∣r(-1)μ⁢(r/d)⁢((-x)d-1)μ⁢(r/d)=(-1)ϕ⁢(r)⋅∏d∣r((-x)d-1)μ⁢(r/d).

Because r is odd and >1, ϕ⁢(r) is even, so we have obtained the claim. ∎

Theorem 7.

Φn∈ℤ⁢[x].

Proof.

It is a fact that if R is a unital commutative ring, f∈R⁢[x] is a monic polynomial and g∈R⁢[x] is a polynomial, then there are q,r∈R⁢[x] with

g=q⁢f+r,

r=0 or deg⁡r<deg⁡f.

First, Φ1⁢(x)=x-1∈ℤ⁢[x]. For n>1, assume that Φd⁢(x)∈ℤ⁢[x] for 1≤d<n. Then let

f=∏d∣n,d<nΦd,

which by hypothesis belongs to ℤ⁢[x]. Since each Φd is monic, so is f. On the one hand, since g⁢(x)=xn-1∈ℤ⁢[x], there are q,r∈ℤ⁢[x] with g=q⁢f+r and r=0 or deg⁡r<deg⁡f. On the other hand, by Lemma 1 we have g=Φn⁢f∈ℂ⁢[x]. Thus Φn⁢f=q⁢f+r∈ℂ⁢[x], so r=f⋅(Φn-q)∈ℂ⁢[x]. If Φn≠q then deg⁡r=deg⁡f+deg⁡(Φn-q)≥deg⁡f, contradicting that r=0 or deg⁡r<deg⁡f. Therefore Φn=q∈ℂ⁢[x], and because q∈ℤ⁢[x] this means that Φn∈ℤ⁢[x]. ∎

In fact, it can be proved that Φn is irreducible in ℚ⁢[x]. Gauss states in entry 40 of his mathematical diary, dated October 9, 1796, that Φp is irreducible in ℚ⁢[x] when p is prime, and he proves this in Disqisitiones Arithmeticae, Art. 341. Gauss further states in entry 136 of his mathematical diary, dated June 12, 1808, that for any n, Φn is irreducible in ℚ⁢[x], and Kronecker proves this in his 1854 Mémoire sur les facteurs irréductibles de l’expression xn-1. Gauss’s work on cyclotomic polynomials is surveyed by Neumann [40]. For any ξ∈Δn, Φn⁢(ξ)=0, and since Φn is irreducible in ℚ⁢[x] and is monic, Φ is the minimal polynomial of ξ over ℚ, which implies that [ℚ(ξ):ℚ]=degΦn=ϕ(n).

There is a group isomorphism Gal⁢(ℚ⁢(ξ)/ℚ)→(ℤ/n)* [16, p. 596, Theorem 26].

The discriminant [44, p. 12, Proposition 2.7]:

d⁢(ℚ⁢(e2⁢π⁢i/n))=(-1)ϕ⁢(n)/2⁢nϕ⁢(n)∏p∣npϕ⁢(n)/(p-1).

It can be proved that 𝒪ℚ⁢(e2⁢π⁢i/n)=ℤ⁢[e2⁢π⁢i/n] [39, p. 60, Proposition 10.2].

Let p be prime, let q=pr for r≥1, let 𝔽q be a finite field with q elements, and for n≥1 with gcd⁡(n,q)=1, let ν be the multiplicative order of q modulo n: ν is the minimum positive integer satisfying qν≡1(modn). It can be proved that there are monic, degree ν, irreducible polynomials P1,…,Pϕ⁢(n)/ν∈𝔽q⁢[x] such that Φn=P1⁢⋯⁢Pϕ⁢(n)/ν∈𝔽q⁢[x] [28, p. 65, Theorem 2.47]; cf. Bourbaki [7, p. 581] on Kummer. In particular, q is a generator of the multiplicative group (ℤ/n)* if and only if ν=ϕ⁢(n) if and only if Φn is irreducible in 𝔽q⁢[x]. We remark that (ℤ/n)* is cyclic if and only if n is 2, 4, some power of an odd prime, or twice some power of an odd prime (Gauss, Disquisitiones Arithmeticae, Art. 89–92). This follows from (i) the multiplicative group (ℤ/n)* is isomorphic with the direct product (ℤ/p1α1)*×⋯×(ℤ/prαr)* for n=p1α1⁢⋯⁢prαr, (ii) (ℤ/2α)* is isomorphic with ℤ/2×ℤ/2α-2, α≥2, and (iii) (ℤ/pα)* is a cyclic group with pα-1⁢(p-1) elements when p is an odd prime, α≥1 [16, p. 314, Corollary 20].

3 Special values

Lemma 8.

Φ1⁢(0)=-1, and for n≥2, Φn⁢(0)=1.

Proof.

Φ1⁢(x)=x-1, so Φ1⁢(0)=-1. For n≥2, using (1),

Φn⁢(0)=∏d∣n(-1)μ⁢(n/d)=(-1)∑d∣nμ⁢(n/d)=(-1)∑d∣nμ⁢(d)=(-1)0=1.

∎

Let Λ be the von Mangoldt function: Λ⁢(n)=log⁡p if n=pα for some prime p and some integer α≥1, and is Λ⁢(n)=0 otherwise. Thus Λ⁢(2)=log⁡2, Λ⁢(8)=log⁡2, Λ⁢(3)=log⁡3, and Λ⁢(6)=0. One sees that

log⁡n=∑d∣nΛ⁢(d).

Therefore by the Möbius inversion formula,

Λ⁢(n)=∑d∣nμ⁢(n/d)⁢log⁡d.
Theorem 9.

For n>1,

Φn⁢(1)=eΛ⁢(n)

and

Φn′⁢(1)=12⁢eΛ⁢(n)⁢ϕ⁢(n).
Proof.

For n>1,

xn-1+⋯+x+1=∏d⁢∣n,d>⁢1Φd⁢(x),

hence

log⁡n=∑d⁢∣n,d>⁢1log⁡Φd⁢(1).

Therefore by the Möbius inversion formula,

log⁡Φn⁢(1)=∑d⁢∣n,d>⁢1μ⁢(n/d)⁢log⁡d=∑d∣nμ⁢(n/d)⁢log⁡d=Λ⁢(n).

Because xn-1=∏d∣nΦd⁢(x), taking the logarithm and then taking the derivative yields

n⁢xn-1xn-1=∑d∣nΦd′⁢(x)Φd⁢(x).

Φ1⁢(x)=x-1 and so Φ1′⁢(x)Φ1⁢(x)=1x-1, hence

n⁢xn-1xn-1-1x-1=∑d⁢∣n,d>⁢1Φd′⁢(x)Φd⁢(x),

i.e.

n⁢xn-1-(xn-1+xn-2+⋯+x+1)xn-1=∑d⁢∣n,d>⁢1Φd′⁢(x)Φd⁢(x).

Doing polynomial long division we find

(n-1)⁢xn-1-xn-2-⋯-x-1x-1=(n-1)⁢xn-2+(n-2)⁢xn-3+⋯+2⁢x+1.

Hence

(n-1)⁢xn-2+(n-2)⁢xn-3+⋯+2⁢x+1xn-1+xn-2+⋯+x+1=∑d⁢∣n,d>⁢1Φd′⁢(x)Φd⁢(x),

and for x=1 this is

n-12=∑d⁢∣n,d>⁢1Φd′⁢(1)Φd⁢(1).

By the Möbius inversion formula,

Φn′⁢(1)Φn⁢(1)=∑d⁢∣n,d>⁢1μ⁢(n/d)⋅d-12,

and using (i) Φn⁢(1)=eΛ⁢(n) for n>1, (ii) ∑d∣nμ⁢(n/d)=0 for n>1, and (iii) ∑d∣nd⋅μ⁢(n/d)=ϕ⁢(n), we have

Φn′⁢(1)=eΛ⁢(n)⁢12⁢∑d∣nμ⁢(n/d)⋅d-eΛ⁢(n)⁢12⁢∑d∣nμ⁢(n/d)=12⁢eΛ⁢(n)⁢ϕ⁢(n).

∎

Because Φn∈ℤ⁢[x], it is the case that Φn⁢(-i)=Φn⁢(i)¯.

Theorem 10.

Φ1⁢(i)=i-1, Φ2⁢(i)=i+1, Φ4⁢(i)=0, and otherwise we have the following.

  • •

    If n is odd and has a prime factor p≡1(mod4), then Φn⁢(i)=1.

  • •

    If p≡3(mod4) is prime and k≥1 is odd, then Φpk⁢(i)=i.

  • •

    If p≡3(mod4) is prime and k≥1 is even, then Φpk⁢(i)=-i.

  • •

    If p≡3(mod4) is prime and k≥1 is odd, then Φ2⁢pk⁢(i)=-i.

  • •

    If p≡3(mod4) is prime and k≥1 is even, then Φ2⁢pk⁢(i)=i.

  • •

    If p,q≡3(mod4) are distinct primes and k,l≥1, then Φpk⁢ql⁢(i)=-1.

  • •

    If p,q≡3(mod4) are distinct primes and k,l≥1, then Φ2⁢pk⁢ql⁢(i)=-1.

  • •

    If p is an odd prime and k≥1, then Φ4⁢pk⁢(i)=p.

  • •

    If ω⁢(n)≥3 then Φn⁢(i)=1.

Proof.

Φ1⁢(x)=x-1, Φ2⁢(x)=x+1, so Φ1⁢(i)=i-1 and Φ2⁢(i)=i+1. As i∈Δ4, Φ4⁢(i)=0.

Suppose that n is odd, that p≡1(mod4) is a prime factor of n, and write n=pk⁢m with gcd⁡(m,p)=1. Lemma 3 tells us

Φn⁢(x)=Φpk⁢m⁢(x)=Φm⁢(xpk)Φm⁢(xpk-1),

and as pk-1≡1(mod4) and i4=1, this yields

Φn⁢(i)=Φm⁢(i)Φm⁢(i)=1.

Suppose that n is odd, that p≡3(mod4) is a prime factor of n, and write n=pk⁢m with gcd⁡(m,p)=1. If k is odd then pk≡3(mod4), so

Φn⁢(i)=Φm⁢(ipk)Φm⁢(ipk-1)=Φm⁢(i3)Φm⁢(i)=Φm⁢(-i)Φm⁢(i),

and if m=1 then

Φn⁢(i)=Φ1⁢(-i)Φ1⁢(i)=-i-1i-1=i.

If k is even then pk≡1(mod4), so

Φn⁢(i)=Φm⁢(i)Φm⁢(-i),

and if m=1 then Φn⁢(i)=-i.

Suppose that n=2k, k≥3. Lemma 4 tells us that

Φn⁢(x)=Φ2⁢(xn/2)=Φ2⁢(x2k-1)=x2k-1+1,

thus

Φn⁢(i)=i2k-1+1=1+1=2.

Suppose that n=2⁢m with m>1 odd. Lemma 6 tells us Φn⁢(x)=Φ2⁢m⁢(x)=Φm⁢(-x), so Φn⁢(i)=Φm⁢(-i).

Suppose that n=2k⁢m with k≥2 and m>1 odd. Lemma 3 tells us

Φ2k⁢m⁢(x)=Φ2k-1⋅2⁢m⁢(x)=Φ2⁢m⁢(x2k-1),

and then Lemma 6 tells us Φ2⁢m⁢(x2k-1)=Φm⁢(-x2k-1). For k=2 this yields

Φ4⁢m⁢(i)=Φm⁢(1),

and for k>2,

Φn⁢(i)=Φm⁢(-i2k-1)=Φm⁢(-1).

∎

Kurshan and Odlyzko [25]

Montgomery and Vaughan [36, pp. 131–132, Exercise 9].

Theorem 11.

If n=∏p≤y,p≡2,3(mod5)p with ω⁢(n) odd, then

|Φn⁢(e2⁢π⁢i/5)|=(1+52)d⁢(n)/2.
Proof.

Write e⁢(x)=e2⁢π⁢i⁢x, let d∣n, d>1, and write d=p1⁢⋯⁢pk⋅q1⁢⋯⁢ql where p1,…,pk≡2(mod5) and q1,…,ql≡3(mod5) are prime. Then ω⁢(d)=k+l and, as 23≡3(mod5),

d≡2k⁢3l≡2k⁢23⁢l≡2k+l⁢(-1)l(mod5).

If ω⁢(d)≡0(mod4) then 2k+l≡1(mod5) and if ω⁢(d)≡2(mod4) then 2k+l≡-1(mod5), and therefore if ω⁢(d) is even then d≡1(mod5) or d≡-1(mod5). Since |e⁢(-1/5)-1|=|e⁢(1/5)-1|, we have |e⁢(d/5)-1|=|e⁢(1/5)-1|.

If ω⁢(d)≡1(mod4) then 2k+l≡2(mod5) and if ω⁢(d)≡3(mod4) then 2k+l≡-2(mod5), and therefore if ω⁢(d) is odd then d≡2(mod5) or d≡-2(mod5). Since |e⁢(-2/5)-1|=|e⁢(2/5)-1|, we have |e⁢(d/5)-1|=|e⁢(2/5)-1|.

Now using Lemma 1 and |e⁢(1/5)-1|-1=|e⁢(2/5)-1|,

|Φn⁢(e⁢(1/5))| =∏d∣n|e⁢(d/5)-1|μ⁢(n/d)
=∏d∣n,ω⁢(d) even|e⁢(1/5)-1|-1⋅∏d∣n,ω⁢(d) odd|e⁢(2/5)-1|.

Hence, for ω⁢(n)=2⁢ν+1 and for A=|e⁢(1/5)-1|-1 and B=|e⁢(2/5)-1|,

log⁡|Φn⁢(e⁢(1/5))| =∑r=0ν(2⁢ν+12⁢r)⁢log⁡A+∑r=0ν(2⁢ν+12⁢r+1)⁢log⁡B
=22⁢ν⁢log⁡A+22⁢ν⁢log⁡B
=log⁡((A⁢B)2ω⁢(n)/2),

and using d⁢(n)=∑r=0ω⁢(n)(ω⁢(n)r)=2ω⁢(n) this is |Φn⁢(e⁢(1/5))|=(A⁢B)d⁢(n)/2. Finally,

A⁢B=|e⁢(2/5)-1||e⁢(1/5)-1|=|e⁢(1/5)+1|=1+52.

∎

4 Primes in arithmetic progressions

For prime p, p∤n, the following theorem relates the order of an element of the multiplicative group (ℤ/p)* with Φn [44, p. 13, Lemma 2.9]. We remind ourselves that Φn∈ℤ⁢[x] (Theorem 7), and so Φn⁢(a)∈ℤ for a∈ℤ.

Lemma 12.

Let p be prime, p∤n, and a∈ℤ. Then p∣Φn⁢(a) if and only if n is the multiplicative order of a modulo p.

Proof.

Suppose that p∣Φn⁢(a). Now, let b∈ℤ with p∣Φn⁢(b). By Lemma 1, bn-1=∏d∣nΦd⁢(b), and because Φn⁢(b)≡0(modp) this yields bn-1≡0(modp), i.e. bn≡1(modp); in particular, p∤b. Let ν=min⁡{k>0:ak≡1(modp)}, the multiplicative order of a modulo p, so ν∣n, and suppose by contradiction that ν<n. Using xν-1=∏d∣νΦd⁢(x) we have bν-1=∏d∣νΦd⁢(b). Using this with b=a, as aν≡1(modp) and because p is prime it follows that for some d0≤ν<n, Φd0⁢(a)≡0(modp). As ν∣n,

bn-1=Φn⁢(b)⁢Φd0⁢(b)⋅∏d∣n,d≠d0,nΦd⁢(b).

Applying the above with b=a yields an-1≡0(modp2). Moreover, by the binomial theorem, Φn⁢(a+p)≡Φn⁢(a)≡0(modp) and Φd0⁢(a+p)≡Φd0⁢(a)≡0(modp), so applying the above with b=a+p yields (a+p)n-1≡0(modp2). But by the binomial theorem, (a+p)n-1=∑j=0n(nj)⁢an-j⁢pj-1, whence (a+p)n-1≡an+n⁢an-1⁢p-1(modp2), hence an+n⁢an-1⁢p-1≡0(modp2). Together with an-1≡0(modp2) this yields n⁢an-1⁢p≡0(modp2), i.e. n⁢an-1≡0(modp), contradicting that p∤n,a. Therefore ν=n.

Suppose that an≡1(modp) and that aν≢1(modp) for 0<ν<n. As ∏d∣nΦd⁢(a)=an-1≡0(modp), there is some d0∣n for which Φd0⁢(a)≡0(modp). Suppose by contradiction that d0<n. As d0∣n,

ad0-1=∏d∣d0Φd⁢(a)=Φd0⁢(a)⋅∏d∣d0,d<d0Φd⁢(a)≡0(modp),

contradicting that aν≢1(modp) for 0<ν<n. Therefore Φn⁢(a)≡0(modp), i.e. p∣Φn⁢(a). ∎

Lemma 13.

Let p be prime, p∤n. There is some a∈ℤ such that p∣Φn⁢(a) if and only if p≡1(modn).

Proof.

Suppose that a∈ℤ and p∣Φn⁢(a). Then by Lemma 12, n is the multiplicative order of a modulo p. As the multiplicative group (ℤ/p)* has p-1 elements, this implies that n∣(p-1), i.e. p-1≡0(modn).

Suppose that p≡1(modn), i.e. n∣(p-1). Because (ℤ/p)* is a cyclic group with p-1 elements, it is a fact that there is some a∈ℤ, a+p⁢ℤ∈(ℤ/p)*, whose multiplicative order modulo p is n. (Generally, if G is a cyclic group with m elements and n divides m then there is some g∈G with order n.) Then by Lemma 12, p∣Φn⁢(a). ∎

We now use Lemma 13 to prove an instance of Dirichlet’s theorem on primes in arithmetic progressions [44, p. 13, Lemma 2.9].

Theorem 14.

For any n≥1, there are infinitely many primes p with p≡1(modn).

Proof.

The claim for n=1 follows from the claim for n=2. For n≥2, by Lemma 8, Φn⁢(0)=1, namely the constant coefficient of Φn⁢(x) is 1. Suppose by contradiction that there are at most finitely many such primes p1,…,pt and let M=n⁢p1⁢⋯⁢pt. For N∈ℤ, Φn⁢(N⁢M)≡1(modM) and from M∣(Φn⁢(N⁢M)-1) it follows that pi∣(Φn⁢(N⁢M)-1), 1≤i≤t, and n∣(Φn⁢(N⁢M)-1). Hence if p is a prime factor of Φn⁢(N⁢M) then p≠pi, 1≤i≤t, and p∤n. As Φn is a monic polynomial that is not a constant, for all sufficiently large N, Φn⁢(N⁢M) is an integer ≥2 and thus has a prime factor p, amd we have established that p∤n. Therefore Lemma 13 tells us that p≡1(modn). But we have also established that p≠pi, 1≤i≤r, a contradiction. Therefore there are infinitely many primes p with p≡1(modn). ∎

One can prove that for any integers n,b≥2 it holds that

12⋅bϕ⁢(n)≤Φn⁢(b)≤2⋅bϕ⁢(n).

Using this, Thangadurai and Vatwani [42] prove that for n≥2, the least prime p≡1(modn) satisfies

p≤2ϕ⁢(n)+1-1.

5 Zsigmondy’s theorem

[20, pp. 167–169, §8.3.1]

6 Newton’s identities and Ramanujan sums

For positive integers n and n, let

cn⁢(k)=∑1≤j≤n,gcd⁡(n,j)=1e2⁢π⁢i⁢j⁢k/n=∑ξ∈Δnξk,

called a Ramanujan sum.

Lemma 15.
cn⁢(k)=∑d∣gcd⁡(n,k)d⋅μ⁢(n/d).
Proof.

Let

ηn⁢(k)=∑j=1ne2⁢π⁢i⁢j⁢k/n={0n∤kmn∣k.

We can write ηn⁢(k) as

ηn⁢(k)=∑d∣ncd⁢(k),

so by the Möbius inversion formula,

cn⁢(k)=∑d∣nμ⁢(n/d)⁢ηd⁢(k).

∎

Theorem 16.

For n>1 and for |x|<1,

Φn⁢(x)=exp⁡(-∑m=1∞cn⁢(m)m⁢xm).
Proof.

Using that ξ↦ξ-1 is a bijection Δn→Δn,

dd⁢x⁢log⁡Φn⁢(x) =dd⁢x⁢∑ξ∈Δnlog⁡(x-ξ)
=∑ξ∈Δn1x-ξ
=∑ξ∈Δn-1ξ⋅11-xξ
=-∑ξ∈Δn1ξ⁢∑m=0∞(xξ)m
=-∑m=0∞xm⁢∑ξ∈Δnξm+1.

Because n>1, Φn⁢(0)=1, and integrating,

Φn⁢(x)=exp⁡(-∑m=0∞xm+1m+1⁢∑ξ∈Δnξm+1)=exp⁡(-∑m=1∞xmm⁢cn⁢(m)).

∎

A formula due to Hölder [36, p. 110, Theorem 4.1] is that

cn⁢(k)=μ⁢(n/gcd⁡(n,k))⋅ϕ⁢(n)ϕ⁢(n/gcd⁡(n,k)). (2)

This identity is used to prove the following lemma that we use later.

Lemma 17.

If n is square-free then k↦μ⁢(n)⁢cn⁢(k) is multiplicative.

Lemma 18.

For n≥1 and Re⁢s>1,

∑k=1∞cn⁢(k)⁢k-s=ζ⁢(s)⋅∑d∣nμ⁢(n/d)⁢d1-s.
Proof.

By Lemma 15,

∑k=1∞cn⁢(k)⁢k-s =∑k=1∞k-s⁢∑d∣n,d∣kμ⁢(n/d)⁢d
=∑d∣n∑m=1∞(m⁢d)-s⁢μ⁢(n/d)⁢d
=∑d∣n∑m=1∞m-s⁢d-s⁢μ⁢(n/d)⁢d
=∑m=1∞m-s⁢∑d∣nd-s⁢μ⁢(n/d)⁢d
=ζ⁢(s)⋅∑d∣nμ⁢(n/d)⁢d1-s.

∎

Write

∏j=1n(x-αj)=∑k=0n(-1)k⁢sk⁢xn-k,

and put, for k≥1,

pk=∑j=1nαjk.

Newton’s identities [19, p. 32, Proposition 3.4] state that for k≥1,

pk=∑j=1k-1(-1)j-1⁢sj⁢pk-j+(-1)k-1⁢k⁢sk. (3)

Write

Φn⁢(x)=∑k=0ϕ⁢(n)an⁢(k)⁢xk.

Let n>1, and for integer j define

χ1⁢(j)={1gcd⁡(n,j)=10gcd⁡(n,j)>1,

namely the principal Dirichlet character modulo n. We can then write

Φn⁢(x)=∏1≤k≤n,gcd⁡(n,k)=1(x-e2⁢π⁢i⁢k/n)=x-n+ϕ⁢(n)⁢∏j=1n(x-αj)

for αj=χ1⁢(j)⁢e2⁢π⁢i⁢j/n, and thus

xn-ϕ⁢(n)⁢Φn⁢(x)=∏j=1n(x-αj).

Because χ1⁢(j)k=χ1⁢(j) for k≥1,

pk=∑j=1nαjk=∑j=1nχ1⁢(j)⁢e2⁢π⁢i⁢j⁢k/n=∑1≤j≤n,gcd⁡(n,j)=1e2⁢π⁢i⁢j⁢k/n=cn⁢(k).

Now, from

xn-ϕ⁢(n)⁢∑k=1ϕ⁢(n)an⁢(k)⁢xk=∑k=0n(-1)k⁢sk⁢xn-k

we have, for 0≤k≤n,

(-1)k⁢sk=an⁢(ϕ⁢(n)-k).

In fact by Lemma 20, an⁢(ϕ⁢(n)-k)=an⁢(k), so an⁢(k)=(-1)k⁢sk. Thus (3) yields the following, and in particular

an⁢(1)=-cn⁢(1)=-μ⁢(n).
Theorem 19.

For n≥1 and k≥1,

k⁢an⁢(k)=-cn⁢(k)-∑j=1k-1an⁢(j)⁢cn⁢(k-j).

Let n be a product of distinct odd primes and for a∈ℤ let χ⁢(a)=(an) be the Jacobi symbol. Dedekind, in Supplement I to Dirichlet’s Vorlesungen über Zahlentheorie [15, pp. 208–210], §116, proves that

∑1≤j≤nχ⁢(j)⁢e2⁢π⁢i⁢j⁢h/n=χ⁢(h)⁢i(n-1)2/4⁢n; (4)

this is proved earlier by Gauss in his Summatio quarumdam serierum singularium [22, pp. 9–45], dated 1808. The expression G⁢(h,χ)=∑1≤j≤nχ⁢(j)⁢e2⁢π⁢i⁢j⁢h/n is called a Gauss sum. Dedekind, in Supplement VII to Dirichlet’s Vorlesungen, says what amounts to the following. Define

An⁢(x)=∏1≤a≤n,χ⁢(a)=1(x-e2⁢π⁢i⁢a/n)=∑jαn⁢(j)⁢xj

and

Bn⁢(x)=∏1≤b≤n,χ⁢(b)=-1(x-e2⁢π⁢i⁢b/n)=∑jβn⁢(j)⁢xj,

and write

Sn⁢(k)=∑1≤a≤n,χ⁢(a)=1e2⁢π⁢i⁢k⁢a/n,Tn⁢(k)=∑1≤b≤n,χ⁢(b)=-1e2⁢π⁢i⁢k⁢b/n.

Then

Φn⁢(x)=An⁢(x)⁢Bn⁢(x),cn⁢(k)=Sn⁢(k)+Tn⁢(k),

and by (4), writing

n*=(-1)(n-1)/2⁢n,

we have

Sn⁢(k)-Tn⁢(k)=∑1≤j≤nχ⁢(j)⁢e2⁢π⁢i⁢k⁢j/n=χ⁢(k)⁢n*,

hence

2⁢Sn⁢(k)=cn⁢(k)+χ⁢(k)⁢n*,2⁢Tn⁢(k)=cn⁢(k)-χ⁢(k)⁢n*.

We have established in Lemma 15 that cn⁢(k)∈ℤ, so this shows that Sn⁢(k),Tn⁢(k)∈ℚ⁢(n*). Newton’s identities yield for k≥1,

Sn⁢(k)=-∑j=1k-1αn⁢(n-j)⁢Sn⁢(k-j)-k⁢αn⁢(n-k)

and

Tn⁢(k)=-∑j=1k-1βn⁢(n-j)⁢Tn⁢(k-j)-k⁢βn⁢(n-k),

and it follows that αn⁢(k),βn⁢(k)∈ℚ⁢(n*). Furthermore, αn⁢(k),βn⁢(k) are algebraic integers, so αn⁢(k),βn⁢(k)∈𝒪ℚ⁢(n*). If D is a square-free, it is a fact [16, p. 698, §15.3] that 𝒪ℚ⁢(D)=ℤ⁢[ω] for

ω={DD≡2,3(mod4)1+D2D≡1(mod4),

and n*=(-1)(n-1)/2⁢n≡1(mod4), we have 𝒪ℚ⁢(n*)=ℤ⁢[(1+n*)/2]. Thus αn⁢(k),βn⁢(k)∈ℤ⁢[(1+n*)/2].

It is a fact that ℚ⁢(n*)⊂ℚ⁢(e2⁢π⁢i/n) [23, p. 19, Proposition 5.13]

Gauss, Disquisitiones Arithmeticae, Art. 357

7 Algebraic theorems about coefficients of cyclotomic polynomials

For n≥1, we write

Φn⁢(x)=∑k=0ϕ⁢(n)an⁢(k)⁢xk.

Let

A⁢(n)=max0≤k≤ϕ⁢(n)⁡|an⁢(k)|

and

S⁢(n)=∑k=0ϕ⁢(n)|an⁢(k)|.

It is immediate that A⁢(n)≤S⁢(n).

Lemma 20.

For n>1 and for 0≤k≤ϕ⁢(n),

an⁢(ϕ⁢(n)-k)=an⁢(k).
Proof.

For P⁢(x)=∑j=0na⁢(j)⁢xj, check that a⁢(j)=a⁢(n-j) for each 0≤j≤n is equivalent to xn⁢P⁢(x-1)=P⁢(x). But because n>1, by Lemma 5 we have Φn⁢(x-1)=x-ϕ⁢(n)⁢Φn⁢(x), so we obtain the claim. ∎

Migotti [35] proves the following, and also calculates a105⁢(7)=-2. The following is also proved by Bang [2]; cf. Beiter [4].

Theorem 21 (Bang).

For odd primes p<q,

ap⁢q⁢(k)∈{0,-1,1}.
Proof.

By Lemma 1,

Φp⁢q⁢(x) =(xp⁢q-1)⁢(x-1)(xp-1)⁢(xq-1)
=(1-x)⁢∑α=0p-1xα⁢q1-xp
=(1-x)⁢∑0≤α≤p-1xα⁢q⋅∑β≥0xβ⁢p
=∑0≤α≤p-1,β≥0xα⁢q+β⁢p-∑0≤α≤p-1,β≥0xα⁢q+β⁢p+1
=∑0≤α≤p-1,β≥0,0≤δ≤1(-1)δ⁢xα⁢q+β⁢p+δ.

Suppose by contradiction that α1⁢q+β1⁢p+δ1=α2⁢q+β2⁢p+δ2 with δ1=δ2. Then q⁢(α1-α2)=p⁢(β2-β1), which implies that p divides α1-α2. But 0≤α1,α2≤p-1 means 0≤|α1-α2|≤p-1, so α1-α2=0 and thence β2-β1=0, which means that (α1,β1,δ1)=(α2,β2,δ2). Therefore, for 0≤k≤ϕ⁢(p⁢q) there are zero, one, or two triples (α,β,δ) such that k=α⁢q+β⁢p+δ; if there are two such triples, then one has δ=0 and one has δ=1. If there are no such triples, then an⁢(k)=0. If there is one such triple (α,β,δ), then an⁢(k)=(-1)δ. If there are two such triples, then an⁢(k)=(-1)0+(-1)1=0. ∎

Lam and Leung [26] determine the following explicit formula.

Theorem 22 (Lam and Leung).

Suppose that p<q are primes. Then there are nonnegative integers r,s such (p-1)⁢(q-1)=r⁢p+s⁢q, and for 0≤k≤ϕ⁢(p⁢q)=(p-1)⁢(q-1),

ap⁢q⁢(k)={10≤i≤r, 0≤j≤s with k=i⁢p+j⁢q-1r+1≤i≤q-1, s+1≤j≤p-1 with k+p⁢q=i⁢p+j⁢q0otherwise

Furthermore,

|{k:0≤k≤ϕ⁢(p⁢q),ap⁢q⁢(k)=1}|=(r+1)⁢(s+1)

and

|{k:0≤k≤ϕ⁢(p⁢q),ap⁢q⁢(k)=-1}|=(p-s-1)⁢(q-r-1).
Proof.

Because gcd⁡(p,q)=1, there is some 0≤r≤q-1 such that

r⁢p≡-p+1(modq).

If r=q-1 then we get from the above that 1≡0(modq), which is false because q≠1, so in fact 0≤r≤q-2. Now,

s=(p-1)⁢(q-1)-r⁢pq=p⁢q-p-q+1-r⁢pq

is an integer and

s=p⁢(q-r-1)-q+1q≥-q+1q>-1,

hence s≥0. Also, s≤(p-1)⁢(q-1)q<p-1, so s≤p-2. We then have

r⁢p+s⁢q=r⁢p+(p-1)⁢(q-1)-r⁢p=(p-1)⁢(q-1).

For ξ∈Δp⁢q, because Φq⁢(ξp)=0 and Φp⁢(ξq)=0,

∑i=0r(ξp)i=-∑i=r+1q-1(ξp)i,∑j=0s(ξq)j=-∑j=s+1p-1(ξq)j.

(Because 0≤r≤q-2 and 0≤s≤p-2, each of the above four sums has a nonempty index set.) From this we have

(∑i=0r(ξp)i)⁢(∑j=0s(ξq)j)-(∑i=r+1q-1(ξp)i)⁢(∑j=s+1p-1(ξq)j)=0.

Because ξ-p⁢q=1, this implies that each ξ∈Δp⁢q is a zero of the polynomial

f⁢(x)=(∑i=0rxi⁢p)⁢(∑j=0sxj⁢q)-(∑i=r+1q-1xi⁢p)⁢(∑j=s+1p-1xj⁢q)⁢x-p⁢q;

that this is indeed a polynomial follows from

(r+1)⁢p+(s+1)⁢q-p⁢q=r⁢p+s⁢q+p+q-p⁢q=1.

The first product is a monic polynomial of degree r⁢p+s⁢q=ϕ⁢(p⁢q). The second product is a polynomial of degree

(q-1)⁢p+(p-1)⁢q-p⁢q=-p-q+p⁢q=ϕ⁢(p⁢q)-1.

Therefore f⁢(x) is a monic polynomial of degree ϕ⁢(p⁢q). Because each ξ∈Δp⁢q is a zero of f⁢(x) and f⁢(x) is monic, f⁢(x)=Φp⁢q⁢(x). ∎

Carlitz [10] proves the following.

Theorem 23.

Let p<q be primes, let

q⁢u≡-1(modp),0<u<p,

let θ⁢(p⁢q) be the number of terms of Φp⁢q with nonzero coefficients, and let θ0⁢(p⁢q) be the number of terms of Φp⁢q with positive coefficients. Then

θ⁢(p⁢q)=2⁢θ0⁢(p⁢q)-1

and

θ0⁢(p⁢q)=(p-u)⁢(u⁢q+1)/p.

Cobeli, Gallot, Moree and Zaharescu [13] give an exposition of ap⁢q⁢r⁢(k) where p<q<r are primes, p is fixed, and q,r are free.

Bang [2] proves the following.

Theorem 24 (Bang).

For odd primes p<q<r,

A⁢(p⁢q⁢r)≤p-1.

Beiter [5] proves the following improvement for a case of the above theorem. If p,q,r, 3<p<q<r, are odd primes for which either q≡±1(modp) or r≡±1(modp), then

A⁢(p⁢q⁢r)≤12⁢(p+1).

Bloom [6] proves the following.

Theorem 25 (Bloom).

For odd primes p<q<r<s,

A⁢(p⁢q⁢r⁢s)≤p⁢(p-1)⁢(p⁢q-1).

Gallot and Moree [21]

The following is from Lehmer [27], who says that it appears in an unpublished letter of Schur to Landau; cf. Bourbaki [8, V. 165, §11, Exercise 19].

Theorem 26 (Schur).

For any odd m≥3 there are primes p1<p2<⋯<pm, with p1+p2>pm. For such primes,

ap1⁢p2⁢⋯⁢pm⁢(pm)=-m+1.
Proof.

Write

π⁢(x)=|{p:p is prime and p≤x}|.

For m≥3, suppose by contradiction that if p1<p2<⋯<pm are primes then p1+p2≤pm, and thus 2⁢p1<pm. For k≥1, as there are infinitely many primes, let p1 be the least prime >k, and let k≤p1<p2<⋯<pm. Then

π⁢(2⁢k)-π⁢(k)=π⁢(2⁢k)-π⁢(p1)+1≤π⁢(2⁢p1)-π⁢(p1)+1≤(m-1)+1=m.

This yields, for j≥1,

π⁢(2j)≤m+π⁢(2j-1)≤m+m+π⁢(2j-2)≤⋯≤j⁢m.

But the prime number theorem tells us

π⁢(2j)∼2jj⁢log⁡2,j→∞,

with which we get a contradiction.

Let m≥3 be odd and let p1<p2<⋯<pm be primes satisfying p1+p2>pm, and let n=p1⁢p2⁢⋯⁢pm. Since p1+p2>pm, for 1≤j,k≤m we have pj+pk≥pm+1. It follows that if d is a divisor of n aside from 1 and p1,…,pm, and μ⁢(n/d)≠0, then

(xd-1)μ⁢(n/d)∈xpm+1⁢ℤ⁢[x].

Therefore

Φn⁢(x)+xpm+1⁢ℤ⁢[x] =∏d|n(xd-1)μ⁢(n/d)+xpm+1⁢ℤ⁢[x]
=∏d|n,μ⁢(d/n)≠0(xd-1)μ⁢(n/d)+xpm+1⁢ℤ⁢[x]
=(x-1)-1⋅∏j=1m(xpj-1)μ⁢(n/pj)+xpm+1⁢ℤ⁢[x]
=(x-1)-1⋅∏j=1m(xpj-1)+xpm+1⁢ℤ⁢[x]
=(x-1)-1⋅(-1+xp1+⋯+xpm)+xpm+1⁢ℤ⁢[x].

Now,

(x-1)-1⋅(-1+xp1+⋯-xpm)+xpm+1⁢ℤ⁢[x]=(1+x+x2+⋯+xpm)⋅(1-xp1-⋯-xpm)+xpm+1⁢ℤ⁢[x].

For 1≤i≤m, there is one and only one 0≤j≤pm such that pi+j=pm. This implies that the coefficient of xpm in the above expression is -m+1. ∎

Lehmer also states that in Rolf Bungers’ 1934 dissertation, Über die Koeffizienten von Kreisteilungspolynomen (University of Göttingen), it is proved that if there exist infinitely many twin primes then for any M there are primes p<q<r such that A⁢(p⁢q⁢r)≥M. Lehmer proves this without the hypothesis that there are infinitely many twin primes.

For power series A⁢(x)=∑k=0∞ak⁢xk and B⁢(x)=∑k=0∞bk⁢xk, write

A⪯B

if |ak|≤bk for all k. For power series A,B,P,Q with A⪯P and B⪯Q,

|ak+bk|≤|ak|+|bk|≤pk+qk,

so A+B⪯P+Q, and

|∑i+j=kai⁢bj|≤∑i+j=k|ai⁢bj|≤∑i+j=kpi⁢qj,

so A⁢B⪯P⁢Q.

Now,

xd-1⪯∑k=0∞xk⁢d,1⪯∑k=0∞xk⁢d,(xd-1)-1⪯∑k=0∞xk⁢d,

and since μ⁢(n/d)∈{0,1,-1},

Φn⁢(x)=∏d∣n(xd-1)μ⁢(n/d)⪯∏d∣n(∑k=0∞xk⁢d)=∏d∣n11-xd. (5)

Hence, because 1⪯11-xj,

Φn⁢(x)⪯∏j=1∞11-xj.

Let n↦p⁢(n) be the partition function, the number of ways of writing n as a sum of positive integers, where the order does not matter. p⁢(0)=1 and p⁢(n)=0 for n<0, and for example, p⁢(4)=5 because 4=4,3+1,2+2,2+1+1,1+1+1+1. It is a fact that for |x|<1,

∏j=1∞11-xj=∑k=0∞p⁢(k)⁢xk,

found by Euler.

Theorem 27.
|an⁢(k)|≤p⁢(k),

and so

A⁢(n)=max0≤k≤ϕ⁢(n)⁡|an⁢(k)|≤max0≤k≤ϕ⁢(n)⁡p⁢(k)≤p⁢(ϕ⁢(n))≤p⁢(n).

It is proved by Hardy and Ramanujan [12, p. 166, Chapter VII] that for K=π⁢23 and λn=n-124,

p⁢(n)=eK⁢λn4⁢3⋅λn2+O⁢(eK⁢λnλn3),n→∞.

This implies

p⁢(n)∼eK⁢n4⁢3⋅n,n→∞.

Therefore,

A⁢(n)=O⁢(eK⁢nn),S⁢(n)=O⁢(eK⁢n),n→∞

Now let

Qn⁢(x)=∏d|n(1+xd+x2⁢d+⋯+xn-d).

It is straightforward that for 0≤k<n, the coefficient of xk in Qn⁢(x) is equal to the coefficient of xk in ∏d∣n11-xd. For n>1, because the degree of Φn⁢(x) is ϕ⁢(n)<n, using (5) we get

Φn⁢(x)⪯Qn⁢(x).

Let

d⁢(n)=∑d∣n1,

the number of positive integer divisors of n. It is straightforward that

∏d∣nd=nd⁢(n)/2,

so

Qn⁢(1)=∏d∣nnd=∏d∣nd=nd⁢(n)/2.

But from Φn⁢(x)⪯Qn⁢(x) we have that S⁢(n) is ≤ the sum of the coefficients of the polynomial Qn⁢(x), i.e.

S⁢(n)≤Qn⁢(1)=nd⁢(n)/2.

This is found by Bateman [3]; cf. [36, p. 64, Exercise 7].

Theorem 28 (Bateman).
S⁢(n)≤exp⁡(12⁢d⁢(n)⁢log⁡n).

A result due to Wigert [12, p. 19, Theorem 6], proved using the prime number theorem, is that

lim supn→∞⁡log⁡d⁢(n)⋅log⁡log⁡nlog⁡n=log⁡2.

Thus, for each ϵ>0, there is some nϵ such that when n≥nϵ,

log⁡d⁢(n)⋅log⁡log⁡nlog⁡n≤log⁡2+ϵ,

so

log⁡d⁢(n)≤log⁡nlog⁡log⁡n⁢(ϵ+log⁡2).

Then

log⁡S⁢(n)≤d⁢(n)2⋅log⁡n≤log⁡n2⁢exp⁡(log⁡nlog⁡log⁡n⁢(ϵ+log⁡2)).

Wirsing [46]

Konyagin, Maier and Wirsing [24]

Maier [29], [30], [31], [32]

Bachman [1]

Bzdęga [9]

Nicolas and Terjanian [41]

Let Ψn⁢(x)=xn-1Φn⁢(x), i.e. Ψn⁢(x)=∏d∣n,d<nΦd⁢(x), which belongs to ℤ⁢[x] and is monic. Moree [37] proves the following.

8 Analytic theorems about coefficients of cyclotomic polynomials

Erdős [18]

Erdős and Vaughan [17] prove the following.

Vaughan [43] proves the next theorem. Vaughan’s original proof is complicated and delightful, and we first outline it and then give a radically simplified proof using Theorem 11, attributed to Saffari by Montgomery and Vaughan [36, pp. 131–132, Exercise 9].

For n=∏p≤y,p≡2,3(mod5)p with ω⁢(n) odd, let cm=-cn⁢(m)m. Because n is square-free and μ⁢(n)=-1, it follows from Lemma 17 that m↦cm is multiplicative. Because cm=O⁢(m-1), the following Euler product expansions hold [36, p. 20, Theorem 1.9]:

∑m=1∞cm⁢m-s=∏p∑k=0∞cpk⁢p-k⁢s,Re⁢s>0

and

∑m=1∞χ⁢(m)⁢cm⁢m-s=∏p∑k=0∞χ⁢(pk)⁢cpk⁢p-k⁢s,Re⁢s>0,

where χ is the quadratic Dirichlet character modulo 5. Using Hölder’s formula (2) one works out that for p∣n,

∑k=0∞cpk⁢p-k⁢s=1-p-s1-p-(s+1)

and for p∤n,

∑k=0∞cpk⁢p-k⁢s=11-p-(s+1),

thus

∑m=1∞cm⁢m-s=ζ⁢(1+s)⁢∏p∣n(1-p-s),Re⁢s>0.

Using Hölder’s formula and that χ is completely multiplicative, one works out that for p∣n,

∑k=0∞χ⁢(pk)⁢cpk⁢p-k⁢s=1+p-s1-χ⁢(p)⁢p-(s+1)

and for p∤n,

∑k=0∞χ⁢(pk)⁢cpk⁢p-k⁢s=11-χ⁢(p)⁢p-(s+1),

thus

∑m=1∞χ⁢(m)⁢cm⁢m-s=L⁢(1+s,χ)⁢∏p∣n(1+p-s),Re⁢s>0.

Using (i) the fact that the Gauss sum ∑r=14χ⁢(r)⁢e2⁢π⁢i⁢r⁢a/5 is equal to χ⁢(a)⁢5, (ii) the fact that c5⁢m=cm5, and (iii) e2⁢π⁢i⁢m/5+e2⁢π⁢i⋅4⁢m/5=2⋅Re⁢e2⁢π⁢i⁢m/5, one works out that for x>0,

4⋅Re⁢∑m=1∞cm⁢e2⁢π⁢i⁢m/5⁢e-m/x=∑m=1∞cm⁢(5⋅χ⁢(m)⁢e-m/x+e-5⁢m/x-e-m/x).

Using this and the above Euler product expansions we get for s>0,

∫0∞(Re⁢∑m=1∞cm⁢e⁢(m/5)⁢e-m/x)⁢x-s-1⁢𝑑x=Γ⁢(s)4⁢(5⋅L⁢(1+s,χ)⁢∏p∣n(1+p-s)-(1-5-s)⁢ζ⁢(1+s)⁢∏p∣n(1-p-s)).

For x>0, writing f⁢(x)=Re⁢∑m=1∞cm⁢e2⁢π⁢i⁢m/5⁢e-m/x, one has for 0<σ<1,

∫0∞f⁢(x)⁢x-σ-1⁢𝑑x≤11-σ+1σ⁢supx≥1⁡f⁢(x),

so

supx≥1⁡f⁢(x)≥σ⁢∫0∞f⁢(x)⁢x-σ-1⁢𝑑x-σ1-σ=σ⁢Γ⁢(σ)4⁢(5⋅L⁢(1+σ,χ)⁢∏p∣n(1+p-σ)-(1-5-σ)⁢ζ⁢(1+σ)⁢∏p∣n(1-p-σ))-σ1-σ.

As σ→0 we have σ⁢Γ⁢(σ)=1+O⁢(σ), (1-5-σ)⁢ζ⁢(1+σ)=log⁡5+O⁢(σ), and 1-p-σ=σ⁢log⁡p+O⁢(σ2), thus

supx≥1⁡f⁢(x)≥14⋅5⋅L⁢(1,χ)⋅2ω⁢(n)=14⋅5⋅L⁢(1,χ)⋅d⁢(n).

But Theorem 16 tells us that for |z|<1,

|Φn⁢(z)|=exp⁡(Re⁢∑m=1∞cm⁢zm),

so |Φn⁢(e2⁢π⁢i/5⁢e-1/x)|=ef⁢(x) and thus

sup|z|<1⁡|Φn⁢(z)|≥exp⁡(14⋅5⋅L⁢(1,χ)⋅d⁢(n)).

As χ is the quadratic Dirichlet character modulo 5, it is a fact that L⁢(1,χ) can be explicitly evaluated (this is an instance of Dirichlet’s class number formula), and using this one checks that exp⁡(12⋅5⋅L⁢(1,χ))=1+52. Therefore

sup|z|<1⁡|Φn⁢(z)|≥(1+52)d⁢(n)/2.
Theorem 29 (Vaughan).

If n=∏p≤y,p≡2,3(mod5)p with ω⁢(n) odd, then

|Φn⁢(e2⁢π⁢i/5)|=(1+52)d⁢(n)/2.

There are infinitely many n such that

log⁡A⁢(n)>exp⁡((log⁡2)⁢(log⁡n)log⁡log⁡n).
Proof.

∎

Vaughan further proves the following.

Theorem 30 (Vaughan).

There is some C such that for infinitely many k,

log⁡maxn≥1⁡|an⁢(k)|≥C⁢k1/2⁢(log⁡k)-1/4.

9 Fourier analysis

Let 𝕋=ℝ/ℤ. For p≥1, define

∥f∥Lp=(∫01|f⁢(x)|p⁢𝑑x)1/p

and ∥f∥L∞=supx∈[0,1]⁡|f⁢(x)|. By Jensen’s inequality, if 1≤p≤q≤∞ then

∥f∥Lp≤∥f∥Lq.

For f∈L1⁢(𝕋), define f^:ℤ→ℂ by

f^⁢(k)=∫01e-2⁢π⁢i⁢k⁢x⁢f⁢(x)⁢𝑑x.

Define

∥f^∥ℓp=(∑k∈ℤ|f^⁢(k)|p)1/p

and ∥f^∥ℓ∞=supk∈ℤ⁡|f^⁢(k)|. For 1≤p≤q≤∞,

∥f^∥ℓq≤∥f^∥ℓp.

Plancherel’s theorem tells us that

∥f∥L2=∥f^∥ℓ2.

The Hausorff-Young inequality states that for 1≤p≤2 and 1p+1q=1,

∥f^∥ℓq≤∥f∥Lp.

Nikolsky’s inequality [14, p. 102, Theorem 2.6] says that if f^⁢(k)=0 for |k|>n, namely f is a trigonometric polynomial of degree n, then for 0<p≤q≤∞ and for r≥p2 an integer,

∥f∥Lq≤(2⁢n⁢r+1)1p-1q⁢∥f∥Lp.

On the other hand, using Jensen’s inequality for sums one proves that if f is a trigonometric polynomial of degree n, then for 1≤p≤q≤∞,

∥f^∥ℓp≤(2⁢n+1)1p-1q⁢∥f^∥ℓq.

For f:𝕋→ℂ, define

∥f^∥ℓ0=|supp⁢f^|=|{n∈ℤ:f^⁢(n)≠0}|.

McGehee, Pigno and Smith [33] prove that there is some K such that for all N, if n1,…,nN are distinct integers and c1,…,cN∈ℂ satisfy |ck|≥1, then

∥∑k=1Nck⁢e2⁢π⁢i⁢nk⁢t∥L1≥K⁢log⁡N.

That is, if f:𝕋→ℂ is a trigonometric polynomial with |f^⁢(n)|≥1 when f^⁢(n)≠0, then

∥f∥L1≥K⁢log⁡∥f^∥ℓ0.

For F:ℤ/N→ℂ, define F^:ℤ/N→ℂ by

F^⁢(k)=1N⁢∑j=0N-1F⁢(j)⁢e-2⁢π⁢i⁢j⁢k/N,0≤k≤N-1.

One checks that [36, pp. 109–110, §4.1]

F⁢(j)=∑k=0N-1F^⁢(k)⁢e2⁢π⁢i⁢j⁢k/N,0≤j≤N-1

and

∑k=0N-1|F^⁢(k)|2=1N⁢∑j=0N-1|F⁢(j)|2.

For a0,…,aN-1∈ℂ, define f:𝕋→ℂ by

f⁢(x)=∑k=0N-1ak⁢e2⁢π⁢i⁢k⁢x

and define F:ℤ/N→ℂ by

F⁢(j)=f⁢(j/N)=∑k=0N-1ak⁢e2⁢π⁢i⁢k⁢j/N,0≤j≤N-1,

for which we calculate F^⁢(k)=ak, for 0≤k≤N-1. Then

∑k=0N-1|ak|2=∑k=0N-1|F^⁢(k)|2=1N⁢∑j=0N-1|F⁢(j)|2=1N⁢∑j=0N-1|f⁢(j/N)|2.

Carlitz [11]

10 Algebraic topology

Musiker and Reiner [38]

Meshulam [34]

References

  • [1] G. Bachman (1993) On the coefficients of cyclotomic polynomials. Memoirs of the American Mathematical Society 106 (510), pp. 1–80. Cited by: §7.
  • [2] A. S. Bang (1895) Om Ligningen Φm⁢(X)=0. Nyt Tidsskrift for Mathematik, Afdeling B 6, pp. 6–12. Cited by: §7, §7.
  • [3] P. T. Bateman (1949) Note on the coefficient of the cyclotomic polynomial. Bull. Amer. Math. Soc. 55 (12), pp. 1180–1181. Cited by: §7.
  • [4] M. Beiter (1964) The midterm coefficient of the cyclotomic polynomial Fp⁢q⁢(x). Amer. Math. Monthly 71 (7), pp. 769–770. Cited by: §7.
  • [5] M. Beiter (1968) Magnitude of the coefficients of the cyclotomic polynomial Fp⁢q⁢r⁢(x). Amer. Math. Monthly 75 (4), pp. 370–372. Cited by: §7.
  • [6] D. M. Bloom (1968) On the coefficients of the cyclotomic polynomials. Amer. Math. Monthly 75, pp. 372–377. Cited by: §7.
  • [7] N. Bourbaki (1972) Elements of mathematics. Commutative algebra. Addison-Wesley. Cited by: §2.
  • [8] N. Bourbaki (1990) Elements of mathematics. Algebra II, chapters 4–7. Springer. Note: Translated by P. M. Cohn and J. Howie Cited by: §7.
  • [9] B. Bzd\kega (2012) On the height of cyclotomic polynomials. Acta Arith. 152 (4), pp. 349–359. Cited by: §7.
  • [10] L. Carlitz (1966) The number of terms in the cyclotomic polynomial Fp⁢q⁢(x). Amer. Math. Monthly 73 (9), pp. 979–981. Cited by: §7.
  • [11] L. Carlitz (1967) The sum of the squares of the coefficients of the cyclotomic polynomial. Acta Math. Acad. Sci. Hungar. 18, pp. 295–302. Cited by: §9.
  • [12] K. Chandrasekharan (1970) Arithmetical functions. Die Grundlehren der mathematischen Wissenschaften, Vol. 167, Springer. Cited by: §7, §7.
  • [13] C. Cobeli, Y. Gallot, P. Moree, and A. Zaharescu (2013) Sister Beiter and Kloosterman: a tale of cyclotomic coefficients and modular inverses. Indagationes Mathematicae 24, pp. 915–929. Cited by: §7.
  • [14] R. A. DeVore and G. G. Lorentz (1993) Constructive approximation. Die Grundlehren der mathematischen Wissenschaften, Vol. 303, Springer. Cited by: §9.
  • [15] P. G. L. Dirichlet (1999) Lectures on number theory. History of Mathematics, Vol. 16, American Mathematical Society, Providence, RI. Note: Supplements by R. Dedekind, translated from the German by John Stillwell Cited by: §6.
  • [16] D. S. Dummit and R. M. Foote (2004) Abstract algebra. third edition, John Wiley & Sons. Cited by: §2, §2, §6.
  • [17] P. Erdős and R. C. Vaughan (1974) Bounds for the r-th coefficients of cyclotomic polynomials. J. London Math. Soc. (2) 8 (3), pp. 393–400. Cited by: §8.
  • [18] P. Erdős (1957) On the growth of the cyclotomic polynomial in the interval (0,1). Proceedings of the Glasgow Mathematical Association 3 (2), pp. 102–104. Cited by: §8.
  • [19] J. Escofier (2001) Galois theory. Graduate Texts in Mathematics, Vol. 204, Springer. Note: Translated by Leila Schneps Cited by: §6.
  • [20] G. Everest and T. Ward (2005) An introduction to number theory. Graduate Texts in Mathematics, Vol. 232, Springer. Cited by: §5.
  • [21] Y. Gallot and P. Moree (2009) Ternary cyclotomic polynomials having a large coefficient. J. reine angew. Math. 632, pp. 105–125. Cited by: §7.
  • [22] C. F. Gauss (1876) Carl Friedrich Gauss. Werke. Zweiter Band. Königlichen Gesellschaft der Wissenschaften zu Göttingen. Cited by: §6.
  • [23] K. Kato, N. Kurokawa, and T. Saito (2011) Number theory 2: introduction to class field theory. Translations of Mathematical Monographs, Vol. 240, American Mathematical Society, Providence, RI. Note: Translated by Masato Kuwata and Katsumi Nomizu Cited by: §6.
  • [24] S. Konyagin, H. Maier, and E. Wirsing (2004) Cyclotomic polynomials with many primes dividing their orders. Period. Math. Hungar. 49 (2), pp. 99–106. Cited by: §7.
  • [25] R. P. Kurshan and A. M. Odlyzko (1981) Values of cyclotomic polynomials at roots of unity. Math. Scand. 49, pp. 15–35. Cited by: §3.
  • [26] T. Y. Lam and K. H. Leung (1996) On the cyclotomic polynomial Φp⁢q⁢(X). Amer. Math. Monthly 103 (7), pp. 562–564. Cited by: §7.
  • [27] E. Lehmer (1936) On the magnitude of the coefficients of the cyclotomic polynomial. Bull. Amer. Math. Soc. 42 (6), pp. 389–392. Cited by: §7.
  • [28] R. Lidl and H. Niederreiter (1997) Finite fields. Encyclopedia of Mathematics and Its Applications, Vol. 20, Cambridge University Press. Cited by: §2.
  • [29] H. Maier (1990) The coefficients of cyclotomic polynomials. In Analytic Number Theory. Proceedings of a Conference in Honor of Paul T. Bateman, B. C. Berndt, H. G. Diamond, H. Halberstam, and A. Hildebrand (Eds.), Progress in Mathematics, Vol. 85, pp. 349–366. Cited by: §7.
  • [30] H. Maier (1996) The size of the coefficients of cyclotomic polynomials. In Analytic Number Theory. Proceedings of a Conference in Honor of Heini Halberstam, Volume 2, B. C. Berndt, H. G. Diamond, and A. J. Hildebrand (Eds.), Progress in Mathematics, Vol. 139, pp. 633–639. Cited by: §7.
  • [31] H. Maier (2006) The distribution of the L2-norm of cyclotomic polynomials on the unit circle. In Elementare und analytische Zahlentheorie, W. Schwarz and J. Steuding (Eds.), Schriften der Wissenschaftlichen Gesellschaft an der Johann Wolfgang Goethe-Universität Frankfurt am Main, Vol. 20, pp. 164–179. Cited by: §7.
  • [32] H. Maier (2008) Anatomy of integers and cyclotomic polynomials. In Anatomy of Integers, J. De Koninck, A. Granville, and F. Luca (Eds.), CRM Proceedings & Lecture Notes, Vol. 46, pp. 89–95. Cited by: §7.
  • [33] O. C. McGehee, L. Pigno, and B. Smith (1981) Hardy’s inequality and the L1 norm of exponential sums. Ann. of Math. (2) 113 (3), pp. 613–618. Cited by: §9.
  • [34] R. Meshulam (2012) Homology of balanaced complexes via the Fourier transform. J. Algebraic Combin. 35, pp. 565–571. Cited by: §10.
  • [35] A. Migotti (1883) Zur Theorie der Kreistheilungsgleichung. Sitzungsberichte der Mathematisch-Naturwissenschaftlichen Classe der Kaiserlichen Akademie der Wissenschaften 87, pp. 7–14. Note: Heft I, Abt. II Cited by: §7.
  • [36] H. L. Montgomery and R. C. Vaughan (2006) Multiplicative number theory I: classical theory. Cambridge Studies in Advanced Mathematics, Vol. 97, Cambridge University Press. Cited by: §3, §6, §7, §8, §8, §9.
  • [37] P. Moree (2009) Inverse cyclotomic polynomials. J. Number Theory 129, pp. 667–680. Cited by: §7.
  • [38] G. Musiker and V. Reiner (2014) The cyclotomic polynomial topologically. J. reine angew. Math. 687, pp. 113–132. Cited by: §10.
  • [39] J. Neukirch (1999) Algebraic number theory. Grundlehren der mathematischen Wissenschaften, Vol. 322, Springer. Note: Translated from the German by Norbert Schappacher Cited by: §2.
  • [40] O. Neumann (2007) The Disquisitiones Arithmeticae and the theory of equations. In The Shaping of Arithmetic after C. F. Gauss’s Disquisitiones Arithmeticae, C. Goldstein, N. Schappacher, and J. Schwermer (Eds.), pp. 107–127. Cited by: §2.
  • [41] J. Nicolas and G. Terjanian (1999) Une majoration de la longueur des polynômes cyclotomiques. Enseign. Math. (2) 45 (3-4), pp. 301–309. Cited by: §7.
  • [42] R. Thangadurai and A. Vatwani (2011) The least prime congruent to one modulo n. Amer. Math. Monthly 118 (8), pp. 737–742. Cited by: §4.
  • [43] R. C. Vaughan (1974) Bounds for the coefficients of cyclotomic polynomials. Michigan Math. J. 21, pp. 289–295 (1975). Cited by: §8.
  • [44] L. C. Washington (1997) Introduction to cyclotomic fields. second edition, Graduate Texts in Mathematics, Vol. 83, Springer. Cited by: §2, §4, §4.
  • [45] A. Weil (1984) Number theory: an approach through history from Hammurapi to Legendre. Birkhäuser. Cited by: §2.
  • [46] E. Wirsing (2006) The third logarithmic momentum of the cyclotomic polynomial on the unit circle and factorizations with a linear side condition. In Elementare und analytische Zahlentheorie, W. Schwarz and J. Steuding (Eds.), Schriften der Wissenschaftlichen Gesellschaft an der Johann Wolfgang Goethe-Universität Frankfurt am Main, Vol. 20, pp. 297–312. Cited by: §7.