OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 1 + n + (9/4)*n^2 - (9/2)*n^3 + (17/4)*n^4.
From Stefano Spezia, Jan 03 2026: (Start)
G.f.: (1 - x + 34*x^2 + 57*x^3 + 11*x^4)/(1 - x)^5.
E.g.f.: exp(x)*(4 + 12*x + 74*x^2 + 84*x^3 + 17*x^4)/4. (End)
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 4, 44, 247, 841}, 50] (* Paolo Xausa, Jan 03 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Scott R. Shannon and N. J. A. Sloane, Jan 02 2026
STATUS
approved
