OFFSET
1,3
COMMENTS
a(135) = a(134) + 10 = 821 is the first time 10 is added. - Michael S. Branicky, Oct 01 2024
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
PROG
(Python)
from itertools import islice
from collections import Counter
def agen(): # generator of terms
an, c = 0, Counter()
while True:
yield an
c.update(list(str(an)))
m, argm = float('inf'), None
for d in "1234567890":
if c[d] < m:
m, argm = c[d], d
an += 10 if argm == "0" else int(argm)
print(list(islice(agen(), 60))) # Michael S. Branicky, Oct 01 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini, May 07 2004
EXTENSIONS
Offset changed to 1 by Michael S. Branicky, Oct 01 2024
STATUS
approved