Read more on Pythagorean triples
here
source on Ellie