login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A364351
Expansion of Sum_{k>0} k^2 * x^k/(1 + x^k)^3.
2
1, 1, 15, -6, 40, 12, 77, -60, 180, 30, 187, -120, 260, 56, 630, -376, 442, 117, 551, -340, 1218, 132, 805, -1104, 1325, 182, 1998, -672, 1276, 360, 1457, -2032, 2970, 306, 3290, -1710, 2072, 380, 4134, -3080, 2542, 672, 2795, -1672, 7830, 552, 3337, -6816, 4998, 775, 7038, -2340, 4240, 1080
OFFSET
1,3
LINKS
FORMULA
a(n) = (n/2) * Sum_{d|n} (-1)^(n/d+1) * (d+n) = (n/2) * (A000593(n) + n * A048272(n)).
MATHEMATICA
a[n_] := DivisorSum[n, (-1)^(n/#+1) * (#+n) &] * n/2; Array[a, 55] (* Amiram Eldar, Jul 20 2023 *)
PROG
(PARI) my(N=60, x='x+O('x^N)); Vec(sum(k=1, N, k^2*x^k/(1+x^k)^3))
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Jul 19 2023
STATUS
approved