Stefan Rönn: The Generation of Pythagorean Triples We derive an algorithm that generates all Pythagorean triples whose hypotenuses are at most a given positive integer. Using the algorithm we prove some properties of the Pythagorean triples.