

A278856


Between two successive digits "1" there are 0, then 1, then 2, then 3, ... other digits.


1



0, 1, 10, 12, 2, 13, 3, 4, 14, 5, 6, 7, 15, 8, 9, 20, 16, 22, 23, 21, 24, 25, 26, 31, 27, 28, 29, 30, 17, 32, 33, 34, 35, 18, 36, 37, 38, 39, 41, 40, 42, 43, 44, 45, 51, 46, 47, 48, 49, 50, 52, 19, 53, 54, 55, 56, 57, 58, 100, 59, 60, 62, 63, 64, 65, 102, 66, 67, 68, 69, 70, 72, 61, 73, 74
(list;
graph;
refs;
listen;
history;
text;
internal format)



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

JeanMarc Falcoz, Table of n, a(n) for n = 1..1053


EXAMPLE

There are 0 digit between "1" and "10"; there is 1 digit between the "1" of "10" and the "1" of "12" (this is the "0" of "10"); there are 2 digits between the "1" of "12" and the "1" of "13" (they are the "2" of "12" and the "2" of "2"); there are 3 digits between the "1" of "13" and the "1" of "14" (they are the "3" of "13", the "3" of "3" and the "4" of "4"); etc.


CROSSREFS

Sequence in context: A064795 A273463 A283430 * A316914 A342356 A338290
Adjacent sequences: A278853 A278854 A278855 * A278857 A278858 A278859


KEYWORD

nonn,base


AUTHOR

Eric Angelini and JeanMarc Falcoz, Nov 29 2016


STATUS

approved



