A positive integer n is included if the longest contiguous run of similar digits in binary n is of 1's.

A166111

A positive integer n is included if the longest contiguous run of similar digits in binary n is of 1's.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =5a(4) =6a(5) =7a(6) =10a(7) =11a(8) =12a(9) =13a(10) =14a(11) =15a(12) =19a(13) =21a(14) =22a(15) =23a(16) =25a(17) =26a(18) =27a(19) =28a(20) =29a(21) =30a(22) =31a(23) =38a(24) =39a(25) =42a(26) =43a(27) =44a(28) =45a(29) =46

External references