OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = (n^4 - 3*n^3 + 3*n^2 + 3*n - 4)/2 for n > 0 with a(0) = 0.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n > 5.
G.f.: x^2*(3 + x + 10*x^2 - 2*x^3)/(1 - x)^5.
E.g.f.: 2 + exp(x)*(x^4 + 3*x^3 + x^2 + 4*x - 4)/2.
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {0, 0, 3, 16, 60, 168}, 41]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Dec 24 2024
STATUS
approved
