OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 4*n^4+8*n^3+8*n^2+5*n+1.
From Stefano Spezia, Jul 09 2024: (Start)
G.f.: (1 + 21*x + 51*x^2 + 23*x^3)/(1 - x)^5.
E.g.f.: exp(x)*(1 + 25*x + 60*x^2 + 32*x^3 + 4*x^4). (End)
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 26, 171, 628, 1685}, 40] (* Harvey P. Dale, Nov 07 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amrit Awasthi, Jul 09 2024
STATUS
approved