1,1

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

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

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

Sequence in context: A023473 A298379 A299246 * A291477 A056999 A009734

Adjacent sequences: A131759 A131760 A131761 * A131763 A131764 A131765

nonn

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

approved