login
A373335
Expansion of Sum_{k>=1} x^k / (1 + x^k + x^(2*k) + x^(3*k) + x^(4*k)).
2
1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 2, 0, 1, -1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, -1, 1, 1, 2, 0, 2, -1, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 2, 0, 0, 0, 1, 0, 2, 0, 1, 0, 1, 2, 0, -1, 1, -1, 2, 0, 1, -1, 1, 1, 0, 2, 1, 1, 1, 0, 1, -1, 0, 1, 0, 0, 1, 1, 1, 0, 2, -1, 1, 1, 0, -1, 2, 0, 2
OFFSET
1,11
LINKS
FORMULA
G.f.: Sum_{k>=1} x^k * (1 - x^k) / (1 - x^(5*k)).
a(n) = A001876(n) - A001877(n).
PROG
(PARI) my(N=110, x='x+O('x^N)); Vec(sum(k=1, N, x^k*(1-x^k)/(1-x^(5*k))))
(PARI) a(n) = sumdiv(n, d, (d%5==1)-(d%5==2));
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Seiichi Manyama, Jun 01 2024
STATUS
approved