login
Lexicographically earliest sequence of distinct positive terms such that a(n) is followed by the a(n)-th digit of the sequence.
2

%I #15 Dec 13 2020 16:29:22

%S 1,10,2,11,4,20,24,5,12,50,6,14,21,15,51,7,40,8,22,13,17,60,29,80,18,

%T 19,42,106,70,23,53,25,120,26,71,27,47,220,30,200,32,100,31,201,33,34,

%U 101,35,73,333,36,64,75,202,38,203,39,902,43,83,300,44,102,301,45,90,302,46,48,103,62,204,54,303,55

%N Lexicographically earliest sequence of distinct positive terms such that a(n) is followed by the a(n)-th digit of the sequence.

%H Carole Dubois, <a href="/A339206/b339206.txt">Table of n, a(n) for n = 1..1739</a>

%e a(1) = 1 is followed by the 1st digit of the sequence (indeed, this is the 1 of 1);

%e a(2) = 10 is followed by the 10th digit of the sequence (this is the 2 of 24);

%e a(3) = 2 is followed by the 2nd digit of the sequence (this is the 1 of 10);

%e a(4) = 11 is followed by the 11th digit of the sequence (this is the 4 of 24);

%e a(5) = 4 is followed by the 4th digit of the sequence (this is the 2 of 2); etc.

%Y Cf. A339317 (a variant of this sequence).

%K base,nonn

%O 1,2

%A _Eric Angelini_ and _Carole Dubois_, Nov 27 2020