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..2202
EXAMPLE
There are:
0 digit between the 1 of "1" and the 1 of "10";
1 digit between the 1 of "10" and the 1 of "12";
1 digit between the 1 of "12" and the first 1 of "11";
0 digit between the two 1s of "11";
1 digit between the last 1 of "11" and the 1 of "13";
2 digits between the 1 of "13" and the 1 of "14";
1 digit between the 1 of "14" and the 1 of "15";
1 digit between the 1 of "15" and the 1 of "16";
2 digits between the 1 of "16" and the 1 of "17";
1 digit between the 1 of "17" and the 1 of "18";
3 digits between the 1 of "18" and the 1 of "19";
3 digits between the 1 of "19" and the first 1 of "101";
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 1s.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Apr 19 2018
STATUS
approved