OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5); a(0)=0, a(1)=24, a(2)=64, a(3)=126, a(4)=217. - Harvey P. Dale, Feb 23 2014
From Elmo R. Oliveira, May 24 2026: (Start)
G.f.: x*(24 - 56*x + 46*x^2 - 13*x^3)/(1 - x)^5.
E.g.f.: x*(12 + x)*(48 + 12*x + x^2)*exp(x)/24. (End)
MATHEMATICA
Table[(n^4+18n^3+131n^2+426n)/24, {n, 0, 40}] (* Harvey P. Dale, Feb 23 2014 *)
(* Alternative: *)
LinearRecurrence[{5, -10, 10, -5, 1}, {0, 24, 64, 126, 217}, 40] (* Harvey P. Dale, Feb 23 2014 *)
PROG
(Magma) [(n^4+18*n^3+131*n^2+426*n)/24: n in [0..40]]; // Vincenzo Librandi, Feb 24 2014
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Philippe Deléham, Jan 30 2004
EXTENSIONS
Corrected by T. D. Noe, Nov 08 2006
STATUS
approved
