Sharedsupport / 2015-03-30-112034-root-stack-overflow.sagewsOpen in CoCalc
Examples for support purposes...
F.<alpha> = GF(9)
R.<x> = PolynomialRing(F)
f=x^3+2*x+1
f.roots()
[]

F.<alpha> = GF(3^6)
R.<x> = PolynomialRing(F)
f = x^3+2*x+1
f.roots()
[(2*alpha^5 + 2*alpha^4, 1), (2*alpha^5 + 2*alpha^4 + 2, 1), (2*alpha^5 + 2*alpha^4 + 1, 1)]