Răspuns :
x⁶ + x³+1 |x²+x+1
-x⁶-x⁵-x⁴ |x⁴-x³+2x-2
/ -x⁵-x⁴+x³|
x⁵+x⁴+x³|
/ / 2x³+1
-2x³-2x²-2x
/ -2x²-2x+1
2x²+2x+2
/ / 3
f : g = x⁴-x³+2x -2 rest 3
-x⁶-x⁵-x⁴ |x⁴-x³+2x-2
/ -x⁵-x⁴+x³|
x⁵+x⁴+x³|
/ / 2x³+1
-2x³-2x²-2x
/ -2x²-2x+1
2x²+2x+2
/ / 3
f : g = x⁴-x³+2x -2 rest 3