calculate cyclotomic polynomial
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[CyclotomicPolynomial] instead.
The function cyclotomic(n, t) returns the nth cyclotomic polynomial in t.
By definition, cyclotomic(n, t) =
With the exception of small values of n, for which a table lookup is used, cyclotomic⁡n,t is computed using an algorithm based on the fact that cyclotomic⁡n,t=tn−1∏d=divisors⁡n∖n⁡cyclotomic⁡d,t.
The degree of the nth cyclotomic polynomial is given by the totient function numtheory[phi].
Download Help Document
What kind of issue would you like to report? (Optional)