# quotient ring in Sage

How to calculate quotient ring Z2[x,y,z]/(2x,y^3,xy,x^2-4z] in sage? Thanks!

0

If under Z2 you understand $\mathbb Z/2\mathbb Z$ (or $\mathrm{GF}(2)$), then the even coefficients in the ideal generators look strange. Anyway, here is what you want:

```
K.<x,y,z> = PolynomialRing(GF(2)) # ring Z2[x,y,z]
J = ideal(2*x,y^3,x*y,x^2-4*z) # ideal generated by 2*x,y^3,x*y,x^2-4*z
R = K.quotient_ring(J) # quotient ring Z2[x,y,z] / <2x,y^3,xy,x^2-4z>
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2021-05-04 14:51:09 +0200 **

Seen: **62 times**

Last updated: **May 04**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.