![The distribution of Pythagorean triples by angle](https://blogs.sas.com/content/iml/files/2015/04/pythagangle.png)
Last week I was chatting with some mathematicians and I mentioned the blog post that I wrote last year on the distribution of Pythagorean triples. In my previous article, I showed that there is an algorithm that uses matrix multiplication to generate every primitive Pythagorean triple by starting with the