Ask Your Question

GK's profile - activity

2023-06-09 22:21:50 +0200 received badge  Famous Question (source)
2022-01-19 20:26:37 +0200 received badge  Notable Question (source)
2022-01-19 20:26:37 +0200 received badge  Popular Question (source)
2018-12-31 00:06:59 +0200 received badge  Supporter (source)
2018-12-31 00:06:22 +0200 commented answer On function quo_rem

Thank you a lot!!!

2018-12-31 00:02:31 +0200 received badge  Scholar (source)
2018-12-30 17:36:47 +0200 received badge  Nice Question (source)
2018-12-30 12:49:59 +0200 received badge  Student (source)
2018-12-30 00:55:47 +0200 asked a question On function quo_rem

Hi, I write the following code:

R.<x,y,z> = PolynomialRing(GF(29), order='degrevlex'); 
f = x*y + z;
g = x + y; 
f.quo_rem(g)

and the result is

(x, -x^2 + z).

Is it a really correct result of the function quo_rem? Because of the 'degrevlex' (x > y > z and y^2 < x*y < x^2), I expect something like this

(y, -y^2 + z).

Thank you very much in advance for your help.