i've been imagining that in the base 16 the number 10 is A and 11 is B so in the base 37, 35 will be Z so how we can write 36 ?
-
4Presumably you'd have to invent a new symbol for it (or start, e.g., using lowercase letters as distinct from uppercase letters). – Gregory J. Puleo Dec 26 '20 at 16:39
-
I guess you just have to make a choice. – drhab Dec 26 '20 at 16:39
-
@GregoryJ.Puleo so i can write $\alpha$ instead of A – Colton Walker Dec 26 '20 at 16:40
-
upvote for fun question. – Dec 26 '20 at 16:50
-
Octothorpe, obviously! – Daniel R Hicks Dec 27 '20 at 02:23
5 Answers
You could use a different symbol. Or you could use commas to separate place values in this base. Something like $5,22,36$ could represent the three-digit base thirty-seven numeral whose value in decimal would be $5\cdot 37^2+22\cdot 37 +36$.
- 40,402
-
1I like this. I have seen it with spaces rather than commas, but some separator showing what constitutes a "digit" is a good idea. I hope it gets you a hat. – Ross Millikan Dec 26 '20 at 16:46
-
1@RossMillikan Colons are also common, as in the mixed-base system we use to count time. – Hearth Dec 27 '20 at 01:42
As the comments have said, you have to define a symbol for it. Going to lower case letters is one possibility. A more general approach is to use two decimal digits for each base $37$ digit so your base $37$ digits range from $00$ through $36$. This has the advantage of being extendable to any base.
- 374,822
-
-
-
@DonThousand: using commas as paw88789 suggested may improve the situation. Spaces between the pairs making one digit are another, which I think I have seen. – Ross Millikan Dec 26 '20 at 16:43
-
1@Joe: Inventing new symbols just postpones the problem and many of us do not know the order of letters in the Greek alphabet, but it will work for a while. – Ross Millikan Dec 26 '20 at 16:44
-
1It's the only thing I remember from high school Greek, the order of the alphabet and the wrong way of pronouncing all the letters. If my Greek wife is in the room I watch my $\tau s$-tavs and my $\beta s$ -vitas – Dec 26 '20 at 16:49
-
Wolfram products appear to use colons instead of commas for separating digits. – Parcly Taxel Dec 26 '20 at 16:57
According to wikipedia and wikiwand this is called Heptatrigesimal, it uses all numbers $0-9$ and all letters of the Spanish alphabet. So people have apparently already thought about this. Here you can also find other clever solutions for all sorts of numeral systems.
This seems to be postponing the problem till we run out of letters so I definitely prefer the other options listed by the others. Though it is fun to find out that other people have at least been naming these systems and enumerating them.
-
1arf, it will be be tough to start using chinese characters or hieroglyhs for larger bases... – zwim Mar 23 '21 at 15:49
You could represent 36 in base 37 by (36). That could stand for a symbol that means 36. Or if you want to indicate the base with a subscript: $(36)_{37}$. This could be used with all bases no matter how big.
Or you could use an actual (Unicode) symbol that is '36' inside a circle, or inside a square, or rectangle or something like that. Or a tiny '36'. Thus you have an actual symbol (numeral) that means 36 that is 'transparent', by which I mean that what it stands for is obvious from the appearance.
This approach could be good when you want the layperson or absolute beginner to be able to read the numbers. Also if you are experimenting with other bases, or using a very large base.
You can use underscore _ as symbol nr 36 (as the last symbol in your alphabet).
Then you can have nice looking test IDs, if you have unit tests or end-to-end tests, e.g.:
123abczxy_for_widget_a
456uvwxyz_user_b23
456uvwxyz_user_b23_copy
So, your 37 symbols could be: 0...9abc...xyz_.
- 101