Number theoryDifficulty 5.3Prove itAustrian Mathematical Olympiad · Austria
For each prime number p, determine the number of residue classes modulo p which can be represented as a2+b2 modulo p, where a and b are arbitrary integers.
This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.
With a2+02 we first obtain all quadratic residue classes. Since not all residue classes are quadratic residues, there is a quadratic residue class a2 that is followed by a quadratic non-residue class, so that n=a2+1 is not a quadratic residue and therefore of course n=0(modp). However, since the product of two quadratic non-residue classes is a quadratic residue class, it follows for each quadratic non-residue class m that m=nmn/n2=(a2+1)c2/n2≡(acn−1)2+(cn−1)2(modp) and therefore all quadratic residue classes can also be represented as the sum of two squares.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.