OFFSET
1,2
COMMENTS
The integer embedding the substring k might not be the closest one to a(n). Example is given by a(14) = 8 = k. We see that a(8), stepping (to the right) over 8 commas, meets a(22) = 28, which is correct. But a(21) = 18 embeds also the substring 8. We don't mind that.
LINKS
Carole Dubois, Table of n, a(n) for n = 1..5000
EXAMPLE
a(1) = 1 steps over 1 comma and finds a(2) = 10 which embeds the substring 1;
a(2) = 10 steps over 10 commas and finds a(12) = 100 which embeds the substring 10;
a(3) = 2 steps over 2 commas and finds a(5) = 12 which embeds the substring 2;
a(4) = 3 steps over 3 commas and finds a(7) = 13 which embeds the substring 3; etc.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Mar 23 2020
STATUS
approved