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”).

A339317
Lexicographically earliest sequence of distinct positive terms such that a(n) is preceded by the a(n)-th digit of the sequence, for n > 1.
2
1, 3, 10, 4, 5, 6, 7, 8, 30, 11, 12, 15, 17, 19, 21, 13, 2, 22, 28, 9, 31, 14, 35, 37, 39, 41, 16, 45, 47, 49, 51, 18, 55, 52, 26, 61, 20, 65, 56, 62, 27, 73, 25, 57, 74, 42, 29, 85, 58, 86, 66, 69, 95, 67, 79, 96, 70, 105, 68, 89, 101, 23, 32, 59, 102, 60, 107, 80, 114, 46, 91, 24, 48, 90, 123, 36, 92, 64, 50
OFFSET
1,2
COMMENTS
This sequence is a permutation of the numbers > 0.
LINKS
EXAMPLE
a(1) = 1
a(2) = 3 is preceded by the 3rd digit of the sequence (this is the 1 of 10);
a(3) = 10 is preceded by the 10th digit of the sequence (this is the 3 of 30);
a(4) = 4 is preceded by the 4th digit of the sequence (this is the 0 of 10);
a(5) = 5 is preceded by the 5th digit of the sequence (this is the 4 of 4);
...
a(9) = 30 because this is the smallest integer not leading to a contradiction [it must start with a 3 because of a(3) fixing the 10th digit of the sequence]; etc.
CROSSREFS
Cf. A339206 (a variant of this sequence).
Sequence in context: A338683 A361943 A320583 * A131814 A003620 A235923
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Nov 30 2020
STATUS
approved