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*(1 + 2*x)/(1 - x)^4. - Arkadiusz Wesolowski, Feb 11 2012
From Amiram Eldar, Jun 29 2025: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/9 - 2/3.
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/18 - 4*log(2)/3 + 2/3. (End)
From Elmo R. Oliveira, Jul 06 2026: (Start)
E.g.f.: 3*exp(x)*x*(2 + 4*x + x^2)/2.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). (End)
MATHEMATICA
CoefficientList[Series[3 (1 + 2 x) / (1 - x)^4, {x, 0, 40}], x] (* Vincenzo Librandi, Aug 14 2017 *)
(* Alternative: *)
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
