login
A278861
Start with a(1)=0; thereafter, between two successive digits "3" there are 0, then 1, then 2, then 3, ... other digits.
1
0, 1, 2, 3, 30, 31, 4, 32, 5, 6, 34, 7, 8, 9, 35, 10, 11, 36, 12, 14, 13, 15, 16, 17, 23, 18, 19, 20, 21, 37, 22, 24, 25, 26, 38, 27, 28, 29, 40, 43, 41, 42, 44, 45, 46, 53, 47, 48, 49, 50, 51, 52, 39, 54, 55, 56, 57, 58, 59, 300, 60, 61, 62, 64, 65, 66, 301, 67, 68, 69, 70, 71, 72, 63, 74, 75, 76, 77, 78, 79, 80, 81, 302, 82, 84, 85, 86, 87, 88, 89, 73, 90, 91, 92, 94, 95, 96, 97, 98, 99, 304, 100, 101, 102, 104, 105, 103, 106, 107, 108
OFFSET
1,3
COMMENTS
The sequence starts with a(1) = 0 and is always extended with the smallest integer not yet present that does not lead to a contradiction.
LINKS
EXAMPLE
There are 0 digit between "3" and "30"; there is 1 digit between the "3" of "30" and the "3" of "31" (this is the "0" of "30"); there are 2 digits between the "3" of "31" and the "3" of "32" (they are the "1" of "31" and "4" of "4"); there are 3 digits between the "3" of "32" and the "3" of "34" (they are the "2" of "32", the "5" of "5" and the "6" of "6"); etc.
CROSSREFS
Sequence in context: A210417 A278048 A273467 * A303158 A024631 A032814
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Recalculation of the sequence by Jean-Marc Falcoz following the (sound) remark by Charles R Greathouse IV
STATUS
approved