-1

I was working on this problem:

Let $a$ be an integer. Prove $a$ is not evenly divisible by $3$ if and only if $a^2-1$ is evenly divisible by $3$.

I figured out how to prove the first statement, "if $3 \nmid a$ then $3|(a^2-1)$" by considering the cases where $a\equiv 1 \pmod{3}$ and $a\equiv 2 \pmod{3}$.

However, when I got to the converse, "if $3|(a^2-1)$ then $3\nmid a$" I got stuck, so I checked the solution manual for a hint, and it did the following to start out proving the converse:

Since $a^2-1$ is evenly divisible by $3$, then $a^2-1=3k,\exists k\in \mathbb{Z}$. Then $\color{red}{(a-1)(a+1)=3k\implies 3|(a-1)\: \text{or} \: 3|(a+1)}$.

After this, it proceeds to consider the cases where $3|(a-1)$ and $3|(a+1)$ to prove the statement. I just don't understand how we know the implication I've highlighted in red is true.

1 Answers1

1

This is a direct result of Euclid's lemma:

  • If $a$ and $b$ are integers and $p$ is prime such that $p | ab$, then either $p | a$ or $p | b$ (or both).
ConMan
  • 24,300