I understand that when we get past the decimal system then we can use letters to replace digits larger than 9. For example, in the Hexadecimal system, we use “a” to represent 10 ones, 10 sixteens, and so on…
What happens when we get past “z”? In other words how do we represent 36 of any place value in the base 37 system? Thanks for your help in advance.
-moejuck
“Religion is when God, like Elvis, has left the building.” Bono
The ASCII system could be used as a base 256 number system (and probably is in many programming applications). Of course 0-9 would not be represented by their decimal counterparts, but by their ASCII values (48-57).
FWIW, the standard Base64 encoding scheme uses 0-9, A-Z, a-z and = and + as the 64 symbols. Going beyond that, you could use Greek or Hebrew letters, make up symbols, or use combinations of symbols. (e.g., decree that every “digit” be made up of two symbols from a given set, thus increasing the available digits by a power of two.)
Hexadecimal only uses A-F for convenience, for that matter, decimal only uses 0-9 out of habit; they are just symbols - there would be nothing to stop you inventing your own set of 57 unique symbols in order to work in base 57.
Minor nitpick - = is the Base64 pad character, not a digit. 62 and 63 are represented with + and /. Gripe - they could have made better character choices. Given the purpose of Base64, one is likely to want to send Base64 strings in URL arguments, and the stupid + has to be escaped. / and = are also likely to need escaping in too many contexts.
Yes, but really that’s little different from binary-coded base 2[sup]n[sup]2[/sup][/sup]. You’re basically just using n[sup]2[/sup] binary digits to represent each digit in your base.