OFFSET
0,2
COMMENTS
a(n) is a multiple of 6 for all n.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
José-Miguel Blanco Casado and Miguel-Ángel Pérez García-Ortega, El Libro de las Ternas Pitagóricas.
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
EXAMPLE
MATHEMATICA
a=Table[n(n+1), {n, 1, 30}]; Apply[Join, Map[{#(#-1)(2#-1)}&, a]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Miguel-Ángel Pérez García-Ortega, Jun 20 2025
EXTENSIONS
Offset and first term corrected by Andrew Howroyd, Nov 12 2025
STATUS
approved
