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).
FORMULA
Row sums from A155151: a(n) = Sum_{m=1..n} 2*(2*m*n + m + n + 1).
a(n) = 2*A160378(n+1).
G.f.: 2*x*(5+x)/(x-1)^4.
a(n) = 4*a(n-1) -6*a(n-2) +4*a(n-3) -a(n-4).
E.g.f.: (2*x^3 + 11*x^2 + 10*x)*exp(x). - G. C. Greubel, Aug 04 2017
MATHEMATICA
CoefficientList[Series[2*x*(5+x)/(x-1)^4, {x, 0, 40}], x] (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, 10, 42, 108}, 50](* Vincenzo Librandi, Mar 06 2012 *)
PROG
(PARI) x='x+O('x^50); concat([0], Vec(2*x*(5+x)/(x-1)^4)) \\ G. C. Greubel, Aug 04 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 04 2009
EXTENSIONS
Edited and a(4) corrected by R. J. Mathar, Aug 05 2009
STATUS
approved