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

A363902
Expansion of Sum_{k>0} x^(2*k) / (1 - x^(3*k))^2.
3
0, 1, 0, 1, 2, 1, 0, 4, 0, 3, 4, 1, 0, 6, 2, 4, 6, 1, 0, 10, 0, 5, 8, 4, 2, 10, 0, 6, 10, 3, 0, 15, 4, 7, 14, 1, 0, 14, 0, 13, 14, 6, 0, 20, 2, 9, 16, 4, 0, 20, 6, 10, 18, 1, 6, 28, 0, 11, 20, 10, 0, 22, 0, 15, 24, 5, 0, 30, 8, 20, 24, 4, 0, 26, 2, 14, 30, 10, 0, 40, 0, 15, 28, 6, 8
OFFSET
1,5
LINKS
FORMULA
a(n) = (1/3) * Sum_{d|n, d==2 mod 3} (d+1) = (A001822(n) + A078182(n))/3.
G.f.: Sum_{k>0} k * x^(3*k-1) / (1 - x^(3*k-1)).
MATHEMATICA
a[n_] := DivisorSum[n, # + 1 &, Mod[#, 3] == 2 &]/3; Array[a, 100] (* Amiram Eldar, Jun 27 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (d%3==2)*(d+1))/3;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 27 2023
STATUS
approved