a) Show that $a^2$ cannot be congruent to $2$ or $3 \bmod 5$ for any integer.
$a^2≡2,3 \pmod5$
$a≡0,±1,±2\pmod5 )⟹a^2≡0,1,4$. But $2,3$ are not congruent to $0,1,4\pmod5$.
I am not sure if I did it right, please check it for me
(b) Show that if $5\mid x^2+y^2+z^2$ then either exactly one of, or each of $x, y, z$ are a multiple of $5$.
I really can not figure it out :(
If $5|(x^2+y^2+z^2)$ we can say that in $\Bbb Z_5$, $x^2+y^2+z^2= 0$ and in a) we saw the squares are $0,1,-1$ in $\Bbb Z_5$. So we can only have this when we have at least one $0$ and the other two $1$ and $-1$ or all three terms are $0$ (hence divisible by $5$). We cannot compensate two $1$'s or two $-1$'s and three of $1,-1$ is impossible anyway (we get an odd number).