OFFSET
0,1
LINKS
Harvey P. Dale, 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)= (n+1)*(n^3+15*n^2+56*n+24)/12.
G.f.: (2+6*x-9*x^2+3*x^3)/(1-x)^5.
MATHEMATICA
Table[(n+1)(n^3+15n^2+56n+24)/12, {n, 0, 40}] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {2, 16, 51, 118, 230}, 40] (* Harvey P. Dale, Dec 07 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Dec 23 2003
STATUS
approved