Start with 0 and decide that each digit d of the sequence means that the next integer cannot be of length d. To build the sequence take the smallest available integer not yet in the sequence.

A101807

Start with 0 and decide that each digit d of the sequence means that the next integer cannot be of length d. To build the sequence take the smallest available integer not yet in the sequence.

Terms

    a(0) =0a(1) =1a(2) =10a(3) =11a(4) =2a(5) =12a(6) =13a(7) =3a(8) =14a(9) =4a(10) =15a(11) =5a(12) =6a(13) =16a(14) =7a(15) =8a(16) =17a(17) =9a(18) =18a(19) =19a(20) =20a(21) =21a(22) =22a(23) =23a(24) =24a(25) =25a(26) =26a(27) =27a(28) =28a(29) =29

External references