login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A341692
Lexicographically earliest sequence of distinct terms > 0 such that the n-th digit of the sequence is shared by a(n) and a(n+1).
2
1, 10, 100, 101, 102, 20, 103, 104, 105, 11, 106, 120, 2, 200, 107, 108, 30, 13, 109, 40, 14, 110, 50, 15, 12, 16, 130, 60, 61, 21, 201, 202, 22, 203, 70, 140, 150, 170, 17, 160, 80, 38, 230, 180, 31, 113, 190, 90, 49, 204, 210, 41, 114, 18, 301, 205, 250, 310
OFFSET
1,2
LINKS
EXAMPLE
a(2) = 10 since 10 is the smallest positive number not yet in the sequence that shares the 2nd digit of the sequence (i.e., 1) with a(3) = 100;
a(6) = 20 since 20 is the smallest positive number not yet in the sequence that shares the 6th digit of the sequence (i.e., 0) with a(7) = 103. Etc.
CROSSREFS
Cf. A323708.
Sequence in context: A268449 A289826 A309390 * A323708 A293870 A305701
KEYWORD
base,nonn,look
AUTHOR
Eric Angelini and Carole Dubois, Feb 17 2021
STATUS
approved