Question 19
Let $p$ be a prime number, and let $n \ge p-1$ be an integer. If $np+1$ is a perfect square, prove that $n+1$ can be represented as a sum of squares of exactly $p$ positive integers.
Math Olympiad Vault · MathNet 2018-part-02 — 181 problems (EN–VI)