Back to homeMathematics · Secondary Year 2 · Change subject
Start for free
Secondary 2 · Mathematics
Numbers · Other number systems

Other Numeral Systems

Before you start, make sure you know: The concept of a natural number (Secondary Year 1)
Before you start, make sure you know: Properties of exponents (Secondary Year 1)

Your cell phone stores photos as zeros and ones. The Maya of Chichén Itzá wrote their numbers with dots and bars. On the facade of an old theater you see the year carved as MCMXCVIII. Our decimal system (base $10$) is not the only one: the same number can be written in many ways depending on the base you choose. By the end of this page you will be able to read all of these notations.

What a base is and how to read a binary number

In base $10$ we use ten symbols ($0$ through $9$) and each position is worth $10$ times the one before it. In base $2$ (binary) there are only two symbols, $0$ and $1$, and each position is worth twice the one before it.

Value of each position in base 10 and in base 2, and the expansion of the binary number 1101 to decimal. Base 10: … 1000 100 10 1 Base 2: … 2³=8 2²=4 2¹=2 2⁰=1 1101₂ = 1·8 + 1·4 + 0·2 + 1·1 1101₂ = 13

Try the interactive: turn the bits on and off and watch how the decimal number changes.

From decimal to binary: successive divisions

For the reverse direction, divide the number by $2$ over and over until the quotient is $0$. The remainders, read from last to first, form the binary number.

Successive divisions by 2 of the number 13: the remainders 1, 0, 1, 1 are read from bottom to top and give 1101. 13 : 2 = 6 remainder 1 6 : 2 = 3 remainder 0 3 : 2 = 1 remainder 1 1 : 2 = 0 remainder 1 Read the remainders from bottom to top: 1101

Shifting digits is multiplying by powers of 2

In binary, adding a zero at the end shifts the digits one position to the left and doubles the number, just as in decimal adding a zero multiplies by $10$. Shifting $n$ positions is equivalent to multiplying by $2^n$. For example, $101_2 = 5$ and $1010_2 = 10$.

Practice★☆☆Not started
Computers use the binary system (base 2) to process information, using only the digits $0$ and $1$. To understand how a machine "thinks", convert the decimal number $13$…

Computers use the binary system (base 2) to process information, using only the digits $0$ and $1$. To understand how a machine "thinks", convert the decimal number $13$ to binary code using the method of successive divisions by $2$.

The diagram shows the divisions you need to do. In each row, the quotient from the previous row is divided by $2$, and you continue until the quotient is $0$.

Diagram of four successive divisions by 2 starting at 13, with empty boxes for the quotients and remaindersDividendQuotientRemainder13???????????÷ 2 =÷ 2 =÷ 2 =÷ 2 =remainderremainderremainderremainder
  1. a) Fill in the boxes of the diagram: the quotient and remainder of each division, until you reach a quotient of $0$.
  1. b) Read the remainders from bottom to top (from the last to the first) and write the number $13$ in base 2.
Solve
Practice★★☆Not started
In computer science, the smallest unit of information is the bit, which can only take the values $0$ or $1$ (binary system). An old processor in a retro console uses…

In computer science, the smallest unit of information is the bit, which can only take the values $0$ or $1$ (binary system). An old processor in a retro console uses 8-bit registers. If a character has an energy level represented by the decimal number $43$, how would that value appear in the console's binary code?

Energy: 43₁₀ ? ? ? ? ? ? ? ? 2⁷ 2⁶ 2⁵ 2⁴ 2³ 2² 2¹ 2⁰ 128 64 32 16 8 4 2 1 8-bit register (Binary System)
Solve
Practice★★★Not started
In a computer system, multiplying a binary number by $2^n$ is equivalent to shifting its digits $n$ positions to the left (adding zeroes at the end). Given the decimal…

In a computer system, multiplying a binary number by $2^n$ is equivalent to shifting its digits $n$ positions to the left (adding zeroes at the end).

Given the decimal number $21$:

  1. a) Express it in the binary system.
  2. b) Perform the operation of shifting its digits $3$ positions to the left.
  3. c) Convert the resulting number back to the decimal system and check that the result is equivalent to multiplying $21 \times 2^3$.
Solve

Powers of 2 and units of information

When you store photos or videos on your cell phone, memory is measured with powers of $2$. A bit is a $0$ or a $1$. A byte is $8$ bits ($8 = 2^3$).

Unit Equals Power of 2
1 byte (B) 8 bits $2^3$ bits
1 KB 1,024 B $2^{10}$ B
1 MB 1,024 KB $2^{20}$ B
1 GB 1,024 MB $2^{30}$ B
Practice★★★Not started
A file server for an esports gaming community has a total capacity of $2^{35}$ bits. Currently, the server contains three folders with game screenshots: folder A…

A file server for an esports gaming community has a total capacity of $2^{35}$ bits. Currently, the server contains three folders with game screenshots: folder A occupies $1.2$ GB, folder B occupies $950$ MB and folder C contains $2^{30}$ bytes. Given that $1$ GB = $1024$ MB and $1$ MB = $1024$ KB, determine whether it is possible to save an additional video of $1.5$ GB without exceeding the server's total capacity. Express all calculations as powers of base 2 where possible.

Solve

Roman numerals

Roman numerals are not positional: each symbol has a fixed value and they are combined by adding or subtracting depending on the order.

Symbols of Roman numerals and examples of numbers formed by subtraction, such as XC and CM. I=1 · V=5 · X=10 · L=50 C=100 · D=500 · M=1000 XC = 100 − 10 = 90 CM = 1000 − 100 = 900

To do operations with Roman numerals, the easiest way is to convert everything to decimal, calculate, and convert back to Roman numerals. For numbers from $4{,}000$ on, the letter $M$ keeps being repeated: $6000 = MMMMMM$.

Practice★☆☆Not started
On the façade of an old theater in your city, the year of its opening is carved in Roman numerals: MCMXCVIII. Convert this number to our decimal system to find out which…

On the façade of an old theater in your city, the year of its opening is carved in Roman numerals: MCMXCVIII. Convert this number to our decimal system to find out which year the theater opened.

M CM XC VIII I = 1 V = 5 X = 10 C = 100 M = 1000
Solve
Practice★★★Not started
Calculate the result of the following operation with Roman numerals, expressing the final value both in Roman numerals and in the decimal number system:…

Calculate the result of the following operation with Roman numerals, expressing the final value both in Roman numerals and in the decimal number system:

$(MMCDLXIV - MDCCCLXXXIX) \times XII$

Solve

Other bases: Mayan, base 4, base 5

The Maya used base $20$ (vigesimal): they wrote with dots ($1$) and bars ($5$), in vertical levels. The bottom level is worth $20^0 = 1$, the next $20^1 = 20$, the next $20^2 = 400$.

Mayan number in two levels: a bar and two dots on top, three dots at the bottom; the top level is multiplied by 20. level 2: 7 × 20 level 1: 3 × 1 dot = 1, bar = 5: 7 × 20 + 3 = 143

This works for any base. For example, in base 4 the digits are $0, 1, 2, 3$ and the positions are worth $1, 4, 16, 64, \dots$ In base 5 the digits are $0$ through $4$ and the positions are worth $1, 5, 25, 125, \dots$

Practice★★☆Not started
The Mayan number system was vigesimal (base 20) and vertically positional. Look at the following number represented by its levels and convert it into our decimal system:…

The Mayan number system was vigesimal (base 20) and vertically positional. Look at the following number represented by its levels and convert it into our decimal system:

  • Level 3 (top): One dot.

  • Level 2 (middle): Two bars and three dots.

  • Level 1 (bottom): One bar.

(Remember that in the Mayan system, the dot is worth $1$ and the bar is worth $5$).

Level 3 × 20² (400) Level 2 × 20¹ (20) Level 1 × 20⁰ (1)
Solve
Practice★★★Not started
An intergalactic explorer has arrived on a planet where the natives use a base 5 numeral system. You are given the following equivalences to understand their language:…

An intergalactic explorer has arrived on a planet where the natives use a base 5 numeral system. You are given the following equivalences to understand their language:

$1_{5} = \text{I}$, $2_{5} = \text{V}$, $3_{5} = \text{X}$, $4_{5} = \text{L}$.

If they tell you that there are $\text{XXL}$ hours left until the mothership takes off:

  1. a) Write the number of hours in the decimal system.
  2. b) Calculate how many minutes that time is equivalent to.
Solve
Practice★★★Not started
In an archaeological dig, an inscription with an unknown number system was found. After analyzing it, experts determined that it is a base-4 system, where the symbols…

In an archaeological dig, an inscription with an unknown number system was found. After analyzing it, experts determined that it is a base-4 system, where the symbols are: $\triangle = 0$, $\square = 1$, $\bigcirc = 2$ and $\star = 3$.

If the treasure is located at a distance of $\bigcirc \star \square \triangle$ meters from the main entrance, calculate this distance in our decimal system. Then, express the result obtained in the binary system.

SYMBOLS (BASE 4)
Solve

Back to the beginning: the cell phone stores in base $2$, the Maya counted in base $20$, and the theater uses a non-positional system with letters. Now you know how to read and translate all three notations.

Summary

See all the exercises in this section