Cyclotomic Polynomials.
The nth cyclotomic polynomial, for any positive integer n, is the unique irreducible polynomial with integer coefficinets, which is a divisor of xn−1 and is not a divisor of xk−1 for any k<n. It is easy to find that the nth cyclotomic polynomial can be represented as Φn(x)=1≤k≤n, gcd(k,n)=1∏(x−e2iπ⋅nk).
Special cases. If n is a prime number, then Φn(x)=i=0∑n−1xi. If n=2p, where p is an odd prime number, then Φn(x)=Φ2p(x)=i=0∑p−1(−x)i.