Problem 9: Pythagorean Triplets