login
A373216
Expansion of Sum_{k>=0} x^(6^k) / (1 - x^(6^k)).
6
1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3
OFFSET
1,6
LINKS
FORMULA
G.f. A(x) satisfies A(x) = x/(1 - x) + A(x^6).
a(6*n+1) = a(6*n+2) = ... = (6*n+5) = 1 and a(6*n+6) = 1 + a(n+1) for n >= 0.
a(n) = A122841(n) + 1.
PROG
(PARI) a(n) = valuation(n, 6)+1;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 28 2024
STATUS
approved