It is always confusing to prove with $\not\equiv$. Should I try contrapositive?
Asked
Active
Viewed 55 times
1
-
I guess you could use contrapositive, but in this case it's easier to just enumerate both cases. – Dennis Meng Oct 02 '13 at 20:40
3 Answers
3
Well, in this case the contrapositive is "if $a^2$ is $\textit{not}$ congruent to $1$ mod $3$ then ..." which will cause you the same kind of problem.
In this case, you might just try working directly with the hypothesis. If $a$ is not congruent to $0$, then it has to be congruent to either $1$ or $2$, right? Consider each of these cases separately, and you should see why this is true.
BaronVT
- 13,613
1
HINT:
if $a$ is not divisible by $3$, then $a=3n+1$ or $a=3n+2$.
Calculate $a^2$, and take $\text{mod}3$ to conclude.
Shobhit
- 6,902
1
If $a \not\equiv 0 \bmod 3$ then either $a \equiv 1 \bmod 3$ or $a \equiv 2 \bmod 3$.
- If $a \equiv 1 \bmod 3$ then $a^2 \equiv 1^2 = 1\equiv 1 \bmod 3$.
- If $a \equiv 2 \bmod 3$ then $a^2 \equiv 2^2 = 4 \equiv 1 \bmod 3$.
Hence, if $a \not\equiv 0 \bmod 3$ then $a^2 \equiv 1 \bmod 3$.
Fly by Night
- 32,272