[go: up one dir, main page]

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”).

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