Number systems past base 36?

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

Well, we have upper and lower case letters, plus a handful of symbols. This is just what is done in some base-64 encoding schemes.

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.)

You can just use decimal numbers separated by dots. That’s how you represent IP addresses: 210.102.98.2

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.

The Mesopotamians used a sexagesimal system with (you guessed it) sixty different cuneiform symbols.

Ketchup pickles dill-pickles, butter-pickles ketchup ketchup.

Trinopus

You can use an n x n grid of dots, with each dot either black or white, to represent numbers in base 2[sup]n[sup]2[/sup][/sup].

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.

The two systems are isomorphic. It’s just a bit easier to visualize dots in a grid and to grasp each combination as a unique symbol.

:smack:

My bad. Where I work we actually use Base64 in URLs a lot, but we replace + and / with [ and ], which do not need to be escaped.