Thanks David. I just reported the bug to PARI.
Rob
On Sat, Feb 17, 2018 at 10:04 AM, David Loeffler wrote:
> This is a bug in PARI, rather than in Sage, apparently:
>
> GP/PARI CALCULATOR Version 2.9.4 (released)
>
> amd64 running linux (x86-64/GMP-6.1.0 kernel) 64-
This is a bug in PARI, rather than in Sage, apparently:
GP/PARI CALCULATOR Version 2.9.4 (released)
amd64 running linux (x86-64/GMP-6.1.0 kernel) 64-bit version
[...]
? nffactor(y^8 - y^6 + y^4 - y^2 + 1, x^4 + 1) \\ works
%1 =
[x^2 + Mod(-y^5, y^8 - y^6 + y^4 - y^
The following code crashes (in Sage 8.1 and on CoCalc):
sage: K=CyclotomicField(20)
sage: R.=PolynomialRing(K)
sage: (x^4-1).factor()
---
PariError Traceback (most recent call last)
in ()
>