14 Arithmetic Operations in Bases Other Than
Ten
The base-ten arithmetic algorithms discussed in the previous two sections
also work in other bases. In this section we apply the algorithms to base five.
Addition in Base Five
In base five the digits used are 0,1,2,3, and 4. Using blocks one can easily
build the following addition table.
+ 0 1 2 3 4
0 0 1 2 3 4
1 1 2 3 4 10
2 2 3 4 10 11
3 3 4 10 11 12
4 4 10 11 12 13
All numerals in the table are written in base five with subscripts omitted.
Example 14.1
Compute 12f ive + 31f ive using blocks.
Solution.
Figure 14.1 shows how to compute 342f ive + 134f ive using blocks.
Figure 14.1
Example 14.2
Use a base five line to illustrate 12f ive + 20f ive .
1
Solution.
Note that 12f ive + 20f ive = 32f ive .
Example 14.3
Compute the sum 342f ive + 134f ive
(a) using the lattice algorithm
(b) using the expanded algorithm
(c) using the standard algorithm.
Solution.
To check that the answer to the above addition is correct, we convert ev-
erything to base 10 where we feel comfortable.
342f ive = 3 · 52 + 4 · 5 + 2 = 97
2
134f ive = 1·5 +3·5+4 = 44
1031f ive = 1 · 53 + 0 · 52 + 3 · 5 + 1 = 141
The result is confirmed since 97 + 44 = 141.
Practice Problems
Problem 14.1
Compute the sum 13f ive + 22f ive using
(a) base five blocks
(b) expanded algorithm
2
(c) lattice algorithm
(d) standard algorithm.
Problem 14.2
Perform the following computations.
Problem 14.3
Complete the following base eight addition table.
+ 0 1 2 3 4 5 6 7
0
1
2
3
4
5
6
7
Problem 14.4
Compute 132eight + 66eight .
Problem 14.5
Computers use base two since it contains two digits, 0 and 1, that correspond
to electronic switches in the computer being off or on. In this base, 101two =
1 · 22 + 0 · 2 + 1 = 5ten .
(a) Construct addition table for base two.
(b) Write 1101two in base ten.
(c) Write 123ten in base two.
(d) Compute 1011two + 111two .
Problem 14.6
For what base b would 32b + 25b = 57b ?
Problem 14.7
(a) Construct an addition table for base four.
(b) Compute 231f our + 121f our .
3
Problem 14.8
Use blocks to illustrate the sum 41six + 33six .
Problem 14.9
Use an expanded algorithm to compute 78nine + 65nine .
Problem 14.10
Create a base seven number line and illustrate the sum 13seven + 5seven .
Problem 14.11
Construct an addition table in base seven.
Problem 14.12
Use the lattice method to compute the following sums.
(a) 46seven + 13seven .
(b) 13f our + 23f our .
Subtraction in Base Five
The development of subtraction in base five from concrete to abstract is
shown in Figure 14.2.
Figure 14.2
Example 14.4
Use base five number line to illustrate 32f ive − 14f ive .
Solution.
4
Practice Problems
Problem 14.13
Perform the following subtractions:
(a) 1101two − 111two
(b) 43f ive − 23f ive
(c) 21seven − 4seven .
Problem 14.14
Fill in the missing numbers.
Problem 14.15
Use blocks for the appropriate base to illustrate the following problems.
(a) 555seven − 66seven (b) 3030f our − 102f our .
Problem 14.16
Use both the intermediate algorithm (discussed in Figure 14.2) and the stan-
dard algorithm to solve the following differences.
(a) 31f our − 12f our (b) 1102f our − 333f our .
Problem 14.17
Use base five number line to illustrate the difference 12f ive − 4f ive .
Multiplication in Base Five
Next, consider the multiplication algorithm. A base-five multiplication table
will be helpful.
× 0 1 2 3 4
0 0 0 0 0 0
1 0 1 2 3 4
2 0 2 4 11 13
3 0 3 11 14 22
4 0 4 13 22 31
5
Example 14.5
Calculate 4f ive × 3f ive using base five number line.
Solution.
So 4f ive × 3f ive = 22f ive
Example 14.6
Calculate 43f ive × 123f ive using
(a) the lattice method for multiplication
(b) the expanded algorithm
(c) the standard algorithm.
Solution.
Practice Problems
Problem 14.18
Create a base seven number line to illustrate 6seven × 3seven .
Problem 14.19
Find the following products using the lattice method, the expanded algo-
rithm, and the standard algorithm.
(a) 31f our × 2f our (b) 43f ive × 3f ive
6
Division in Base Five
Long division in base five can be done with a long division analogous to the
base ten algorithm. The ideas behind the algorithms for division can be
developed by using repeated subtraction. For example, 3241f ive ÷ 43f ive is
computed by means of repeated-subtraction technique as shown in Figure
14.3(a) and by means of the conventional algorithm shown in Figure 14.3(b).
Thus, 3241f ive ÷ 43f ive = 34f ive with remainder 14f ive .
Figure 14.3
Practice Problems
Problem 14.20
Perform the following divisions:
(a) 32f ive ÷ 4f ive
(b) 143f ive ÷ 3f ive
(c) 10010two ÷ 11two .
Problem 14.21
For what possible bases are each of the following computations correct?
7
Problem 14.22
(a) Compute 121f ive ÷ 3f ive with repeated subtraction algorithm.
(b) Compute 121f ive ÷ 3f ive with long division algorithm.
Problem 14.23
(a) Compute 324f ive ÷ 4f ive with repeated subtraction algorithm.
(b) Compute 324f ive ÷ 4f ive with long division algorithm.
Problem 14.24
(a) Compute 1324seven ÷ 6seven with repeated subtraction algorithm.
(b) Compute 1324seven ÷ 6seven with long division algorithm.
Problem 14.25
Solve the following problems using the missing-factor definition of division,
that is, a ÷ b = c if and only if b · c = a.(Hint: Use a multiplication table for
the appropriate base).
(a) 21f our ÷ 3f our (b) 23six ÷ 3six (c) 24eight ÷ 5eight
Problem 14.26
Sketch how to use base seven blocks to illustrate the operation 534seven ÷
4seven .