login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107750 If n=0 then 0 else smallest number greater than its predecessor and having either more or fewer zeros in its binary representation. 2
0, 1, 2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 29, 31, 32, 33, 35, 36, 37, 39, 40, 41, 43, 44, 45, 47, 48, 49, 51, 52, 53, 55, 56, 57, 59, 60, 61, 63, 64, 65, 67, 68, 69, 71, 72, 73, 75, 76, 77, 79, 80, 81, 83, 84, 85, 87, 88, 89, 91, 92, 93 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

A023416(a(n+1)) <> A023416(a(n));

complement of A016825; A107751(n) = a(n+1) - a(n);

for k >= 0, 0 <= i <= 3*2^k:

a(6*2^k + i) = a(3*2^k + i) + 4*2^k,

a(9*2^k + i) = a(3*2^k + i) + 8*2^k.

LINKS

Index entries for sequences related to binary expansion of n

CROSSREFS

Cf. A107686, A007088.

Sequence in context: A050746 A039117 A187681 * A196736 A130091 A119848

Adjacent sequences:  A107747 A107748 A107749 * A107751 A107752 A107753

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), May 23 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 11:25 EST 2012. Contains 205777 sequences.