It’s tempting to call numbers like or or “decimals”. But decimals only exist in base 10. What we have here are heptadecimals.
For the record, the base-agnostic way of referring to that little dot between the integer part and the fractional part of a number is to call it a radix point.
weka li weka!
—some kind of meme
Remember: Negative digits are negative. If the next significant digit after the radix point is negative, then the integer part is actually one less than it appears to be. The number is less than one.
[Edited on 2024/08/12] Kind of embarrassing how amazed past-me was by Midy’s theorem, which isn’t even something new. In my defense, it’s not actually super obvious until you derive for yourself the fractions of the balanced form of an obnoxiously large prime-number base.
Halves
Here, the “” means that the pattern continues forever to the right. Which means…
That’s right, there are two ways to write the number one-half; a zero followed by infinitely many eights after the radix point, AND a 1 followed by infinitely many negative-eights after the radix point. They’re the same number!
In fact, any time you see a heptadecimal that ends in infinitely many eights, you can replace those eights with negative-eights and add one to the position immediately to the left of where the eights started, and you’ll get the same number. is the same number as , and is the same number as `
If you’re a p-adic liker, try to figure out what and could possibly mean.
Fourths
This is a sub-heading under “halves” because fourths are just halves of halves.
Seeing these representations hopefully makes it a little clearer why can be represented as both and .
Eighths
Sixteenths
Remember, the overlined digits are negative numbers. If you’re not sure what number is supposed to be, think of it as one times seventeen plus negative one times one.
Thirds
Here we start to see an intriguing pattern: Repeating digits in the cycle of A, -A, A, -A, and so forth.
Sixths
Ninths
Twelfths
Remember, all the other twelfths are covered under either “thirds” or “fourths”.
Fifths
This is where you really start to see the fascinating patterns that you get from the balanced heptadecimal representations of fractions. You’d probably get something similar from other balanced bases, but I don’t feel like checking tbh.
Tenths
In regular heptadecimal would be written out as , which looks different but really isn’t. It’s just that when you bring negative digits into the mix, you can really see the symmetry of the fractions. is one more than and less than ; likewise, is one less than and more than ; so it only makes sense that and would have this kind of symmetry.
I think this makes more sense when you’re deriving the numbers yourself.
Fifteenths
Look at this! This is beautiful! This is two separate patterns of positive and negative digits interweaving with each other, like a pair of ropes braiding around each other.
Sevenths
Fourteenths
Yes, it is confusing that and . Because of how these digits work, though, it was bound to happen somewhere.
Elevenths
Absolutely beautiful.
I’m not gonna do twenty-seconds.
Thirteenths
Another weaving of patterns like we saw with the fifteenths.
Seventeenths
What absolute nonsense awaits us this time?
Ah. Right.
Just one more:
Eighteenths
I’m stopping here, lest I keep going forever. If you’re curious what lies beyond, I encourage you to do some math of your own!