foxjwill
- 350
- 0
Homework Statement
I'd like to know if my proof that \forall n \in \mathbb{Z},\ n^2 \not\equiv 2 \mod 3.
Homework Equations
The Attempt at a Solution
Start by guessing that for some n=k,
k^2 \not\equiv 2 \mod 3.
Since the theorem is obviously true for n=1, all we need to show is that it is also true for some n=k+1. If k^2 \equiv 0 \mod 3, then so is k, and it follows first that 2k+1 \equiv 1 \mod 3 and then that k^2+2k+1 = (k+1)^2 \equiv 1 \mod 3. Using a similar process for k^2 \equiv 1 \mod 3, it follows that (k+1)^2 \equiv 0 \mod 3. Therefore (k+1)^2 must be congruent to either 0 or 1 modulo 3, and the theorem is proven. Q.E.D.