I'm not quite sure where to post this but I happened upon a strange
result.  I was using sage to check my work when solving roots of a
polynomial mod 3^k.  For mod 9 it is is not giving all the roots, yet
for the other powers I checked (up to 4) the results were correct.

I am using version 2.8.9 on a mac w/ OSX

Here is the code I was using:
input:
R=IntegerModRing(3^2)
A=PolynomialRing(R,'y')
y=A.gen()
f=10*y^2 - y^3 - 9;
f.roots(multiplicities=false)

output:
[1,0]

as can be checked directly, the other roots are 6 and 3.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to