

A278938


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


1



0, 1, 2, 20, 21, 3, 23, 4, 5, 24, 6, 7, 8, 25, 9, 10, 12, 11, 13, 14, 26, 15, 16, 17, 27, 18, 19, 30, 32, 31, 33, 34, 35, 42, 36, 37, 38, 39, 40, 28, 41, 43, 44, 45, 46, 29, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 62, 59, 60, 61, 63, 64, 65, 66, 200, 67, 68, 69, 70, 71, 73, 72, 74, 75, 76, 77, 78, 79, 80, 81, 201, 83, 84, 85, 86, 87, 88, 89, 82, 90, 91, 93, 94, 95, 96, 97, 98, 99, 203, 100, 101, 103, 104, 105, 102, 106, 107, 108, 109
(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..1054


EXAMPLE

There are 0 digit between "2" and "20"; there is 1 digit between the “2” of "20" and the "2" of "21" (this is the "0" of "20"); there are 2 digits between the "2" of "21" and the "2" of "23" (they are the "1" of "21" and the "3" of "3"); there are 3 digits between the "2" of "23" and the "2" of "24" (they are the "3" of "23", the "4" of "4" and the "5" of "5"); etc.


CROSSREFS

Sequence in context: A261753 A075031 A273466 * A303157 A338994 A217394
Adjacent sequences: A278935 A278936 A278937 * A278939 A278940 A278941


KEYWORD

nonn,base


AUTHOR

Eric Angelini and JeanMarc Falcoz, Dec 02 2016


STATUS

approved



