I need to find all natural solutions to $x^2 + 2y^2 = z^2$
What I tried: I did $\pmod 2$ to the equation receiving $z^2 - x^2 \equiv 0 \pmod 2$.
Then there are two possibilities:
$x^2 \equiv 0 \pmod 2$, $z^2 \equiv 0 \pmod 2$ then $x \equiv 0 \pmod 2$ , $z \equiv 0 \pmod 2$
$x^2 \equiv 1 \pmod 2$ , $z^2 \equiv 1 \pmod 2$ then $x \equiv 1 \pmod 2$ , $z \equiv 1 \pmod 2$
In the first possibility I divide the equation by $2$ infinitely many times and get a contradiction. So I get only the trivial $(0,0,0)$ solution.
In the second one I'm stuck... Any help will be appreciated.