Problem 762 · Easy

Prime Number of Set Bits in Binary Representation

Count the 1 bits of each number in a range and test whether that count is prime.

Open the interactive visualisation