Program for generating the coefficients of the nth cyclotomic polynomial

136 Views Asked by At

Is there a program that generates the coefficients of the nth cyclotomic polynomial?

1

There are 1 best solutions below

0
On BEST ANSWER

The software pari/gp which is free and has many functions relevant to algebraic number theory has a built-in function "polcyclo" which returns the whole of the $n$th cyclotomic polynomial.

Thus the command:

? polcyclo(10)

Returns the answer:

x^4 - x^3 + x^2 - x + 1

Does that help?