Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to find the total number of bits set in the binary representation of all prime numbers up to n.

Run the code to see the output here...