OFFSET
1,4
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum_{d|n, n/d==2 (mod 3)} d.
G.f.: Sum_{k>0} x^(3*k-1) / (1 - x^(3*k-1))^2. - Seiichi Manyama, Jun 29 2023
MATHEMATICA
nmax = 80; CoefficientList[Series[Sum[k x^(2 k)/(1 - x^(3 k)), {k, 1, nmax}], {x, 0, nmax}], x] // Rest
Table[DivisorSum[n, # &, MemberQ[{2}, Mod[n/#, 3]] &], {n, 1, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 11 2019
STATUS
approved