Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program that counts how many binary numbers can be formed with an odd number of trailing bits set to 1.

Run the code to see the output here...