OFFSET
2,1
COMMENTS
See Corolario 5.2.3 of the reference.
REFERENCES
Miguel Ángel Pérez García-Ortega, José Manuel Sánchez Muñoz and José Miguel Blanco Casado, El Libro de las Ternas Pitagóricas, Preprint 2024.
LINKS
Miguel-Ángel Pérez García-Ortega, Capítulo 5.
FORMULA
Row n = (a, b, c) = (p, ( p^2 - 1 ) / 2, ( p^2 + 1 ) / 2), where p = prime(n) = A000040(n).
EXAMPLE
Table begins:
n=2: 3, 4, 5;
n=3: 5, 12, 13;
n=4: 7, 24, 25;
n=5: 11, 60, 61;
n=6: 13, 84, 85;
...
MATHEMATICA
Apply[Join, Map[{#, (#^2-1)/2, (#^2+1)/2}&, Prime[Range[2, 31]]]]
CROSSREFS
KEYWORD
nonn,easy,tabf
AUTHOR
Miguel-Ángel Pérez García-Ortega, Mar 01 2024
STATUS
approved