numtheory(deprecated)/cyclotomic - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : numtheory(deprecated)/cyclotomic

numtheory(deprecated)

  

cyclotomic

  

calculate cyclotomic polynomial

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

cyclotomic(n, t)

Parameters

n

-

non-negative integer

t

-

variable

Description

• 

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=tn1d=divisorsnncyclotomicd,t.

• 

The degree of the nth cyclotomic polynomial is given by the totient function numtheory[phi].

Examples

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[CyclotomicPolynomial] instead.

withnumtheory:

cyclotomic1,x

x1

(1)

cyclotomic20,z

z8z6+z4z2+1

(2)

See Also

NumberTheory[CyclotomicPolynomial]

numtheory(deprecated)

numtheory(deprecated)[divisors]

numtheory(deprecated)[iscyclotomic]