OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
G.f.: x*(3 + 2*x - 3*x^2 + x^3)/(1-x)^5.
a(n)= (2*n + 45*n^2 + 22*n^3 + 3*n^4)/24.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
E.g.f.: (1/24)*x*(72 + 132*x + 40*x^2 + 3*x^3)*exp(x). - G. C. Greubel, Aug 13 2017
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {0, 3, 17, 52, 121}, 40] (* Harvey P. Dale, Feb 25 2017 *)
PROG
(PARI) x='x+O('x^50); concat([0], Vec(x*(3 +2*x -3*x^2 +x^3)/(1-x)^5)) \\ G. C. Greubel, Aug 13 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Aug 13 2009
STATUS
approved