I was presented with the following problem:
Prove that there exist solutions to $x^2+y^2=z^n$ for all $n$, with $x,y,z, n \in \mathbb{N}$
I showed that by taking any Pythagorean triple $x^2+y^2=z^2$ and multiplying by $z^{2(n-1)}$ we get $(z^{n-1}x)^2+(z^{n-1}y)^2=(z^2)^n$, which allows me to generate solutions easily for any value of $n$. I managed to find several similar questions on this site, such as this one concerning the specific case $n=3$. I notice that all of these questions take a similar approach and start with a Pythagorean triple and use it to generate general solutions.
Is there a way to prove the statement (or better yet provide solutions to the equation) without first relying on Pythagoras?
The solution $(x,y,z)=(0,1,1)$ works for all $n$.
If you don't want to allow $0$, then let $x,y\in\Bbb{N}$ be such that $$x+yi=(1+2i)^n.$$ Then $$5^n=((1+2i)(1-2i))^n=(1+2i)^n(1-2i)^n=(x+yi)(x-yi)=x^2+y^2.$$
Alternatively, if $n$ is odd let $m:=\frac{n-1}{2}$ so that $$(2^m)^2+(2^m)^2=2^n.$$
Finally, less constructively, a theorem of Gauss tells us that if an integer is not divisible by any prime congruent to $3$ modulo $4$, then it is a sum of two squares. Hence solutions exist for any $n$.