login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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.

LINKS

Table of n, a(n) for n=0..70.

Index entries for sequences related to binary expansion of n

CROSSREFS

Cf. A007088.

Sequence in context: A032853 A023748 A324845 * A004743 A333764 A333943

Adjacent sequences:  A107683 A107684 A107685 * A107687 A107688 A107689

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, May 20 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 02:40 EDT 2020. Contains 334647 sequences. (Running on oeis4.)