OFFSET
1,1
COMMENTS
If instead we start with 3, the sequence is the two-term sequence [3, 36].
The present sequence is finite, with last term a(199900) = 9999945.
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..20000
PROG
(Python)
from itertools import islice
def agen(start=4): # generator of terms
an, y = start, 1
while y < 10:
yield an
an, y = an + 10*(an%10), 1
while y < 10:
if str(an+y)[0] == str(y):
an += y
break
y += 1
print(list(islice(agen(), 50))) # Michael S. Branicky, Nov 18 2023
CROSSREFS
KEYWORD
nonn,base,fini
AUTHOR
N. J. A. Sloane, Nov 14 2023
STATUS
approved