9
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 04 Nov 2023
9 points (100.0% liked)
A place for everything about math
887 readers
2 users here now
founded 5 years ago
MODERATORS
Quartenary is kinda like how our DNA works I guess.
4 is a square number and highly composite (although it's right smack dab at the start of the number line so perhaps it's not that surprising).
Apparently quarternary has some uses in Hilbert curves, although how I dunno.
Perhaps the world they're from has 3 moons? New moons being 0.
Well this civilisation was from Earth, just not somewhere that exists any more. Like Atlantis. So that probably rules the moon theory out. And I don't even vaguely understand the rest of what you said haha.
Highly composite numbers are useful cause they have a lot of factors! That's why the Babylonians and us use 60 for minutes and seconds. It makes dividing really simple, how much is 2/5 of 60? Why it's 24 (no fractions) etc. Being a square number is just interesting. I bet quarternary would have funky repetitive fractions. Hilbert curves are just some space filling fractal thing, apparently they use quarternary at some point in analyzing or generating them.
I'm still struggling to convert base 4 and decimal in my head, so I might just stay in my lane and take it slow ๐คฏ
Here's how you can do it while only ever dividing or multiplying by two.
Decimal to quaternary
This is a cycle of looking at remainders from dividing by two, with the first one an odd-even determinant, and the second a big-little determinant for each quaternary digit. You make numbers even before dividing by two, so there are never fractions to consider.
Example
Decimal number is 57~10~.
Next round:โ
Final digit:โ
That process gives 57~10~ = 321~4~; that is, 3 sixteens, 2 fours and 1.
Quaternary to decimal
Here you only need to add a small number and then double twice with each digit.
Example
Quaternary number is 321~4~.
Next round:โ
Final digit:โ
So 321~4~ = 57~10~.