I'm not sure if this question should be under Modular Arithmetic, but that's where it was in my book.
Show that, if $x$, $y$, and $z$ and integers such that $x^2 + y^2 = z^2$, then at least one of $\{x, y, z\}$ is divisible by $2$, at least one of $\{x, y, z\}$ is divisible by $3$ and at least one of $\{x, y, z\}$ is divisible by $5$.
What I did so far is to write them as:
$$x = 2k , \quad y = 3m , \quad z = 5n$$
Then the equation becomes $4k^2 + 9m^2 = 25n^2$ This would work for $k=2$, $m=1$, $n=1$, which would give $x=4$, $y=3$, $z=5$
I don't know how to show that it would only work for these numbers, or multiples of them.