OFFSET
1,1
COMMENTS
Lexicographically earliest sequence starting with a(1) = 10.
LINKS
Éric Angelini and Giorgos Kalogeropoulos, The same sequence but differently, personal blog, Jan 24th 2024.
EXAMPLE
Adding 9 to 1 (the 1st digit of 10) gives 10
Adding 10 to 0 (the 2nd digit of 10) gives 10
Adding 11 to 1 (the 1st digit of 10) gives 12
Adding 12 to 0 (the 2nd digit of 10) gives 12
Adding 13 to 1 (the 1st digit of 12) gives 14
Adding 14 to 2 (the 2nd digit of 12) gives 16, etc.
We see that the last column above is the sequence T itself.
MATHEMATICA
a[1]=10; a[n_]:=a[n]=Flatten[IntegerDigits/@Array[a, n-1]][[n]]+8+n; Array[a, 100]
PROG
(Python)
from itertools import count, islice
def agen(): # generator of terms
an, digits = 10, [0]
for n in count(2):
yield an
an = n + 8 + digits.pop(0)
digits += list(map(int, str(an)))
print(list(islice(agen(), 79))) # Michael S. Branicky, Jan 27 2024
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Giorgos Kalogeropoulos, Jan 27 2024
STATUS
approved