cyclotomicPoly -- Cyclotomic Polynomial

Synopsis

• Usage:
cyclotomicPoly (i,v)
• Inputs:
• i, an integer, the power of a root of unity.
• v, a variable name in which the polynomial is returned.
• Outputs:
• f, The minimal polynomial of the i-th root of unity.

Description

 i1 : R = QQ[ww] o1 = R o1 : PolynomialRing i2 : f = cyclotomicPoly (6,ww) 2 o2 = ww - ww + 1 o2 : R