OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1,1,-4,6,-4,1).
FORMULA
G.f.: 4*x*(1+x)*(2-x+2*x^2)/((1-x)^5*(1+x+x^2+x^3+x^4)).
a(n) = floor( n(n+1)(n+3)(n+4)/5 ). [Bruno Berselli, Jun 20 2012]
MATHEMATICA
CoefficientList[Series[4*x*(1+x)*(2-x+2*x^2)/((1-x)^5*(1+x+x^2+x^3+x^4)), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 20 2012 *)
PROG
(Magma) [Floor(n*(n+1)*(n+3)*(n+4)/5): n in [0..36]]; // Bruno Berselli, Jun 20 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Patrick De Geest, May 15 1998
STATUS
approved