31.2. Let p=4k+3 be a prime number. Prove that if a2+b2 is divisible by p, then both numbers a and b are divisible by p.
This one wants a proof. Work it on paper, read the official solution, then mark
yourself honestly — the ladder only means something if the record is true.
Official solution
31.2. Suppose that one of the numbers a and b is not divisible by p. Then the other number is also not divisible by p. Therefore, according to Fermat's Little Theorem, ap−1≡1(modp) and bp−1≡1(modp). Hence, ap−1+bp−1≡2(modp). On the other hand, the number ap−1+bp−1=a4k+2++b4k+2=(a2)2k+1+(b2)2k+1 is divisible by a2+b2, so it is divisible by p.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.