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..1506
EXAMPLE
There are:
0 digit between the 5 of "5" and the 5 of "50";
1 digit between the 5 of "50" and the 5 of "51";
2 digits between the 5 of "51" and the 5 of "52";
3 digits between the 5 of "52" and the 5 of "53";
4 digits between the 5 of "53" and the 5 of "54";
5 digits between the 5 of "54" and the 5 of "56";
5 digits between the 5 of "56" and the first 5 of "55";
0 digit between the 5s of "5";
5 digits between the last 5 of "55" and the 5 of "15";
1 digit between the 5 of "15" and the 5 of "25";
6 digits between the 5 of "25" and the 5 of "57";
5 digits between the 5 of "57" and the 5 of "58";
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 5s.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Apr 19 2018
STATUS
approved