I was stuck at this question:
Suppose $a^2+b^2=c^2$ for $a,b,c \in \mathbb Z$, and neither $a$ nor $b$ is a multiple of 7. Show that $a^2-b^2$ is a multiple of 7
I tried to write $b^2$ as $c^2-a^2$ then get $a^2-b^2=2a^2-c^2$. But this does not seem to generate the solution.
How to solve problems like this, am I missing some theorems concerning Pythagoras numbers?
HINT:
If $n\equiv0,\pm1,\pm2,\pm3;n^2\equiv0,1,4,2\pmod7$
So, $a^2,b^2\equiv1,2,4$
Check for $c^2\pmod7$ when $a^2\not\equiv b^2\pmod7$
But my greater concern is how the problem, specifically $\pmod7$ was conceived!