Arithmetic Algorithms in Different Bases: Addition, Subtraction, Multiplication and Division
Arithmetic Algorithms in Different Bases: Addition, Subtraction, Multiplication and Division
Arithmetic Algorithms in Different Bases: Addition, Subtraction, Multiplication and Division
14 + 32 5 2+4=6 6>5 6 = 11 5 Place 1 under 4 + 2 and carry the 1 five to the fives column
14 + 32 5 1 1+1+3 = 5 5 = 10 5 Carry the 1 five to the 52 column. Place 0 under the five column The sum is 101 5
Example of Addition
Find:
1
123 342 6 5
1 1
123 342 6 05
35 2 12 47
2 2 57
0 1 5
12 0 3 3 4 25
11
1 2 03 3 4 25
3 1 15
Multiplying in Base 3
2011 2123 11022 2011 11022 12111023
Add in base 3
Carrying in Multiplication
245 26
2 x 5 =10 =146
245 26
4
2 x 4 =8, 8 +1 =9 9 = 1 36
245 26
34
2 x 2 =4, 4 + 1 =5, 5=56
11
245 26
5346
11
A Division Problem
2 45 132025 13 0
1 x 45 = 45 2 x 45 = 135 3 x 45 = 225 4 x 45 = 315
20 45 132025 13 02
0 x 45 =0
202 45 132025 13 02 0 13 2
Subtract in base 5
2023 45 132025 13 02 0 13 22 22 0
3 x 45 =225