|
|
A162607
|
|
a(n) = n*(n^2 - 4*n + 5)/2.
|
|
6
|
|
|
0, 1, 1, 3, 10, 25, 51, 91, 148, 225, 325, 451, 606, 793, 1015, 1275, 1576, 1921, 2313, 2755, 3250, 3801, 4411, 5083, 5820, 6625, 7501, 8451, 9478, 10585, 11775, 13051, 14416, 15873, 17425, 19075, 20826, 22681, 24643, 26715, 28900, 31201, 33621
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
Positive values are the row sums of triangle A159798.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
CoefficientList[Series[x*(1 - 3*x + 5*x^2)/(1 - x)^4, {x, 0, 50}], x] (* Vincenzo Librandi, Dec 19 2012 *)
|
|
PROG
|
(PARI) for(n=0, 50, print1(n*(n^2-4*n+5)/2, ", ")) \\ G. C. Greubel, Apr 21 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|