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−ζ:ζ⁢is⁢a⁢primitive⁢nth⁢root⁢of⁢unity
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].
with⁡numtheory:
cyclotomic⁡1,x
x−1
cyclotomic⁡20,z
z8−z6+z4−z2+1
See Also
NumberTheory[CyclotomicPolynomial]
numtheory(deprecated)[divisors]
numtheory(deprecated)[iscyclotomic]
Download Help Document