Cyclotomic polynomial

In mathematics, the -th cyclotomic polynomial, for any positive integer , is the unique irreducible polynomial with integer coefficients that is a divisor of and is not a divisor of for any . Its roots are all -th primitive roots of unity , where runs over the positive integers up to and coprime to (where is the imaginary unit). In other words, the -th cyclotomic polynomial is equal to

It may also be defined as the monic polynomial with integer coefficients that is the minimal polynomial over the field of the rational numbers of any primitive nth-root of unity ( is an example of such a root).

An important relation linking cyclotomic polynomials and primitive roots of unity is

showing that is a root of if and only if it is a -th primitive root of unity for some that divides .