Topic: Bit Manipulation Problem / Level: intermediate

Problem: Create a function that counts how many binary representations can be formed by permuting the bits of a number.

Run the code to see the output here...