I can't figure out how to prove the following implication using the division algorithm:
$$3 \mid x-2 \implies 3 \mid (x^2 - x+1)$$
It seems simple enough. Does anyone know how?
I can't figure out how to prove the following implication using the division algorithm:
$$3 \mid x-2 \implies 3 \mid (x^2 - x+1)$$
It seems simple enough. Does anyone know how?
Hint: Let $A(x)=x^2-x+1$. Then $$A(x)=(x-2)Q(x)+R,$$ for some polynomial $Q$ with integer coefficients, and some constant $R$. Moreover, $R=A(2)=3$.