Topic: Bit Manipulation Problem / Level: beginner

Problem: Write a function to find the total number of bits set in the binary representation of all odd integers up to n.

Run the code to see the output here...