If n=0 then 0 else smallest number greater than its predecessor and having in binary representation less zeros or more blocks of contiguous zeros.
A107686
If n=0 then 0 else smallest number greater than its predecessor and having in binary representation less zeros or more blocks of contiguous zeros.
Terms
- a(0) =0a(1) =1a(2) =2a(3) =3a(4) =4a(5) =5a(6) =7a(7) =8a(8) =9a(9) =10a(10) =11a(11) =15a(12) =16a(13) =17a(14) =18a(15) =19a(16) =20a(17) =21a(18) =23a(19) =26a(20) =27a(21) =31a(22) =32a(23) =33a(24) =34a(25) =35a(26) =36a(27) =37a(28) =39a(29) =40
External references
- oeis: A107686