OFFSET
1,1
COMMENTS
The only Pythagorean triple whose inradius is equal to r and such that its long leg and its hypotenuse are consecutive is (2r+1,2r^2+2r,2r^2+2r+1).
REFERENCES
J. M. Blanco Casado, J. M. Sánchez Muñoz, and M. A. Pérez García-Ortega, El Libro de las Ternas Pitagóricas, Preprint 2024.
EXAMPLE
Triples begin:
3, 4, 5;
11, 60, 61;
123, 7564, 7565;
15131, 114473580, 11447358;
...
MATHEMATICA
{a0, b0, c0}={3, 4, 5}; f[n_]:=Module[{fn0=2c0+1, fn1=((2c0+1)^2+1)/2}, Do[{fn0, fn1}={2fn1+1, ((2fn1+1)^2+1)/2}, {n}]; fn0]; t[n_]:={f[n-1], (f[n-1]^2-1)/2, (f[n-1]^2+1)/2}; ternas={a0, b0, c0}; For[i=1, i<=6, i++, ternas=Join[ternas, t[i]]]; ternas
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Miguel-Ángel Pérez García-Ortega, Nov 24 2024
STATUS
approved