OFFSET
0,2
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 2025.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
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
From Andrew Howroyd, Nov 12 2025: (Start)
a(n) = n*(n + 1)*(n^2 + n + 1)*(n^2 + n + 2)/4.
G.f.: 6*x*(1 + 3*x + x^2)*(1 + 4*x + x^2)/(1 - x)^7. (End)
EXAMPLE
MATHEMATICA
a=Table[(n(n+1))/2, {n, 0, 30}]; Apply[Join, Map[{#(#+1)(2#+1)}&, a]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Miguel-Ángel Pérez García-Ortega, May 11 2025
STATUS
approved
