Calcolare MCD(f(x),g(x)) in Z5
f(x)=x^4+1
g(x)=x^3-1

(x^4+1)=(x^3-1)(x)+(x+1)
(x^3-1)=(x+1)(x^2-x+1)+(3)

poi come si procede?