The cyclotomic polynomial , for a positive integer
, is the polynomial
given by
|
(1)
|
where
are the roots of unity in
given by
|
(2)
|
and
runs over integers relatively
prime to
.
The prime may be dropped if the product
is instead taken over primitive roots of unity,
so that
|
(3)
|
The notation
is also frequently encountered. Dickson et al. (1923) and Apostol (1975) give
extensive bibliographies for cyclotomic polynomials.
The cyclotomic polynomial for can also be defined as
|
(4)
|
where
is the Möbius function and the product
is taken over the divisors
of
(Vardi 1991, p. 225).
is an integer polynomial and an irreducible
polynomial over
with polynomial degree
, where
is the totient function.
Cyclotomic polynomials are returned by the Wolfram
Language command Cyclotomic[n,
x]. The roots of cyclotomic polynomials lie on the
unit circle in the complex
plane, as illustrated above for the first few cyclotomic polynomials.
The first few cyclotomic polynomials are
|
(5)
| |||
|
(6)
| |||
|
(7)
| |||
|
(8)
| |||
|
(9)
| |||
|
(10)
| |||
|
(11)
| |||
|
(12)
| |||
|
(13)
| |||
|
(14)
|
The cyclotomic polynomial is illustrated above in the complex
plane.
For any fixed real and positive integer
, the absolute
value
is strictly increasing as
increases along the corresponding ray
outside the unit disk.
If
is an odd prime, then
|
(15)
| |||
|
(16)
| |||
|
(17)
| |||
|
(18)
| |||
|
(19)
| |||
|
(20)
|
(Riesel 1994, p. 306). Similarly, for again an odd prime,
|
(21)
| |||
|
(22)
| |||
|
(23)
|
For the first few remaining values of ,
|
(24)
| |||
|
(25)
| |||
|
(26)
| |||
|
(27)
| |||
|
(28)
| |||
|
(29)
| |||
|
(30)
| |||
|
(31)
|
(Riesel 1994, p. 307).
For
a prime relatively
prime to
,
|
(32)
|
but if ,
|
(33)
|
(Nagell 1951, p. 160).
An explicit equation for for squarefree positive
integers
is given by
|
(34)
|
where
is the totient function and
is calculated using the recurrence
relation
|
(35)
|
for ,
with
,
where
is the Möbius function and
is the greatest
common divisor of
and
.
The polynomial can be factored as
|
(36)
|
Furthermore,
|
(37)
| |||
|
(38)
|
For ,
the coefficients of the inverse
of the cyclotomic polynomial
|
(39)
| |||
|
(40)
|
can also be computed from
|
(41)
| |||
|
(42)
| |||
|
(43)
|
where
is a nonnegative integer and
is the floor function.
For prime,
|
(44)
|
i.e., the coefficients are all 1. The first cyclotomic polynomial to have a coefficient other than
and 0 is
,
which has coefficients of
for
and
. This is true because 105 is the first number to have
three distinct odd prime factors, i.e.,
(McClellan and Rader 1979, Schroeder 1997).
The smallest values of
for which
has one or more coefficients
,
,
,
... are 1, 105, 385, 1365, 1785, 2805, 3135, 6545, 6545, 10465, 10465, 10465, 10465,
10465, 11305, ... (OEIS A013594, which uses
an initial term of 0 instead of 1).
It appears to be true that, for , if
factors, then the factors
contain a cyclotomic polynomial. For example,
|
(45)
| |||
|
(46)
|
This observation has been checked up to (Nicol 2000). If
and
are prime, then
is irreducible
over
.
Migotti (1883) showed that coefficients of for
and
distinct primes can be only
0,
.
Lam and Leung (1996) considered
|
(47)
|
for distinct primes and
. Write the totient function
as
|
(48)
|
where
and
are the unique integers with
and
. For an integer
with
,
1. iff
for some integers
and
,
2. iff
for some integers
and
,
3. otherwise .
The number of terms having is
, and the number of terms having
is
. Furthermore, assume
, then the middle coefficient
of
is
.
Resultants of cyclotomic polynomials have been computed by Lehmer (1936), Diederichsen (1940), and Apostol (1970). It is known that
if
and
,
i.e.,
and
are relatively prime (Apostol 1975). Apostol
(1975) showed that for positive integers
and arbitrary nonzero complex
numbers
and
,
|
(49)
|
where
is the greatest common divisor of
and
,
is the totient function,
is the Möbius function,
and the product is over the divisors
of
.
If
and
are distinct primes
and
, then (49) simplifies to
|
(50)
|
Quotients in these formulas are interpreted by continuity when a denominator vanishes. The following table gives the resultants
for
(OEIS A054372).
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
| 1 | 0 | ||||||
| 2 | 2 | 0 | |||||
| 3 | 3 | 1 | 0 | ||||
| 4 | 2 | 2 | 1 | 0 | |||
| 5 | 5 | 1 | 1 | 1 | 0 | ||
| 6 | 1 | 3 | 4 | 1 | 1 | 0 | |
| 7 | 7 | 1 | 1 | 1 | 1 | 1 | 0 |
The numbers of 1s in successive rows of this table are given by 0, 0, 1, 1, 3, 3, 5, 4, 6, 7, 9, ... (OEIS A075795).
The cyclotomic polynomial has the particularly nice Maclaurin
series
|
(51)
|
for .
Its coefficients, starting with the constant term,
are 1, 1, 0,
,
,
0, 1, 1, 0,
,
,
... (OEIS A010892). They are given by solving
the recurrence equation
|
(52)
|
for ,
with
(Wolfram 2002, p. 128),
giving the explicit form
|
(53)
|
Interestingly, any sequence satisfying the linear
recurrence equation
|
(54)
|
for
can be written for
as
|
(55)
|