Find all positive integer solutions to the equation $x^2 + 3y^2 = z^2$
So here's what I've done thus far: I know that if a solution exists, then there's a solution where (x,y,z) = 1, because if there is one where $(x,y,z) = d$, then $\frac{x}{d}, \frac{y}{d}, \frac{z}{d}$. is also a solution.
I'm trying to mimic the pythagorean triple proof where they have that $x = u^2 - v^2$ and $y = 2uv$ and $z = u^2 + v^2$
So, looking at the original equation mod 4, I can see that it's in the form: $(0 or 1) - (0 or 1) = 3(0 or 1)$. Thus we for sure know that $3y^2$ is congruent to 0 mod 4 and that $y$ is even. We also learned that $z$ and $x$ are either both even or both odd.
From there I'm guessing I need to handle each case, but I'm stuck as to where to go from here.