Let $n\ge 2$ an integer. Find the lowest integer $\kappa(n)$ such that every elements in $\mathbb{Z}/n\mathbb{Z}$ can be written as a sum of $\kappa(n)$ squares.
This statement can be found in the "smf 2017", a french contest. I was just wondering if it is a well-known result or are there references about it.
Thanks in advance !