Binary is a base 2 number system which computers use for their calculations, including routing. Computers 'think' in binary. Memorizing or being able to quickly calculate the powers of 2 is immensely helpful in being able to subnet quickly. This will save precious time on exams such as the CCNA and also prove valuable in the real world. The formula for how many valid hosts there are is always going to be 2h-2.