1

I have a question that I am looking for some help on.

I have two polynomials $f(x)$ and $g(x)$ and I am looking to find the $gcd(f(x),g(x))$ where the coefficients are reduced in modulo 3. In my case, $f(x)$ and $g(x)$ both are degree 4.

I have the form of $f(x)=q_1 g(x) + remainder$

However, when I do the algorithm at some point I get $q_2$ to contain a coefficient $1/2$ which does not belong to modulo 3 so I am unclear on what to do.

I can give the polynomials in the comment section if needs be as I am looking for guidance rather than solutions

Thanks in advance!

user26857
  • 52,094
ptsgeeg
  • 73

1 Answers1

1

Hint: Use the fact that the inverse of $2$ mod $3$ is $2$ mod $3$ (since $2.2=4=1$ mod 3) and not $1/2$ and replace $1/2$ by $2$ in the expression of $q_2$.