How to find the gcd of f(x)=x^{2} - x-2 and g(x)= x^{3}-7x+6 in F_{3}[x]. Expressed as a linear combination of f,g.
So we are dealing in modulo 3. The first thing I would do is simplify : 7= 1 (mod 3) and 6= 0 (mod 3). So which we could also write as x(x+2)(x+1). To factor , look at the general . We need to find a and b such that a+ b= 2 (mod 3) and ab= 1 (mod 3). a= b= 1 should be obvious.