Question 1. My computation in 2018 suggests that a sum of two integer squares is a sum of three nonzero integer squares if and only if it is not of the form $$4^km\ \ (k=0,1,2,\ldots;\ \ m=1,2,5,10,13,25,37,58,85,130).$$ How to prove this?
I have two similar questions formulated in 2018.
Question 2. If a positive integer $n\not=1,5,29,65$ is a sum of two squares, how to prove that $n=x^2+y^2+2z^2$ for some integers $x,y,z$ with $z\not=0$?
Question 3. If a positive integer $n\not=1,17,2^{2k+1}\ (k=0,1,2,\ldots)$ has the form $x^2+2y^2$ with $x,y\in\mathbb Z$, can one show that $n=x^2+2y^2+3z^2$ for some integers $x,y,z$ with $z\not=0$? If a positive integer $n\not=4^k,4^k\times7,4^k\times13$ $(k=0,1,2,\ldots)$ has the form $x^2+3y^2$ with $x,y\in\mathbb Z$, can one show that $n=x^2+2y^2+3z^2$ for some integers $x,y,z$ with $y\not=0$?