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 given number.

Run the code to see the output here...