login
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.
4
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,3
COMMENTS
A023416(a(n+1)) < A023416(a(n)) or A087116(a(n+1))>A087116(a(n));
complement of A107687; A107688(n) = a(n+1) - a(n);
A107684 is a subsequence.
CROSSREFS
Cf. A007088.
Sequence in context: A032853 A023748 A324845 * A004743 A374744 A333764
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 20 2005
STATUS
approved