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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131762 Number of 1s in the 1's complement of 32-bit binary representation of the number. 0
31, 31, 30, 31, 30, 30, 29, 31, 30, 30, 29, 30, 29 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..13.

FORMULA

a(n) = 32 - (number of 1s in binary representation of n)

EXAMPLE

a(7) = 32 - (number of 1s in 00000000000000000000000000000111)= 32 - 3 = 29

CROSSREFS

Sequence in context: A023473 A298379 A299246 * A291477 A056999 A009734

Adjacent sequences:  A131759 A131760 A131761 * A131763 A131764 A131765

KEYWORD

nonn

AUTHOR

Rachit Agrawal (rachit_agrawal(AT)daiict.ac.in), Oct 23 2007

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 February 22 23:03 EST 2019. Contains 320411 sequences. (Running on oeis4.)