-2

Tried factoring, but I am not getting any ideas.

2 Answers2

3

Check out $a^2+b^2$ $\mod 3$ and $\mod 7$.

For any integer $a$ : $a^2\mod3$ is either $0$ or $1$.

for any integer $a$ : $a^2\mod7$ could be $0$, $1$, $2$ or $4$.

So, if $a^2+b^2$ is divisible by $21$, both $a$ and $b$ are.

dEmigOd
  • 3,390
0

HINT: $$a^2+b^2$$ is only divisible by $21$ if $a^2$ and $b^2$ is divisible by $21$ this means that $a$ and $b$ is divisible by $21$ but then must $a^2$ and $b^2$ is divisible by $21^2=441$