OFFSET
1,6
COMMENTS
Sum of powers of 6 dividing n.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
G.f.: Sum_{k>=0} 6^k * x^(6^k) / (1 - x^(6^k)).
L.g.f.: -log(Product_{k>=0} (1 - x^(6^k))).
Dirichlet g.f.: zeta(s) / (1 - 6^(1 - s)).
MATHEMATICA
Table[(6^(IntegerExponent[n, 6] + 1) - 1)/5, {n, 1, 100}]
nmax = 100; CoefficientList[Series[Sum[6^k x^(6^k)/(1 - x^(6^k)), {k, 0, Floor[Log[6, nmax]] + 1}], {x, 0, nmax}], x] // Rest
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 15 2020
STATUS
approved