Analyze primitive roots, degrees, and coefficient patterns fast. Check divisor products and symbolic expansions effortlessly. Built for clear algebra work across screens and classrooms.
This calculator builds the cyclotomic polynomial Φn(x), reports its degree, lists its coefficients, evaluates it at a chosen value, and explains the divisor structure behind the result.
The calculator applies the recursive identity Φn(x) = (xn - 1) / ∏ Φd(x) over all proper divisors d of n. This creates the exact polynomial with integer coefficients.
The degree follows deg(Φn) = φ(n), where φ is Euler’s totient function. The roots are the primitive n-th roots of unity, so each valid exponent k satisfies gcd(k, n) = 1.
| n | Φn(x) | Degree | Notes |
|---|---|---|---|
| 3 | x2 + x + 1 | 2 | Primitive cube roots of unity. |
| 5 | x4 + x3 + x2 + x + 1 | 4 | Prime index gives a simple geometric sum. |
| 8 | x4 + 1 | 4 | Power-of-two case stays compact. |
| 10 | x4 - x3 + x2 - x + 1 | 4 | Alternating coefficients appear here. |
It is the minimal polynomial whose roots are the primitive n-th roots of unity. These polynomials are central in algebra, number theory, and field extensions.
The degree counts primitive n-th roots of unity. That count is exactly φ(n), because each valid exponent k must be relatively prime to n.
Cyclotomic polynomials are built from factorization of x^n − 1 and simplify into monic polynomials with integer coefficients. This is a standard algebraic result.
Yes. It works for both. Prime inputs often produce simple sums, while composite values can create alternating or sparse coefficient patterns.
Evaluating the polynomial helps test identities, compare factor behavior, inspect sign changes, and study algebraic patterns at selected numeric points.
Large n values can create high-degree outputs with many coefficients. The limit keeps calculations readable, reliable, and fast in normal browser sessions.
Not exactly. The exponents identify which powers of ζn produce primitive roots. They are a compact way to describe the full root set.
Yes indirectly. Cyclotomic identities are closely tied to Möbius inversion. This version uses recursive exact division, which gives the same polynomial result.