Dear All, I'd like to sincerely thank you for your help before hand. I'm having some issues that need to be straightened out. I was under the impression that xgcd(a,b) returned (g,s,t) so that g = s*a + t*b, where g=gcd(a,b). Please review the following code, and tell me why this happens:
sage: Q.<x> = PolynomialRing(ZZ); sage: gcd(x-2,x^3+2*x^2); 1 sage: g,s,t = xgcd(x-2,x^3+2*x^2); sage: g 16 sage: s*(x-2)+t*(x^3+2*x^2) 16 I was under the impression, like I said that g would have been equal to 1. Why is g, 16? Thank You, Rick -- 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 URL: http://www.sagemath.org