|
|
A176889
|
|
a(2*k-1)=1, a(2*k)=2*k^2 (definition by T. M. Apostol, see References).
|
|
1
|
|
|
1, 2, 1, 8, 1, 18, 1, 32, 1, 50, 1, 72, 1, 98, 1, 128, 1, 162, 1, 200, 1, 242, 1, 288, 1, 338, 1, 392, 1, 450, 1, 512, 1, 578, 1, 648, 1, 722, 1, 800, 1, 882, 1, 968, 1, 1058, 1, 1152, 1, 1250, 1, 1352, 1, 1458, 1, 1568, 1, 1682, 1, 1800, 1, 1922, 1, 2048, 1, 2178
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
REFERENCES
|
T. M. Apostol, Calculus, Volume 1, John Wiley & Sons, 1967 (2nd ed.), p. 378-379.
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1 + 2*x - 2*x^2 + 2*x^3 + x^4)/(1-x^2)^3.
a(n) = a(-n) = 1+((-1)^n+1)*(n^2-2)/4.
|
|
MATHEMATICA
|
CoefficientList[Series[(1 + 2 x - 2 x^2 + 2 x^3 + x^4) / (1 - x^2)^3, {x, 0, 65}], x] (* Vincenzo Librandi, Aug 19 2013 *)
|
|
PROG
|
(Magma) &cat[[1, 2*n^2]: n in [1..33]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|