login
A303167
Lexicographically earliest sequence of distinct terms such that the successive quantities of digits between two successive 8's are given by the succession of the sequence's digits itself.
9
0, 1, 2, 3, 4, 5, 6, 7, 8, 80, 81, 9, 82, 10, 83, 11, 18, 12, 13, 28, 14, 15, 16, 84, 17, 19, 20, 85, 21, 22, 23, 38, 24, 25, 26, 27, 88, 29, 30, 31, 32, 86, 87, 33, 34, 35, 36, 89, 37, 39, 40, 48, 41, 808, 800, 42, 43, 44, 801, 58, 68, 78, 98, 45, 46, 47, 49, 818, 50, 828, 51, 180, 181, 52, 53
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
EXAMPLE
There are:
0 digit between the 8 of "8" and the 8 of "80";
1 digit between the 8 of "80" and the 8 of "81";
2 digits between the 8 of "81" and the 8 of "82";
3 digits between the 8 of "82" and the 8 of "83";
4 digits between the 8 of "83" and the 8 of "18";
5 digits between the 8 of "18" and the 8 of "28";
6 digits between the 8 of "28" and the 8 of "84";
7 digits between the 8 of "84" and the 8 of "85";
8 digits between the 8 of "85" and the 8 of "38";
8 digits between the 8 of "38" and the first 8 of "88";
0 digit between the 8's of "88";
8 digits between the last 8 of "88" and the 8 of "86";
1 digit between the 8 of "86" and the 8 of "87";
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 8's.
CROSSREFS
Cf. A303151 for the same idea with 1's as chunk's separators, A303157 with 2's, A303158 with 3's, A302943 with 4's, A303163 with 5's, A303164 with 6's, A303166 with 7's and A303171 with 9's.
Sequence in context: A250264 A273476 A278943 * A024656 A186442 A043313
KEYWORD
nonn,base
AUTHOR
STATUS
approved