Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

polynomials with roots of unity as coefficients

I have three polynomials $(1+x)^L+1$, $(1+\omega x)^L+$ and $(1+\omega^2 x)^L+1$ where $\omega$ is cube root of unity. I want to find the GCD of these polynomials. How do I define these polynomials in sagemath with coefficients as roots of unity?

polynomials with roots of unity as coefficients

I have three polynomials $(1+x)^L+1$, $(1+\omega x)^L+$ and $(1+\omega^2 x)^L+1$ where $\omega$ is cube root of unity. unity and L is some constant, for example, 2 or 3. I want to find the GCD of these polynomials. How do I define these polynomials in sagemath with coefficients as roots of unity? unity?