OFFSET
1,1
COMMENTS
Sums of rows of triangle A100345 (n>0).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 3/2 * n^2*(n+1).
G.f.: 3*(x + 2*x^2)/(1 - x)^4. - Arkadiusz Wesolowski, Feb 11 2012
MATHEMATICA
CoefficientList[Series[3 (1 + 2 x) / (1 - x)^4, {x, 0, 40}], x](* Vincenzo Librandi, Aug 14 2017 *)
LinearRecurrence[{4, -6, 4, -1}, {3, 18, 54, 120}, 50] (* Harvey P. Dale, May 14 2023 *)
PROG
(Magma) [3/2*n^2*(n+1): n in [1..40]]; // Vincenzo Librandi, Aug 14 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jon Perry, Jul 23 2003
EXTENSIONS
More terms from Reinhard Zumkeller, Nov 18 2004
STATUS
approved