| 1 | initial version |
p=7 R=PolynomialRing(IntegerModRing(7),'x') x=R.gen()
I'm not sure if f exist
Maybe f=(q*h+r)//e
Or you want something like this? q=f//g r=f.mod(g)
As for the next question:
f=x^14 + 4*x^7 + 7
g=x^3+1
xgcd(f,g)
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.