```
Pythagorean Triple Table
Reduced integer right triangles
18 Sep 1997 by Michael Somos <ms639@georgetown.edu>
http://grail.eecs.csuohio.edu/~somos/rtritab.txt

Side lengths are a1,a2,a3. Angle measures are A1,A2,A3.
tan(A1/2) = (q-p)/(q+p), tan(A2/2) = p/q, tan(A3/2) = 1.
a1=q*q-p*p, a2=2*p*q, a3=q*q+p*p, gcd(p,q)=1, p or q even.
a1*a1+a2*a2=a3*a3, gcd(a1,a2,a3)=1, max(a1,a2) < a3 < 10000.

n     a1     a2     a3    p    q   perimeter  area  p/q  atan(p/q)/atan(1)
------------------------------------------------------------------------------
1      3      4      5    1    2      12         6  0.5000000  0.5903345
2      5     12     13    2    3      30        30  0.6666667  0.7486682
3     15      8     17    1    4      40        60  0.2500000  0.3119165
4      7     24     25    3    4      56        84  0.7500000  0.8193311
5     21     20     29    2    5      70       210  0.4000000  0.4844758
6     35     12     37    1    6      84       210  0.1666667  0.2102738
7      9     40     41    4    5      90       180  0.8000000  0.8591069
8     45     28     53    2    7     126       630  0.2857143  0.3543421
9     11     60     61    5    6     132       330  0.8333333  0.8845682
entire 123387 byte table
------------------------------------------------------------------------------

```

Back to rational triangles