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”).
%I #14 Jun 01 2024 11:40:46
%S 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,
%T -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,
%U -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
%N Expansion of Sum_{k>=1} x^k / (1 + x^k + x^(2*k) + x^(3*k) + x^(4*k)).
%H Seiichi Manyama, <a href="/A373335/b373335.txt">Table of n, a(n) for n = 1..10000</a>
%F G.f.: Sum_{k>=1} x^k * (1 - x^k) / (1 - x^(5*k)).
%F a(n) = A001876(n) - A001877(n).
%o (PARI) my(N=110, x='x+O('x^N)); Vec(sum(k=1, N, x^k*(1-x^k)/(1-x^(5*k))))
%o (PARI) a(n) = sumdiv(n, d, (d%5==1)-(d%5==2));
%Y Cf. A002324, A048272, A373336.
%Y Cf. A001876, A001877.
%K sign,easy
%O 1,11
%A _Seiichi Manyama_, Jun 01 2024