login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A303157 Lexicographically earliest sequence of distinct terms such that the successive quantities of digits between two successive 2s are given by the succession of the sequence's digits itself. 9

%I #11 Apr 21 2018 06:21:35

%S 0,1,2,20,21,3,23,4,22,5,6,24,25,7,8,26,9,27,10,28,11,12,13,29,32,14,

%T 15,42,16,17,18,200,201,19,203,204,30,52,31,33,34,62,35,36,37,38,205,

%U 206,39,40,207,41,43,44,72,45,208,46,47,82,92,209,210,48,49,50,202,120,211,212,51,121

%N Lexicographically earliest sequence of distinct terms such that the successive quantities of digits between two successive 2s are given by the succession of the sequence's digits itself.

%C The sequence starts with a(1) = 0 and is always extended with the smallest integer not yet present that doesn't lead to a contradiction. This sequence is a permutation of the numbers >= 0.

%H Jean-Marc Falcoz, <a href="/A303157/b303157.txt">Table of n, a(n) for n = 1..1503</a>

%e There are:

%e 0 digit between the 2 of "2" and the 2 of "20";

%e 1 digit between the 2 of "20" and the 2 of "21";

%e 2 digits between the 2 of "21" and the 2 of "23";

%e 2 digits between the 2 of "23" and the first 2 of "22";

%e 0 digit between the 2s of "22";

%e 2 digits between the last 2 of "22" and the 2 of "24";

%e 1 digit between the 2 of "24" and the 2 of "25";

%e 3 digits between the 2 of "25" and the 2 of "26";

%e 2 digits between the 2 of "26" and the 2 of "27";

%e 3 digits between the 2 of "27" and the 2 of "28";

%e 4 digits between the 2 of "28" and the 2 of "12";

%e 2 digits between the 2 of "12" and the 2 of "29";

%e etc.

%e We see that the first column here is the succession of the digits of the sequence, as well as the size of each chunk of digits between two successive 2s.

%Y Cf. A303151 for the same idea with 1s as chunk's separators, A303158 with 3s, A302943 with 4s, A303163 with 5s, A303164 with 6s, A303166 with 7s, A303167 with 8s and A303171 with 9s.

%K nonn,base

%O 1,3

%A _Eric Angelini_ and _Jean-Marc Falcoz_, Apr 19 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)