|
|
A267031
|
|
a(n) = (32*n^3 - 2*n)/3.
|
|
1
|
|
|
0, 10, 84, 286, 680, 1330, 2300, 3654, 5456, 7770, 10660, 14190, 18424, 23426, 29260, 35990, 43680, 52394, 62196, 73150, 85320, 98770, 113564, 129766, 147440, 166650, 187460, 209934, 234136, 260130, 287980, 317750, 349504, 383306, 419220, 457310, 497640, 540274, 585276, 632710, 682640, 735130, 790244
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
This sequence alternates with the tetrahedral numbers, A000292, to create the centered octagonal pyramidal number sequence, A000447.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n > 3. - Colin Barker, Jan 10 2016
Sum_{n>=1} 1/a(n) = 9*log(2)/2 - 3.
Sum_{n>=1} (-1)^(n+1)/a(n) = 3 - 3*(2-sqrt(2))*log(2)/4 - 3*sqrt(2)*log(sqrt(2)+2)/2. (End)
|
|
EXAMPLE
|
a(4) = (32/3)*4^3 - (2/3)*4 = 680.
|
|
MATHEMATICA
|
Table[(32 n^3 - 2 n)/3, {n, 0, 42}] (* or *)
CoefficientList[Series[(2 x (5 + 22 x + 5 x^2))/(-1 + x)^4, {x, 0, 41}], x] (* Michael De Vlieger, Jan 09 2016 *)
|
|
PROG
|
(PARI) concat(0, Vec(2*x*(5+22*x+5*x^2)/(1-x)^4 + O(x^100))) \\ Colin Barker, Jan 10 2016
(PARI) a(n) = (32*n^3 - 2*n)/3; \\ Altug Alkan, Jan 10 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|