> I'm not sure why you are getting different results from sagenb.com and
I typed it wrong. It's in sagenb.org (are they the same?) > that I'm even sure why this should make sense), you get back a list of > rational numbers. For rational numbers, Sage decides to always return a > GCD of 1: yes, you're right that's why I changed it to quot=ZZ(D/dhat) but it took me a while to figure that out (the functions were originally much more complicated than this one) because in the "terminal" (konsole? shell? whatever) it worked just fine. I understand that the gcd in a field (or just in the localization of Z by 3) should be trivial (or miss some prime factors). But in that case, I should have the same result both ways AND divisor( ) should be coherent with the behaviour of GCD. thanks tincho --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---