<s>[INST] Powers for the sum of three squares Say $n$ can be represented as a sum of three non-zero squares. (i.e. $n = a^2 +b^2+ c^2$, for some $n,a,b,c \in \mathbb{N}$)
Is it possible that every natural power of $n$ is also a sum of three non-zero
squares? (i.e. $n^k = x^2+y^2+z^2$ for $x,y,z,k \in \mathbb{N}$)
 [/INST] Yes, this is possible. Take $n=3$. Clearly $3=1^2+1^2+1^2$. Now any power of $3$ is also the sum of three squares by the Three-Squares Theorem, because $3^k$ is not of the form $4^n(8m+7)$. This may include zero summands, though. Otherwise one has to give a direct solution. If $n=3^k$ with $k=2m+1$, then $3^k=(3^m)^2+(3^m)^2+(3^m)^2$. If $n=3^k$ with $k=2m$, then 
$$
3^k=3^{2m}=(3^{m-1})^2+(2\cdot 3^{m-1})^2+(2\cdot 3^{m-1})^2
$$
</s>