\[n=x_{1}^{2}+x_{2}^{2}+\dots+x_{k}^{2},\]