The normal Base 10 system we use was invented in the 5th century. It has 10 digits.
I suspect the other notation you refer to such as r=y, is Base 36, invented more recently. It seems to use lower case alpha, so 26 characters, plus the 10 digits = 36.