Number of digits 1 in all hyperbinary representations of n. A hyperbinary representation of a nonnegative integer n is a representation of n as a sum of powers of 2, each power being used at most twice.

A125186

Number of digits 1 in all hyperbinary representations of n. A hyperbinary representation of a nonnegative integer n is a representation of n as a sum of powers of 2, each power being used at most twice.

Terms

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

External references