OFFSET
1,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
nmax = 60; CoefficientList[Series[Sum[k x^(2 k)/(1 + x^k)^2, {k, 1, nmax}], {x, 0, nmax}], x] // Rest
Table[Sum[(-1)^(n/d) (n - d), {d, Divisors[n]}], {n, 1, 60}]
PROG
(PARI) {a(n) = sumdiv(n, d, (-1)^(n/d)*(n-d))} \\ Seiichi Manyama, Sep 14 2019
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Sep 09 2019
STATUS
approved