|
|
A162260
|
|
a(n) = (n^3 + 4*n^2 - n)/2.
|
|
2
|
|
|
2, 11, 30, 62, 110, 177, 266, 380, 522, 695, 902, 1146, 1430, 1757, 2130, 2552, 3026, 3555, 4142, 4790, 5502, 6281, 7130, 8052, 9050, 10127, 11286, 12530, 13862, 15285, 16802, 18416, 20130, 21947, 23870, 25902, 28046, 30305, 32682, 35180, 37802
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Row sums from A154614: a(n) = Sum_{m=1..n} (m*n + m + n - 1).
G.f.: x*(2 + 3*x - 2*x^2)/(1-x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). (End)
|
|
MATHEMATICA
|
CoefficientList[Series[(2+3*x-2*x^2)/(1-x)^4, {x, 0, 40}], x] (* or *) LinearRecurrence[{4, -6, 4, -1}, {2, 11, 30, 62}, 50] (* Vincenzo Librandi, Mar 05 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|