Factoring a cyclotomic polynomial mod p
How can I factor a cyclotomic polynomial into polynomials that are irreducible modulo p?
It is quite easy:
sage: n = 11
sage: p = 3
sage: cyclotomic_polynomial(n).change_ring(GF(p)).factor()
(x^5 + 2*x^3 + x^2 + 2*x + 2) * (x^5 + x^4 + 2*x^3 + x^2 + 2)
Asked: 2021-05-13 10:18:22 +0100
Seen: 470 times
Last updated: May 13 '21
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.