Professional Documents
Culture Documents
Addition and Multiplication Tables in Various Bases
Addition and Multiplication Tables in Various Bases
(https://www.cut-the-knot.org/manifesto/index.shtml)
The question of conversion between number systems with various bases has been addressed on one of the very first
pages (https://www.cut-the-knot.org/binary.shtml) at this site. Later I added a page that describes the conversion
procedure algorithmically (https://www.cut-the-knot.org/recurrence/conversion.shtml). There is also a page with
an intriguing subject of appearance of primes in base 36 (https://www.cut-the-
knot.org/recurrence/word_primes.shtml).
Below I wish to discuss the manner in which arithmetic operations (addition and multiplications) are carried out in
various bases. The number systems we are looking into are known as positional: each uses a fixed number of digits
whose meaning depends on its position in a number representation. The decimal system has been introduced in
Europe less than a thousand years ago. Given its appeal and convenience, it's astonishing that it was not invented by
the Ancient mathematicians. Even in an unfamiliar base, like 7 or 22, carrying arithmetic operations is incomparably
easier than handling Roman numerals.
https://www.cut-the-knot.org/blue/SysTable.shtml 1/7
6/1/2019 Addition and Multiplication Tables in Various Bases
The applet combines addition and multiplication tables (check a radio button) for bases from 2 through 36. In every
base N, there are N digits. In the decimal system, for example, we have 10 of them: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. In base 7,
there are seven digits: 0, 1, 2, 3, 4, 5, 6. When N exceeds 10 we start adding English letters as needed. (No distinction
is made between capital and lower case letters.) Base 36 (https://www.cut-the-
knot.org/recurrence/word_primes.shtml) uses up all decimal digits and all the letters of the English alphabet.
144
36
----
1263
465
----
6243
Still toying with the table we may learn a few interesting things. As everyone knows, 2 + 2 = 4. This is true in all base
systems. That is, except bases 2, 3, and 4. In base 4, we have 2 + 2 = 10. In base 3, 2 + 2 = 11. However, recollect that
(4)10 = (10)4 = (11)3, and everything falls into its right place again. Numbers equal in one base are equal in any other
base. Conversion between bases does not violate arithmetic identities. In base 2, 2 + 2 = 4 appears as 10 + 10 = 100 -
looking differently but having exactly the same meaning.
https://www.cut-the-knot.org/blue/SysTable.shtml 2/7
6/1/2019 Addition and Multiplication Tables in Various Bases
The same, of course, is true of 2 × 2 = 4 which is true in all bases starting with 5. In bases 4,3, and 2 it appears as
2 × 2 = 10
2 × 2 = 11
10 × 10 = 100,
respectively.
A few more things you may want to verify and, perhaps, justify more rigorously:
As we see, number systems with different bases have many features in common. Some features are, of course,
unique. For example, in base 6 all prime numbers end with either 1 or 5 (why?). Base 3 has been used in some early
computers. In base 3, numbers are represented with digits 0,1, and 2. It's also possible to make go with digits -1,0,1 so
that any number will be representable as an algebraic sum (i.e., allowing for both plus and minus) of distinct powers of
https://www.cut-the-knot.org/blue/SysTable.shtml 3/7
6/1/2019 3. For example, 27 = 33, 28 = 33 + 30, 29 = 33 + 31 - 30, 30 = 33 + 31, 31 = Addition
33 + 31 + 30Multiplication
and , 32 = 33 + 3Tables
2 - 31 in 0,
- 3Various Bases
33 = 33 + 32 - 31, 34 = 33 + 32 - 31 + 30, 35 = 33 + 32 - 30, 36 = 33 + 32, 37 = 33 + 32 + 30, 38 = 33 + 32 + 31 - 30,
39 = 33 + 32 + 31, 40 = 33 + 32 + 31 + 30, 41 = 34 - 33 - 32 - 31 - 30, etc.
An Aside
While researching for his laws, Kepler (1571-1630) used an ingenious number notation based on the Roman system,
where subtraction as well as addition was involved. Kepler used symbols I, V, X, L, but instead of the numbers 1, 5, 10,
50 he selected 1, 3, 9, 27, and so on. (J.R.Newman, The World of Mathematics, v1.)
Number systems serve the purpose of representing numbers in different ways. As the examples below demonstrate,
the binary and ternary systems have their niche in this field with very practical applications:
1. W.W. Rouse Ball and H.S.M. Coxeter, Mathematical Recreations and Essays
(https://www.amazon.com/exec/obidos/ISBN=0486253570/ctksoftwareincA/), Dover, 1987
2. A. Beck, M.N. Bleicher, D. W. Crowe, Excursions into Mathematics
(https://www.amazon.com/exec/obidos/ISBN=1568811152/ctksoftwareincA/), A K Peters, 2000
3. D. Fomin,S. Genkin,I. Itenberg, Mathematical Circles (Russian Experience)
(https://www.amazon.com/exec/obidos/ISBN=0821804308/ctksoftwareincA/), AMS, 1996
4. Ya.I. Perelman, Fun with Maths and Physics
(https://www.amazon.com/exec/obidos/ISBN=5030000259/ctksoftwareincA/), Mir Publishers, Moscow, 1988
5. D. Wells, The Penguin Book of Curious and Interesting Puzzles
(https://www.amazon.com/exec/obidos/ISBN=0140148752/ctksoftwareincA/), Penguin Books, 1992
Claude Shannon, one of the fathers of Cybernetics and Information Theory, suggested (well might be in jest) in 1950
(Am Math Monthly) that other represenations may have computational advantages. For an odd base r, he considered r
digits -(r-1)/2 le; ai ≤ >(r-1)/2. For r = 3 this leads to the Kepler's approach. For r = 7, there would be 7 digits -3, -2, -1, 0,
1, 2, 3 which Shannon denoted 3', 2', 1', 0, 1, 2, 3. The upside of such a representation is that the sign of a number is
built in. Positive numbers start with one of 1,2,3, while negative numbers start with one of their counterparts 1', 2', 3'.
Even stranger was a possibility of including even bases into this framework. The digits would represent midpoints
between integers! For r = 10, we would use 9'/2, 7'/2, 5'/2, 3'/2, 1'/2, 1/2, 3/2, 5/2, 7/2, 9/2 as digits. One annoying
inconvenience was that integers would have multiple representations:
https://www.cut-the-knot.org/blue/SysTable.shtml 4/7
6/1/2019 Addition and Multiplication Tables in Various Bases
The upside of the approach was that addition and multiplication tables (being symmetric with respect to primed and not
primed digits) would require less effort to memorize.
Remark
1. Napier bones (https://www.cut-the-knot.org/blue/Napier.shtml) is another great tool to study multiplication (in
various systems.) Addition is better handled with Abacus (https://www.cut-the-knot.org/blue/Abacus.shtml),
or its Chinese (Suan pan (https://www.cut-the-knot.org/Curriculum/Arithmetic/SuanPan.shtml)) or
Japanese (Soroban (https://www.cut-the-knot.org/Curriculum/Arithmetic/Soroban.shtml)) variants.
2. Conversion of fractions (https://www.cut-the-knot.org/blue/frac_conv.shtml) between various bases,
although a consequence of essentially the same representation, is still different from conversion of integers and
deserves a special page.
3. A small number guessing (https://www.cut-the-knot.org/blue/Cards.shtml) game helps internalize the binary
system.
4. Binary system is indispensible for grasping the right strategy in the game of Nim (https://www.cut-the-
knot.org/nim_st.shtml).
5. Binary system also proves useful for designing infinite Latin squares (https://www.cut-the-
knot.org/arithmetic/InfiniteLatin.shtml).
6. Binary and ternary systems underlie the constructions of the Cantor set (https://www.cut-the-
knot.org/do_you_know/cantor.shtml) and the Sierpinski Gasket (https://www.cut-the-
knot.org/triangle/Tremas.shtml).
https://www.cut-the-knot.org/blue/SysTable.shtml 5/7
Related
6/1/2019 Addition and Multiplication Tables in Various Bases
material
Read more..
Expansion of Integers in an Integer Base (https://www.cut-the-
knot.org/arithmetic/BaseExpansion.shtml)
Base (Binary, Decimal, etc.) Converter (https://www.cut-the-
knot.org/Curriculum/Algorithms/BaseConversion.shtml)
Base Converter (https://www.cut-the-knot.org/binary.shtml)
Implementation of Base Conversion Algorithms (https://www.cut-the-
knot.org/recurrence/conversion.shtml)
Conversion of Fractions in Various Bases (https://www.cut-the-
knot.org/blue/frac_conv.shtml)
Scoring: the simplest of the impartial games (https://www.cut-the-
knot.org/Curriculum/Games/Scoring.shtml)
History of the Binary System (https://www.cut-the-
knot.org/do_you_know/BinaryHistory.shtml)
Calculation of the Digits of pi by the Spigot Algorithm of Rabinowitz and
Wagon (https://www.cut-the-
knot.org/Curriculum/Algorithms/SpigotForPi.shtml)
64888529
https://www.cut-the-knot.org/blue/SysTable.shtml 6/7
6/1/2019 Addition and Multiplication Tables in Various Bases
https://www.cut-the-knot.org/blue/SysTable.shtml 7/7