rem returns the euclidean remainder between two polynomials
(decreasing power division). If the polynomials are represented as
expressions, the variable may be specified as a third
argument.
Input :
^
3-1,x^
2-1)Output :
To have the remainder of x2+2x+4 by x2+x+2 we can also input :
Output :
i.e. le polynomial x+2.