If the polynomial is multivariate, you need to specify the quotient/remainder "main variable". I don't see it in the syntax you give below. consider x+y divided by x-y. can give 1 with remainder 2y. It can also give -1 with remainder 2x. RJF
PS, I think it is unfortunate if a user of Sage must know what is meant by a polynomial ring in order to do something from high school algebra. Just saying. On Tuesday, January 14, 2014 10:13:47 AM UTC-8, John H Palmieri wrote: > > .... > > Or for consistency with division by integers: > > sage: a // (x-4) # quotient > x-1 > sage: a % (x-4) # remainder > 2 > > -- > John > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.