Some refinements of Lagrange's four-square theorem

Yu-Chen Sun,Zhi-Wei Sun
2016-01-01
Abstract: Lagrange's four-square theorem is a classical theorem in number theory. Recently, Z.-W. Sun found that it can be further refined in various ways. In this paper we obtain two refinements of this celebrated theorem. We show that any nonnegative integer can be written as $x^2+y^2+z^2+w^2$ $(x,y,z,w\in\mathbb Z)$ with $x+y+z+w$ a square (or a cube). Also, every $n=0,1,2,\ldots$ can be represented by $x^2+y^2+z^2+w^2$ $(x,y,z,w\in\mathbb Z)$ with $x+2y+2z$ a square (or a cube).
What problem does this paper attempt to address?