Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that counts how many numbers from 1 to n have an even number of bits set in their binary representation.

Run the code to see the output here...