login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107782 In binary representation of n: (number of zeros) minus (number of blocks of contiguous zeros). 4
0, 0, 0, 0, 1, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 3, 2, 1, 1, 1, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 4, 3, 2, 2, 2, 1, 1, 1, 2, 1, 0, 0, 1, 0, 0, 0, 3, 2, 1, 1, 1, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 5, 4, 3, 3, 3, 2, 2, 2, 3, 2, 1, 1, 2, 1, 1, 1, 3, 2, 1, 1, 1, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 4, 3, 2, 2, 2, 1, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
COMMENTS
a(n) = A023416(n) - A087116(n); a(A003754(n)) = 0.
LINKS
PROG
(Haskell)
a107782 n = a023416 n - a087116 n -- Reinhard Zumkeller, Mar 31 2015
CROSSREFS
Cf. A056973. - R. J. Mathar, Aug 24 2008
Sequence in context: A324192 A108730 A056973 * A368413 A086017 A350532
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 25 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 12:47 EDT 2024. Contains 372387 sequences. (Running on oeis4.)