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