![The distribution of Pythagorean triples](https://blogs.sas.com/content/iml/files/2014/10/pythagdistrib.png)
When I studied high school geometry, I noticed that many homework problems involved right triangles whose side lengths were integers. The canonical example is the 3-4-5 right triangle, which has legs of length 3 and 4 and a hypotenuse of length 5. The triple (3, 4, 5) is called a