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.
0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 15, 16, 17, 18, 19, 20, 21, 23, 26, 27, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 47, 50, 51, 52, 53, 55, 58, 59, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 79, 80, 81, 82, 83, 84, 85, 87, 90, 91, 95, 98, 99, 100, 101, 103, 104, 105
Offset: 0
Keywords
Crossrefs
Cf. A007088.
Comments