Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

f % (x*y^2 - z) will do the job:

K.<x,y,z> = ZZ[]
f = x*y^2 + x + y + z
print( f % (x*y^2 - z) )