OFFSET
1,3
COMMENTS
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.
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..1503
EXAMPLE
There are:
0 digit between the 2 of "2" and the 2 of "20";
1 digit between the 2 of "20" and the 2 of "21";
2 digits between the 2 of "21" and the 2 of "23";
2 digits between the 2 of "23" and the first 2 of "22";
0 digit between the 2s of "22";
2 digits between the last 2 of "22" and the 2 of "24";
1 digit between the 2 of "24" and the 2 of "25";
3 digits between the 2 of "25" and the 2 of "26";
2 digits between the 2 of "26" and the 2 of "27";
3 digits between the 2 of "27" and the 2 of "28";
4 digits between the 2 of "28" and the 2 of "12";
2 digits between the 2 of "12" and the 2 of "29";
etc.
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.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Apr 19 2018
STATUS
approved