0

Can you help me prove this number theory claim:

If p is a prime, p divides $a^2+b^2$ and p divides $a^2$, then p divides $b^2$

Thanks

amWhy
  • 209,954

2 Answers2

2

Badjohn is right: If $kp=a^2+b^2$ and $mp=a^2$ for some integers $k$ and $m$, then $(k-m)p=b^2$.

Wuestenfux
  • 20,964
0

$p|a^2+b^2-a^2=b^2$

Especially $p|b$