Write down the binary representation of n. Partition the string which is this binary representation by placing a '+' just left of every 1. Add the resulting base 2 numbers. a(n) = decimal equivalent of this sum.

A162439

Write down the binary representation of n. Partition the string which is this binary representation by placing a '+' just left of every 1. Add the resulting base 2 numbers. a(n) = decimal equivalent of this sum.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =4a(4) =3a(5) =3a(6) =3a(7) =8a(8) =5a(9) =4a(10) =4a(11) =5a(12) =4a(13) =4a(14) =4a(15) =16a(16) =9a(17) =6a(18) =6a(19) =6a(20) =5a(21) =5a(22) =5a(23) =9a(24) =6a(25) =5a(26) =5a(27) =6a(28) =5a(29) =5

External references