OFFSET
1,2
COMMENTS
This is the lexicographically earliest sequence of distinct positive terms with this property.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
EXAMPLE
The values of a(n) + 11 begin:
1 + 11 = 12,
2 + 11 = 13,
13 + 11 = 24,
24 + 11 = 35,
3 + 11 = 14,
5 + 11 = 16,
14 + 11 = 25, etc.
We see that the succession of digits in the first column is the same as the succession of digits in the last column.
PROG
(Python)
from itertools import islice
def agen(): # generator of terms
aset, an, s = {"1"}, 2, "2"
yield 1
while True:
i = next(i for i in range(1, len(s)+1) if s[:i] not in aset and (i == len(s) or s[i] != "0"))
an = int(str(s[:i]))
s = s[i:] + str(an+11)
aset.add(str(an))
yield an
print(list(islice(agen(), 65))) # Michael S. Branicky, Apr 28 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini, Apr 20 2023
EXTENSIONS
a(30) and beyond from Michael S. Branicky, Apr 28 2023
STATUS
approved