A student of mine offered the following proof of the irrationality of $\sqrt{3}$: Suppose $(a/b)^2 = 3$ with $a,b$ having no common factor. Since $a^2=3b^2$, an easy parity argument (using the fact that $a$ and $b$ cannot both be even) shows that $a$ and $b$ must both be odd. Writing $a=2m+1$ and $b=2n+1$ we obtain $(2m+1)^2=3(2n+1)^2$, so $4m^2+4m+1=12n^2+12n+3$. Subtracting $1$ from both sides and dividing by $2,$ we get $2m^2+2m=6n^2+6n+1$, which is impossible since the LHS is even and the RHS is odd.
Has anyone seen this before?