a(n) = Sum_{k=1..n} 2^b(k) where b(k) denotes the number of 1's in the binary representation of k.
A074330
a(n) = Sum_{k=1..n} 2^b(k) where b(k) denotes the number of 1's in the binary representation of k.
Terms
- a(0) =2a(1) =4a(2) =8a(3) =10a(4) =14a(5) =18a(6) =26a(7) =28a(8) =32a(9) =36a(10) =44a(11) =48a(12) =56a(13) =64a(14) =80a(15) =82a(16) =86a(17) =90a(18) =98a(19) =102a(20) =110a(21) =118a(22) =134a(23) =138a(24) =146a(25) =154a(26) =170a(27) =178a(28) =194a(29) =210
External references
- oeis: A074330