An exploration of unconventional number bases
Published: 27/10/2025
We are all familiar with the base-10 number system, where the value of the digits is determined by their positions. For example, the number 1234 will have the value:
Pretty standard, right? Time to change some parts of the system
What's the general form?
It's quite trivial, actually. This system is generally called positional numeral system. Number with digits in base has the value
where b is a positive integer, and are numbers from 0 to n-1
Negabinary
Let's try to plug to the equation, and see what happens. As base 2 system uses 0 and 1 as its digits, let's also use them for our hypothetical experiment. A number 1101 in base -2 will have the value
Unlike traditional positive bases, the multiplier value of negative bases alternates between positive and negative. This makes it somewhat useful for representing negative numbers without having to explicitly represent the negative sign (like in the one's complement). However, it still uses one extra bit anyway, and is much more convoluted to mentally convert, compared to two's complement. This number system is also called negabinary (base -2) or negadecimal (base -10)
Complex base
How about we plug into the equation? The multipliers themselves now have a really interesting property: they loop every 4 digit. The value from right to left goes from i, to -1, to -i, to 1, then back to i. With this, we can create a very naive inefficient number system: we can set every 4th digit (counting from the right) one by one to create a positive number, and every 2nd digit to create any negative number.
In this number system, we can have multiple different number representations for the same number. For example, both and denotes the number 13. Donald Knuth proposed a 2i-based number system called Quater-imaginary base
The Golden Ratio - Phinary
This system is also called base-, golden ratio base, or way cooler, "phinary".
This number system stems from the fact that any exponent of can be rewritten as . By definition, , so any higher exponent, for example, , can be rewritten as
The same is also true with negative exponents:
With this, the number 2 in decimal can be represented as
The base doesn't have to stay the same - Factoradic
Another interesting base is called "factoradic" or "factorial base". In this system, the place value from right to left is 0!, 1!, 2!, 3!, and so on. The highest possible digit in each place is also correspondingly determined - the digit of 5! can only be maximal 5, for example. So 341010 in factoradic will be Another similar number system use combinatorics instead of factorial for the place value.