OFFSET
1,6
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
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