Sum of the largest and smallest number having in binary representation the same number of 0's and 1's as n.

A073140

Sum of the largest and smallest number having in binary representation the same number of 0's and 1's as n.

Terms

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

External references