Let $x, y, z$ be a primitive Pythagorean triple where $y$ is even.
I'm trying to show that $x + y \equiv x − y \equiv 1 \text{ or } 7 \mod 8$.
What I have so far is the following:
$x \equiv 1 \mod 2$ and $y \equiv 0 \mod 2$
So, $$x+y\equiv 1\mod 2 \\x-y\equiv 1 \mod 2$$
Since $x+y$ and $x-y$ are odd, they can be equivalent to $1, 3, 5, 7 \mod 8$.
I have no idea where to go from here, or even if the last step is even correct/moving me in the right direction.
There are integers $u>v>0$ such that $x=u^2-v^2$ and $y=2uv$. Furthermore, $u$ and $v$ are coprime and have different parity. This shows that $y$ is a multiple of $4$, and therefore, $x-y\equiv x+y\pmod 8$.
On the other hand, since $z$ is odd and $y$ is a multiple of $4$, $$(x+y)^2=z^2+2xy\equiv 1\pmod 8$$ so $x+y\equiv\pm1\pmod 8$.