NumberTheory
CyclotomicPolynomial
minimal polynomials of primitive roots of unity with rational coefficients
Calling Sequence
Parameters
Description
Examples
Compatibility
CyclotomicPolynomial(n, x)
Phi(n, x)
Φ⁡n
n
-
positive integer
x
name
The CyclotomicPolynomial('n', 'x') command computes the nth cyclotomic polynomial in x.
The roots of the nth cyclotomic polynomial are exactly the nth primitive roots of unity.
The degree of the nth cyclotomic polynomial is given by Euler's totient function, NumberTheory[Totient].
Phi is an alias for CyclotomicPolynomial.
You can enter the command Phi using either the 1-D or 2-D calling sequence. For example, Phi(8, x) is equivalent to Φ⁡8,x.
with⁡NumberTheory:
CyclotomicPolynomial⁡1,x
x−1
Φ⁡2,x
x+1
The one hundred and fifth cyclotomic polynomial is the first with a coefficient greater than 1.
CyclotomicPolynomial⁡105,x
x48+x47+x46−x43−x42−2⁢x41−x40−x39+x36+x35+x34+x33+x32+x31−x28−x26−x24−x22−x20+x17+x16+x15+x14+x13+x12−x9−x8−2⁢x7−x6−x5+x2+x+1
Totient⁡105
48
p≔CyclotomicPolynomial⁡7,x
p≔x6+x5+x4+x3+x2+x+1
r≔solve⁡p=0,x
r≔cos⁡2⁢π7+I⁢sin⁡2⁢π7,−cos⁡3⁢π7+I⁢sin⁡3⁢π7,−cos⁡π7+I⁢sin⁡π7,−cos⁡π7−I⁢sin⁡π7,−cos⁡3⁢π7−I⁢sin⁡3⁢π7,cos⁡2⁢π7−I⁢sin⁡2⁢π7
plots:-complexplot⁡r,style=point
The NumberTheory[CyclotomicPolynomial] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
NumberTheory[IsCyclotomicPolynomial]
NumberTheory[Totient]
Download Help Document