About number systems
A number system is a set of digits (signs) for writing numbers together with the rules for using them. The number of digits in the system is its base: in the decimal system the base is 10 (digits 0 to 9), in the binary system it is 2 (0 and 1). One-place signs are digits, many-place writings made of them are numbers: 5, 6, 8 are digits, 568 is a number. In the past various peoples used five-based, twelve-based, twenty-based (Maya) and sixty-based (Babylonian) systems; the 60 minutes of an hour and the 12 + 12 hours of a day remind us of this. In a positional system the value of a digit depends on its place (position) in the number: in 333 the three 3s mean 300, 30 and 3. The Roman system is not positional: in XXX each X always means 10. A system with base p has digits from 0 to p – 1; when the base is above 10, letters A, B, C, … are added (in base 16, A = 10, …, F = 15). The next number is made by “shifting” the last digit, while the largest digit turns into 0 and shifts its left neighbour. In every positional system its own base is written “10”, so the base is shown as a subscript: 101₂, 101₈. In expanded form a number is written as the sum of its digits times powers of the base: 4072 = 4 · 10³ + 0 · 10² + 7 · 10¹ + 2 · 10⁰. One of the scholars who spread today’s decimal positional system was Muhammad al-Khwarizmi (born in Khorezm, about 780–850): his treatise on Hindu arithmetic was translated into Latin, and its opening words “Dixit Algorizmi” gave rise to the word “algorithm”.
| Base | Digits |
|---|---|
| 2 | 0, 1 |
| 3 | 0, 1, 2 |
| 10 | 0 – 9 |
| 16 | 0 – 9, A – F (A = 10, … F = 15) |
00001101₂ = 8 + 4 + 1 = 13
The buttons flip the bits: 1 means the place value is added, 0 means it is not
Pencils are packed 12 to a box. 30 pencils make 2 full boxes and 6 left over: 2 · 12 + 6. In this base-12 counting the number is written 26. In a positional system the place of a digit decides its value.
A storekeeper counts goods in boxes and pieces, a watchmaker works with hours, minutes and seconds, and a programmer writes numbers in different systems.
Draw 20 dots and circle them in groups of 5. How many groups and how many are left over? Explain why in base 5 this number is written 40.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 10 | 11 | 12 | 20 | 21 | 22 | 100 |
| 1 | 0 | 1 | 1 |
|---|---|---|---|
| 2³ | 2² | 2¹ | 2⁰ |
“Finger system”: pupils use their fingers as a counting tool and “show” numbers in base 5 (one hand per place); a partner reads them.