Skip to content

All about the Base

Weird and Wonderful Number Bases


Number systems are weird ​

When we think of number systems, we usually imagine the familiar base-10 (decimal) or base-2 (binary). But the idea of a β€œbase” is much more flexible than most people realize. We aren’t restricted to integers β‰₯ 2. In fact, we can use fractional bases, irrational bases, and even negative or complex ones.

Now, just because we could, does that mean we should?

Short answer: No.
Long answer: Also no.

What is a base, really? ​

A base b (also called a radix) is just a multiplier for positional notation. A digit string like

dndnβˆ’1…d1d0.dβˆ’1dβˆ’2…

means

dnbn+dnβˆ’1bnβˆ’1+β‹―+d1b+d0+dβˆ’1bβˆ’1+dβˆ’2bβˆ’2+…

As long as we agree on a digit set (often {0,1,…,⌊bβŒ‹}), the system works, whether b is an integer, a fraction, or even irrational.

A general rule thus emerges: In any base-b, the number b is always represented as 10, and bn is 1 followed by n zeros.

Fractional bases ​

Take base 1.5. The digits are typically {0,1}.

  • 1000 in base-1.5 means

    1Γ—(1.53)=3.375
  • 101 in base-1.5 means

    1Γ—(1.52)+0Γ—(1.51)+1Γ—(1.50)=2.25+1=3.25

Numbers don’t line up as neatly as in base-10, but the system is perfectly valid.

Irrational bases: base-Ο€ ​

Nothing stops us from picking an irrational base, like Ο€. Choosing a non-integer base doesn’t stop the positional system from working. It just makes the expansions of other numbers weird.

Now, if you remember from earlier: Any number b in base-b is represented as 10.

  • So in base-Ο€, the string 10 represents exactly:

    1Γ—Ο€1+0Γ—Ο€0=Ο€

So if you ever felt the need to express Ο€ as a rational integer, here you go. It’s 10. (in base-Ο€).

Of course, other numbers get strange expansions. For example, the number 2 in base-Ο€ would look like a fraction of 10.

The Golden Ratio base (phinary) ​

One of the most beautiful non-integer bases is the golden ratio base, also called phinary or the Fibonacci coding system.

The golden ratio is

Ο†=1+52β‰ˆ1.618

In base-Ο†, we can represent integers using only the digits {0,1}, with the rule that no two 1s are allowed in a row.

Examples:

  • 1Ο†0 = Ο†2=Ο†+1=2.618...
  • 100Ο† = Ο†3β‰ˆ4.236...
  • Every positive integer has a finite, unique representation in base-Ο†.

This system is tightly connected to the Fibonacci sequence, since powers of Ο† obey Fibonacci-like identities.

Other exotic bases ​

  • Negabinary (base -2): Every integer has a unique representation using only 0 and 1, without needing a minus sign.
  • Complex base i: The β€œquater-imaginary” system (base 2i) can represent every complex integer with digits 0–3.

Why does this matter? ​

I have no idea. I haven't slep today and just thought it's cool.

Last updated:

Β© NullDev 2025