Problem

Source:

Tags: Divisibility Theory, pen



Let $n$ be a positive integer. Prove that the following two statements are equivalent. $n$ is not divisible by $4$ There exist $a, b \in \mathbb{Z}$ such that $a^{2}+b^{2}+1$ is divisible by $n$.