numtheory(deprecated)
cyclotomic
calculate cyclotomic polynomial
Calling Sequence
Parameters
Description
Examples
cyclotomic(n, t)
n
-
non-negative integer
t
variable
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) =
∏ζt−ζ:ζisaprimitiventhrootofunity
With the exception of small values of n, for which a table lookup is used, cyclotomicn,t is computed using an algorithm based on the fact that cyclotomicn,t=tn−1∏d=divisorsn∖ncyclotomicd,t.
The degree of the nth cyclotomic polynomial is given by the totient function numtheory[phi].
withnumtheory:
cyclotomic1,x
x−1
cyclotomic20,z
z8−z6+z4−z2+1
See Also
NumberTheory[CyclotomicPolynomial]
numtheory(deprecated)[divisors]
numtheory(deprecated)[iscyclotomic]
Download Help Document