Back to homeMathematics · 2nd ESO · Change subject
Start for free
ESO Y2 · Mathematics
Numbers · Other number systems

Other numeral systems

A computer only understands $0$ and $1$. A Mayan inscription uses dots and bars. A theatre plaque reads "MCMXCVIII". Our decimal system (base $10$) is not the only possible one: any number can be written in any base, by changing how many different symbols you use and what each position is worth.

Before you start, make sure you know: Properties of powers (1st ESO)
Before you start, make sure you know: Natural numbers (1st ESO)

The decimal system is not the only one: what a base is

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

Comparison of place value in base 10 and base 2, with the expansion of the binary number 1101 into 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 = 13
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 an archaeological dig, an inscription with an unknown number system was found. After analysing 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 analysing 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$ metres from the main entrance, calculate this distance in our decimal system. Then, express the result obtained in the binary system.

SYMBOLS (BASE 4)
Solve

From decimal to binary: successive divisions

To go the other way, you divide the number by $2$ over and over again, and the remainders (read from last to first) form the binary number.

Diagram of successive divisions by 2 to convert the decimal number 13 to binary, reading the remainders in reverse order. 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
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 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

Interpreting and modifying the algorithm

Conversion by successive divisions is an algorithm. Its input is a non-negative integer and its output is that number written in binary. For the input 0 we simply return 0. For all the others, we repeat integer division by 2 and keep the remainders until the quotient is zero; finally we read the remainders backwards.

Transfer the idea: to convert to base 3, change the divisor to 3; the possible remainders are 0, 1 and 2. With 13 you get remainders 1, 1, 1 and the output $111_3$, since $9+3+1=13$. Explain which parts of the algorithm stay the same and which change.

To investigate with a spreadsheet, write the starting number in A2; in B2, =RESIDUO(A2;2), and in A3, =COCIENTE(A2;2). Copy the remainder formula and carry on with the divisions until the first quotient of zero; do not include the remainder from that extra row. Read the previous remainders in reverse order. If you change base, you must change the divisor in both formulas. How many digits will a number need before you convert it? Compare numbers close to powers of the base and check your conjecture with small cases.

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 in which they appear.

Table with the 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
Practice★☆☆Not started
On the façade of an old theatre 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 theatre 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 theatre 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 ancient systems: Mayan, Babylonian and other bases

Not all civilisations used base $10$. The Maya used base $20$ (vigesimal) with dots and bars; the Babylonians used base $60$ (the same base we still use today for time and angles).

Representation of the Mayan numeral system in vertical positional levels according to powers of 20, with dot and bar symbols. level 3: × 20² level 2: × 20¹ level 1: × 20⁰ dot = 1, bar = 5 (Mayan system, base 20)
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

Summary

See all the exercises in this section