1

I'm looking to answer this question Prove $\forall k\in\mathbb{Z}$, $3|k-2$ implies $3|k^2-1$. I'm not sure what to do. I'm trying to study but now I am getting stuck on these questions that don't give a lot of information. Thanks for the help!

Golbez
  • 4,276
John
  • 57
  • 2

3 Answers3

3

A start: If $3$ divides $k-2$, then $k-2=3q$ for some integer $q$, and therefore $k=3q+2$.

Now compute $k^2-1$, that is, $(3q+2)^2-1$.

André Nicolas
  • 507,029
3

$$3|(k-2)\implies3|(k-2+3)\implies3|(k+1)\implies3|(k+1)(k-1)\implies3|(k^2-1)$$

barak manos
  • 43,109
0

If there is a counterexample to the assertion, i.e. if there exist an integer $k$ and integers $q, q', r \neq 0$ such that $$k-2 = 3q,\ k^{2} - 1 = 3q' + r,\ r = 1, 2,$$ then we have $$(3q+2)^{2} - 1 = 3q' + r,$$ so that $$9q^2 + 12q + 3(1-q') = r.$$ But $r = 1, 2$ is not divisible by $3$, qed.

Yes
  • 20,719