Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

6/1/2019 Addition and Multiplication Tables in Various Bases

(https://www.cut-the-knot.org/manifesto/index.shtml)

Addition and Multiplication Tables in Various


Bases
Many children grow superstitious, and think that you
cannot carry except in tens; or that it is wrong to carry
in anything but tens. The use of algebra is to free them
from bondage to all this superstitious nonsense, and
help them to see that the numbers would come just as
right if we carried in eights or twelves or twenties. It is
a little difficult to do this at first, because we are not
accustomed to it; but algebra helps to get over our
stiffness and set habits and to do numeration on any
basis that suits the matter we are dealing with.

Mary Everest Boole


Philosophy And Fun Of Algebra,
London: C. W. Daniel, LTD, 1909

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.

This applet requires Sun's Java VM 2 which your browser may


perceive as a popup. Which it is not. If you want to see the
applet work, visit Sun's website at
https://www.java.com/en/download/index.jsp, download and
install Java VM and enjoy the applet.

What if applet does not run? (https://www.cut-the-


knot.org/HelpWithJava.shtml)
Practice is all it takes to master various bases; for the rules are the same as in the decimal system. The sum or product
of two digits may only produce one or two digit numbers. In the latter case, if necessary, the first digit is carried over to
the next operation (on the left.) For example, in base 7, 36 + 144 = 213. Indeed, from right to left, 6 + 4 = 13. Then
3 + 4 + 1 = 11, and finally 1 + 1 = 2.

Also, 144 × 36 = 6243. Indeed,

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:

1. For every N>1, (N)10 = (10)N.


2. For addition, in the lower right corner, there always appears a 2-digit number whose first digit is 1 while the
second digit is the penultimate digit of the system.
3. All tables are symmetric with respect to the diagonal from the upper left to the lower right corner.
4. Consecutive numbers on any north-west to south-east diagonal, in all addition tables, differ by 2. Why?
5. For multiplication, the number in the lower right corner is always obtained from its "addition" counterpart by
swapping the two digits.
6. In the last row of multiplication tables, last digits grow by 1 if followed right to left. At the same time, the first digits
decrease by 1.
7. The numbers in the last row before the last are also related to each other: if for addition we have a number 1a,
then for multiplication its counterpart will be a2.
8. One can use addition tables to play the same game as with the Calendar tables (https://www.cut-the-
knot.org/SimpleGames/Calendar.shtml).
9. For multiplication tables this is also true provided selected entries are multiplied instead of being added up.
10. As a particular case, in multiplication tables determinants of any 2x2 square are 0.
11. In addition tables, determinants of any 2x2 square equal -1. Determinants of order 3 or higher are all 0.
12.
1. In multiplication tables, consider 2×2 diagonal squares, i.e., squares whose diagonal lies on the main
diagonal of the table. The sum of the four entries in any such square is a square number
(https://www.cut-the-knot.org/do_you_know/numbers.shtml#square).
2. The same is true for the sum of entries in a 3×3 diagonal square.
3. What about a more general nxn diagonal square?
13. In multiplication tables, consider the diagonal 0, 3, 8, 15, ... Each entry on this diagonal just touches a diagonal
entry which is always 1 more: 0-1, 3-4, 8-9, 15-16, and so on. Is it always the case?
14. This is a simple one: in addtion tables, south-west-to-north-east diagonals each consists of a single number.
15. In multiplication tables, the last row (starting with the third entry) consists of numbers that are pairwise mirror
images of each other.
16. Multiplication tables conceal cubes and tetrahedral numbers (https://www.cut-the-
knot.org/Curriculum/Algebra/Figurate.shtml).

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. Weighing 12 coins (https://www.cut-the-knot.org/blue/weight1.shtml)


2. Selecting counterbalances (https://www.cut-the-knot.org/blue/weight2.shtml)

Similar weighing problems appear in several books:

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:

0 = .(1/2)(9'/2)(9'/2)... = (1/2).(9'/2)(9'/2)... = (1'/2).(9/2)(9/2)...

where I kept individual digits in parentheses for simplicity sake.

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).

What Can Be Multiplied?


What Is Multiplication? (https://www.cut-the-knot.org/do_you_know/multiplication.shtml)
Multiplication of Equations (https://www.cut-the-knot.org/do_you_know/mul_eq.shtml)
Multiplication of Functions (https://www.cut-the-knot.org/do_you_know/mul_func.shtml)
Multiplication of Matrices (https://www.cut-the-knot.org/do_you_know/mul_mat.shtml)
Multiplication of Numbers (https://www.cut-the-knot.org/do_you_know/mul_num.shtml)
Peg Solitaire and Group Theory (https://www.cut-the-knot.org/proofs/PegsAndGroups.shtml)
Multiplication of Permutations (https://www.cut-the-knot.org/do_you_know/PermGroup.shtml)
Multiplication of Sets (https://www.cut-the-knot.org/do_you_know/mul_set.shtml)
Multiplication of Vectors (https://www.cut-the-knot.org/do_you_know/mul_vec.shtml)
Multiplication of a Vector by a Matrix (https://www.cut-the-knot.org/do_you_know/mul_vec.shtml)
Vector Space and Spaces with the Scalar Product (https://www.cut-the-
knot.org/do_you_know/mul_scal1.shtml)
Addition and Multiplication Tables in Various Bases
Multiplication of Points on a Circle (https://www.cut-the-knot.org/m/Geometry/CircleMultiplication.shtml)
Multiplication of Points on an Ellipse (https://www.cut-the-
knot.org/m/Geometry/EllipseMultiplication.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)

|Contact| (https://www.cut-the-knot.org/MailNotificationPage.shtml) |Front page| (https://www.cut-the-


knot.org/front.shtml) |Contents| (https://www.cut-the-knot.org/content.shtml) |Algebra| (https://www.cut-the-
knot.org/algebra.shtml)

Copyright © 1996-2018 Alexander Bogomolny (https://www.cut-the-knot.org/index.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

You might also like