OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
a(n) = Sum_{i=0..n} A005920(i).
a(n) = (n+2)*(n+1)*(9*n^2 + 19*n + 12)/24.
G.f.: ( -1-5*x-3*x^2 ) / (x-1)^5. - R. J. Mathar, Mar 29 2011
MATHEMATICA
Accumulate[LinearRecurrence[{4, -6, 4, -1}, {1, 9, 33, 82}, 40]] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {1, 10, 43, 125, 290}, 40] (* Harvey P. Dale, Feb 15 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Mar 12 2011
EXTENSIONS
Typo in formula fixed by Colin Barker, Apr 19 2013
STATUS
approved