Let $x, y, z$ be integers with $2 < x < y < z$, and let $z$ be even.
If $x^2 + y^2 = z^2 + 4$, what is the least possible value for $x+y+z$ ?
So far, I've realized that $z^2 + 4$ must be even, which means that $x^2 + y^2$ must be even, which means that $x$ and $y$ can either both be even or both be odd.
I'm pretty much stuck at this point. How could you solve this question without resorting to using programming?
Thanks.