Regardless of what base you’re using, 10 is always the nth number. In base 10 (normal numbers), 10 is 10th. In base 2 it is the 2nd.
1
10
11
In base 16 (hexadecimal) it is the 16th.
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
The original joke is “there are 10 kinds of people, those who understand binary and those who don’t l” because 10 in binary is 2 in base 10. But they’re pointing out that a similar joke works for all bases of numbers.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
Regardless of what base you’re using, 10 is always the nth number. In base 10 (normal numbers), 10 is 10th. In base 2 it is the 2nd.
In base 16 (hexadecimal) it is the 16th.
The original joke is “there are 10 kinds of people, those who understand binary and those who don’t l” because 10 in binary is 2 in base 10. But they’re pointing out that a similar joke works for all bases of numbers.
I love that you felt like this needed explaining - thanks!
Some of us would argue 10 is the n+1 th number because zero comes first. Otherwise you’re just throwing a new digit into the mix when you get to 10.
Zero comes zeroth.