OFFSET
0,122
COMMENTS
a(n) = 21846 for n >= 12345678987654321.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..20000
FORMULA
a(n) = Sum_{k=0..n} A178333(k).
PROG
(Python)
from itertools import count, islice
def agen(): # generator of terms; uses code in A134941
c = i = 0
for j in count(0):
if j == A134941_full[i]: i, c = i+1, c+1
yield c
print(list(islice(agen(), 122))) # Michael S. Branicky, Jan 09 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 25 2010
STATUS
approved