Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function that finds the total number of set bits in the binary representation of all odd integers from 1 to n.

Run the code to see the output here...