The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?
A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)
1 | initial version |
The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?
A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)