Skip to content

All about the Base

Weird Number Bases are weird. But also kinda cool. And kinda useless. But why stop at integer bases?

βˆ‘k=βˆ’βˆžndkbkdk∈{0,1,…,⌊bβŒ‹}

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?

Well...

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+…

or, if you want to be more formal and fancy,

βˆ‘k=βˆ’βˆžndkbk,

where digits dk∈{0,1,…,⌊bβŒ‹} (<- the digit set).

As long as we agree on a digit set, the system works, whether b is an integer, a fraction, or even irrational.

Note:

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: ​

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.


base-Ο€ ​

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.
(Well... in base-Ο€, at least).

Of course, other numbers get strange expansions.

But this system can be used to more easily show the relationship between the diameter of a circle to its circumference, which corresponds to its perimeter.

Since circumference = Ο€ Γ— diameter, a circle with diameter 1Ο€ has circumference 10Ο€. A circle with diameter 10Ο€ has circumference 100Ο€, and so on.

Also, since area = Ο€ Γ— radiusΒ², a circle with radius 1Ο€ will have an area of 10Ο€. A circle with radius 10Ο€ will have an area of 1000Ο€, and so on.


base-e ​

With base-e, the natural logarithm behaves like the common logarithm in base-10.

As

ln⁑(1e)=0,ln⁑(10e)=1,ln⁑(100e)=2,ln⁑(1000e)=3,…

This means that the integer part of the natural logarithm of a number in base-e counts the number of digits before the separating point in that number, minus one.

The base-e is the most economical choice of radix Ξ²>1, where the radix economy is measured as the product of the radix and the length of the string of symbols needed to express a given range of values.

A binary number uses only two different digits, but it needs a lot of digits for representing a number. base-10 writes shorter numbers, but it needs 10 different digits to write them. The balance between those is base-e, which therefore would store numbers optimally.


base-√2 ​

Base 2 behaves in a very similar way to base-2 as all one has to do to convert a number from binary into base 2 is put a zero digit in between every binary digit.

E.g.:

191110=111011101112 becomes 1010100010101000101012 and
511810=10011111111102 becomes 10000010101010101010101002.

This means that every integer can be expressed in base 2 without the need of a decimal point.

The base can also be used to show the relationship between the side of a square to its diagonal as a square with a side length of 12 will have a diagonal of 102 and a square with a side length of 102 will have a diagonal of 1002.

Another use of the base is to show the silver ratio as its representation in base 2 is simply 112.

In addition, the area of a regular octagon with side length 12 is 11002, the area of a regular octagonwith side length 102 is 1100002, the area of a regular octagon with side length 1002 is 110000002, etc...


base-Ο† ​

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.

Note

11Ο†=100Ο† where 100Ο† is the canonical representation
This follows from Ο†2+Ο†=Ο†3, since the golden ratio satisfies Ο†2=Ο†+1.

Show me

The golden ratio satisfies

Ο†2=Ο†+1.

From this, it follows that

Ο†3=Ο†β‹…Ο†2=Ο†(Ο†+1)=Ο†2+Ο†.

So

Ο†3=Ο†2+Ο†,

which numerically means

1Ο†2+1Ο†=1Ο†3,

which is exactly the statement

11Ο†=100Ο†.

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.

Base-Ξ¨

There are some numbers in base-Ξ¨ (Supergolden ratio) that are also ambiguous.
For example, 101Ξ¨=1000Ξ¨.

Other exotic bases ​

  • Negabinary (base -2): Every integer has a unique representation using only 0 and 1, without needing a minus sign. This works for any negative base.
  • 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.

Btw ​

Just like bases don't have to be integers, dimensions don't either. 0D (Point), 1D (Line), 2D (Plane), 3D (Cube), 4D (Tesseract) are cool and all...

But we can also have fractal dimensions like 1.26D (Koch snowflake), 1.58D (SierpiΕ„ski triangle), 2.7268D (Menger sponge) and so on.

Uhh...

Ironically, the Hausdorff dimension of the self-similar recursive fractal of the dragon curve is exactly 2.

Now, how a Hausdorff space of Ο€D would look like, is left as an exercise to the reader.
Hint: It's possible

Last updated:

Β© NullDev 2025