OFFSET
1,2
COMMENTS
Equals row sums of triangle A178067. - Gary W. Adamson, May 18 2010
Antidiagonal sums of the convolution array A213771. - Clark Kimberling, Jul 04 2012
Partial sums of A081436. - J. M. Bergot, Jun 20 2013
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
Let M = the infinite lower triangular matrix of the natural numbers: [1; 2,3; 4,5,6; ...]; and V = [1, 2, 3, ...]. Then M*V = A132117.
O.g.f.: -x(1+x)(2x+1)/(-1+x)^5. - R. J. Mathar, Apr 02 2008
a(n) = (4*n + 6*n^2 + 8*n^3 + 6*n^4)/24. - Alois P. Heinz, Aug 07 2008
a(n) = A000217(n)^2 - Sum_{i=1..n-1} A000217(i) = n*(n+1)*(3*n^2+n+2)/12. - Bruno Berselli, May 01 2010
EXAMPLE
a(3) = 32 = (1, 2, 1) dot (1, 7, 17) = (1 + 14 + 17).
MAPLE
a:= n-> (Matrix([[0, 0, 2, 13, 46]]). Matrix(5, (i, j)-> if (i=j-1) then 1 elif j=1 then [5, -10, 10, -5, 1][i] else 0 fi)^n)[1, 1]: seq(a(n), n=1..29); # Alois P. Heinz, Aug 07 2008
a:= n-> (4+(6+(8+6*n)*n)*n)*n/24: seq(a(n), n=1..40); # Alois P. Heinz, Aug 07 2008
MATHEMATICA
Table[(4 n + 6 n^2 + 8 n^3 + 6 n^4) / 24, {n, 50}] (* Vincenzo Librandi, Jun 21 2013 *)
PROG
(PARI) a(n) = (4*n+6*n^2+8*n^3+6*n^4)/24 \\ Charles R Greathouse IV, Sep 03 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Aug 10 2007
EXTENSIONS
More terms from R. J. Mathar, Apr 02 2008
STATUS
approved