# Multi-Base Counting Program

Recently I wrote a program that can count in any base from 2 to 74. Essentially, a base is the number of different symbols or digits used for one place value (before moving to the next place). Humans most often use base 10, meaning that we count from 0 to 9 in the first place value, then that place resets to 0 and the next place increases by 1 (from, say, 29 to 30 – the nine in the ones place goes back to 0, and the 2 in the tens place changes to a 3). Computers use base 2, or binary, which uses only 2 digits – 0 and 1. After changing from 0 to 1, a digit can only go back to zero – and change the next place over. The number of possible numbers that can be represented with a given number of digits grows exponentially with the number of symbols used in each place raised to the power of the number of digits (for example, 2 possible values4 digits long=16 possible numbers that can be represented, expressed in base 10). The program first uses the 10 regular digits, then the capital letters, the lowercase letters, and finally other symbols found on your keyboard as the 74 possible characters used in counting (if you choose base 74). If you want to, you can try the program out, or look at the code. When you start the program it will ask you for a base (try 2 for binary or 16 for hexadecimal), a number of digits to display – after it uses all of these it will reset (50 – 100 should work well), and a time delay between numbers (in seconds). I hope my explanation made sense to you, and that you find it interesting. Thanks for reading!