Call a triple of integers $(a, b, c)$ a Pythagorean triple if $a^2 + b^2 = c^2$ , i.e., if $a, b, c \in \mathbb{N^*}$ are the (measures of) sides of a right triangle. Examples of Pythagorean triples are (3, 4, 5), (5, 12, 13), (8, 15, 17) and (3312, 16766, 17090).
Show that if $(a, b, c)$ is a Pythagorean triple if at least one of a and b is divisible by 3.
I think to begin with $a^2 + b^2 = c^2 \rightarrow a^2 - c^2 = b^2$ to show this. Then I get stuck to prove this?