Open simon-tiger opened 5 years ago
We're at Coding Challenge 137. Soon, we'll get to Coding Challenge 144, which is 100 in the dozenal system! Maybe some base 12 coding challenges?
Instead of the traditional 10 base 10 digits:
0 1 2 3 4 5 6 7 8 9
We have 2 more for 12 digits in base 12:
0 1 2 3 4 5 6 7 8 9 ↊ ↋
Or the 'Dozenal Society of America' (there is one) uses:
0 1 2 3 4 5 6 7 8 9 X E
Or basic versions use A and B or T for Ten and E for Eleven or X and Z. Some people use 'sextiles' ⚹ for ten and # for eleven, and so on.
So you start by using the twelve 'dogits' (I don't know if this is the actual name):
0 0 1 1 2 2 . . . . . . 9 9 10 ↊ 11 ↋
To see what comes next, what comes next in base 10. Every time we run out of digits, we carry over one. Same in base 12:
12 10 13 11 14 12 . . . . . . 23 1↋ 24 20 25 21
12 10 24 20 36 30 48 40 60 50 72 60 84 70 96 80 108 90 120 ↊0 132 ↋0
144 100 145 101 146 102 . . . . . . 155 10↋ 156 110 157 111 . . . . . . 164 120
For floating-point numbers, 'Humphrey points' (semicolons) are used instead of decimal points.
Anybody is welcome to submit other base 12 suggestions in the comments to this issue!
Oh, and I've also found this video now: https://www.youtube.com/watch?v=y_QBDrBlbds
Happy Coding Challenge 100 (in Base 12!)
We're at Coding Challenge 137. Soon, we'll get to Coding Challenge 144, which is 100 in the dozenal system! Maybe some base 12 coding challenges?
Base 12 (or dozenal)
Instead of the traditional 10 base 10 digits:
We have 2 more for 12 digits in base 12:
Or the 'Dozenal Society of America' (there is one) uses:
Or basic versions use A and B or T for Ten and E for Eleven or X and Z. Some people use 'sextiles' ⚹ for ten and # for eleven, and so on.
Counting in dozenal
So you start by using the twelve 'dogits' (I don't know if this is the actual name):
To see what comes next, what comes next in base 10. Every time we run out of digits, we carry over one. Same in base 12:
Here are all multiples of twelve:
'Three-dogit' numbers:
For floating-point numbers, 'Humphrey points' (semicolons) are used instead of decimal points.
Links
Suggestions
Anybody is welcome to submit other base 12 suggestions in the comments to this issue!