For any natural number $x$, $x^2 + 5$ is not divisible by $4$
Or is proof by cases the only way to go about proving this?
For any natural number $x$, $x^2 + 5$ is not divisible by $4$
Or is proof by cases the only way to go about proving this?
Besides induction and "by cases" maybe consider a direct proof, too. If $\;4 \mid x^2 +5\,$ then $x^2$ must be odd, so $x$ itself must be odd. But then $x=2y+1\,$ so $x^2+5=4y^2+4y+6 \equiv 2 \pmod 4\,$.