Let $x,y,z$ be positive integers such that $\text {HCF}(x,y,z)=1$ and $x^2+y^2=2z^2$. Prove the following
$1.$ $3$ divides $x+y$ or $3$ divides $x-y$
$2.$ $5$ divides $z(x^2-y^2)$
From $x^2+y^2=2z^2$, it is clear that $x$ and $y$ will be both odd or both even.
If both are even then $z$ will be odd so that $\text {HCF}(x,y,z)=1$ holds true but I think $x^2+y^2=2z^2$ could give more information which I am not able to observe and hence not able to prove the given statements. Could someone give some hint to proceed.