Find number of bits to store an integer, and its binary representation | Hacker News Reader