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).
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
Examples
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.
Links
- Carole Dubois, Table of n, a(n) for n = 1..8975
Crossrefs
Cf. A323708.