Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You did not define x and thus it is considered symbolic rather than a variable over GF(p). A simple way to fix this is to change R = PolynomialRing(GF(p),'x') with R.<x> = PolynomialRing(GF(p),'x'). Then you'll get roots in GF(p).

You did not define x and thus it is considered a symbolic variable rather than a polynomial variable over GF(p). GF(p). A simple way to fix this is to change R = PolynomialRing(GF(p),'x') with into R.<x> = PolynomialRing(GF(p),'x'). Then you'll get roots in GF(p).

You did not define x and thus it is considered a symbolic variable rather than a polynomial variable over GF(p). A simple way to fix this is to change R = PolynomialRing(GF(p),'x') into R.<x> = PolynomialRing(GF(p),'x')PolynomialRing(GF(p)). Then you'll get roots in GF(p).