Ancient Computers
Possible Future Research
Group in Taiwan implements CMOS adder using Chinese Abacus algorithms; see Electronic Chinese Abacus.
The maximum delay of the 32bit abacus adder is 0.91ns and 14% less than that of Carry Lookahead Adders for 0.18μm technology. The power consumption of the abacus adder is 3.1mW and 28% less than that of Carry Lookahead Adders for 0.18μm technology. ...
The use of Chinese abacus approach offers a competitive technique with respect to other adders.
A Chinese Abacus is fundamentally a 2nd abacus design.
If instead, the algorithms of the 3rd abacus design were implemented a much greater efficiency may be realized because there would be fewer tokens (bits) to manipulate.
Perhaps a Nonary Abacus is the way to do it.
Author's Foreword
In Tokyo in 1964 I bought a Soroban with Kojima’s book "The Japanese Abacus: Its Use and Theory". An event that sparked my interest in abaci ... and in computers.
After getting my M.Eng.(Elect.) at Cornell, my 30 year career included working on the design and construction of nuclear power plants, missile systems software engineering, and industrial and engineering computer systems sales and systems engineering.
Deciding to become a high school math teacher at the end of 2000, I took a History of Math course as part of my M.Ed. Program at UMassLowell. I was struck by how easy it would be to use ancient Roman, Greek, Egyptian, and Babylonian numerals to record abaci calculation results. Prof. Gonzalez said, "Yes, but how would you do multiplication and division?"
So as a hobby, I've worked the last 10 years to (re)discover the schematics and rules of the the Ancients used to do their accounting and engineering to support and empower the greatest empires in human history.
I hope you find Ancient Computers interesting and useful,
Steve Stephenson, M.Eng.(Elect.), M.Ed.
Math Teacher (precalculus and calculus)
Lowell High School, MA
http://sks23cu.net/MT/
July 15, 2010 (Retired 6/30/2013)
P.S.: Before you edit Ancient Computers, please be sure you read and understand the whole article and the Works Cited, and have watched and understand all of Stephenson's videos.
P.P.S.: Also available as of 7/15/2013 are paperback and eBook versions of Ancient Computers with essentially the same content (see Links). Because it's much easier to modify, updates will first show up on http://ethw.org/Ancient_Computers.
Introduction
If you stare at an old mechanical calculator it just sits there. It does no computing and is, therefore, not a computer. When a person starts punching the keys and turning the crank the persondevice computes and is a computer. So too, an abacus is just an assembly of beads and rods or lines and pebbles, and is not a computer. But when a person uses the abacus to perform calculations, then the personabacus is a computer. A remarkably fast and accurate computer, as demonstrated by a Japanese abacus (Soroban) operator who beat a skilled electric calculator operator in a contest in Tokyo on Nov 12, 1946 (Kojima1, p.12).
In classic Greek architecture, an abacus is a flat slab of marble on top of a column’s capital, supporting the architrave, or beam. Such an abacus (perhaps chipped beyond use in construction) makes a fine flat surface on which to inscribe lines; from which we get the name, counting board abacus.^{[1]} Developed later, constrained bead devices with less arithmetic functionality^{[2]} are also called abaci^{[3]}, e.g., Roman Hand Abacus, Chinese Suan Pan, and Japanese Soroban.
The Ancient Romans were excellent practical engineers and architects. Even today we marvel over their accomplishments and wonder how they did them. For example, in a BBC2 sponsored series Building the Impossible, Episode 2: The Roman Catapult, structural engineer Chris Wise wonders how the Romans did the calculations necessary to design and build the Roman Catapult used to destroy the walls of Jerusalem in 70 AD^{[4]}, when the math necessary wouldn't be developed for over 1500 years! (Watch 1st minute of http://youtu.be/q_dHpLAPM5I).
The Roman expression for 'to calculate' is 'calculos ponere'  literally, 'to place pebbles'. When a Roman wished to settle accounts with someone, he would use the expression 'vocare aliquem ad calculos'  'to call them to the pebbles.' (Jen) (See also Menninger, p.316)
Certainly the Romans would also use their abaci for engineering calculations.^{[5]} Indeed, in his reference 16, Prof. Netz writes, "... my guess is that, mental calculating prodigies aside, complicated calculations were always done with the abacus."
Historians have published conjectures for what ancient counting board abaci looked like and how they were used (Menninger, pp.295306; Ifrah, pp.200211; Lang). On p.205, Ifrah concludes, “Calculating on the abacus with counters was ... a protracted and difficult procedure, and its practitioners required long and laborious training.”
That is not true.
Clues
Clues for the true structure and methods of the ancient counting board abaci are contained in three extant artifacts: The Japanese Soroban (Kojima; Menninger, pp.307310), The Roman Hand Abacus (Ifrah, p.210; Menninger, p.305), and The Salamis Tablet (Ifrah, p.201; Menninger, p.299). Citing the book Mathematical Treatises by the Ancients compiled by Hsu Yo toward the close of the Later Han dynasty (A.D. 25—220), Japanese historians of mathematics and the abacus corroborate the existence of the Roman Hand Abacus (See Appendix C: Chinese Abacus).
Every rod on a Soroban represents one decimal digit (Figure 1). The bead above the bar represents five of the beads below the bar. Each rod can count from zero (no beads next to the bar) to nine (all beads moved next to the bar).

Replica (Lütjens) 
(Welser, p.422 & p.819) 
On the Roman Hand Abacus (Figure 2), each of the seven decimal digits has four beads in the lower slot and one bead in the upper slot; functioning exactly like the Soroban. It would be hard to understand why the Romans would not have developed similarly efficient methods to use the Hand Abacus as the Japanese did to use the Soroban (Kojima).
The two rightmost columns handle the Roman’s base12 fractions and both count to twelve, but differently. The left column counts to five in the lower slot and carries into the upper slot on a six count, repeats to a count of eleven, then carries into the decimal units column on a twelve count. But the rightmost column breaks each six count into two three counts. Why the difference?
Menninger, p.315, writes,
For more extensive and complicated calculations, such as those involved in Roman land surveys, there was, in addition to the hand abacus, a true reckoning board with unattached counters or pebbles. The Etruscan cameo and the Greek predecessors, such as the Salamis Tablet and the Darius Vase, give us a good idea of what it must have been like, although no actual specimens of the true Roman counting board are known to be extant.
Let us assume the obvious, that the Roman counting board abacus was The Salamis Tablet. Mapping the Roman Hand Abacus slot symbols onto The Salamis Tablet of Figure 3 results in Figure 4.
before 300BC (Ifrah, p.201) 
mapped onto The Salamis Tablet 
The mapping is perfect. It uses the bottom grid’s eleven lines exactly, no more, no less. However, to do so the Romans had to use a less preferred structure for one of the base12 digits. Why it’s less preferred is addressed below. But the fact that they had to make an engineering compromise is indicative that they used The Salamis Tablet as a design template for their Hand Abacus.
Note that both the bottom and top grids of The Salamis Tablet are divided into two equal halves. This implies that there could be equal number of pebbles on both sides. A point ignored by historians when forming their conjectures about how The Salamis Tablet was used. See also Appendix A: Arithmetic.
In Figure 4, the numbers on the left are the promotion factors that are dictated by the Roman Numerals mapped to the lines and spaces. For example, a promotion factor of 5 means that 5 pebbles on that line can be replaced by one pebble in the space above. All the spaces between lines have a promotion factor of 2. (The unused dashed line is explained below.)
Placing the Roman Numeral MCMXLVI = 1946 on the mapped Salamis Tablet demonstrates the use of the left side of the grid as a subtractive side. This is an extremely important observation as it reduces the number of pebbles needed tremendously, both in total and on each line or space. It makes the calculations much more efficient, robust, and rapid. An abacist would only need to carry a bag of pebbles that fits easily in a modern pants pocket to perform any of the four arithmetic calculations on any rational numbers with 10 decimal or 5 duodecimal (or sexagesimal) significant digits. (Stephenson, video 9.1)
As an example of using the subtractive side, if in the year 2009 = MMIX you wanted to calculate the age of a person born in 1946 = MCMXLVI, you would first make the 1946 in Figure 4 negative by moving each pebble to the opposite side of the vertical median line. (Follow along with pennies as pebbles and an abacus drawn on paper^{[6]}.) Then to make room for the next addend, you would slide each of the pebbles as far away from the vertical median line as possible, left or right. Now you would add 2009 = MMIX by placing pebbles next to the median line: two on the right side of the () or M line, one to the left side of the I line, and one to the right side of the X line.
Merging the pebbles and replacing the C pebble with two L pebbles and one of the X pebbles with two V pebbles (both operations being demotions), then removing zerosum pairs on every line and space (a pebble on each side of the median is a zerosum pair) you read the answer LXIIV = 63.
While IIV is not considered by some people as a proper Roman Numeral expression, there are some rare examples of documents printed with both IIV and IIX type constructions (Handy). Proper form aside, these constructions do reduce the pebble count on counting board abaci, both in total and on each line and space. Using these constructions, any number can be registered with no more than two pebbles on any line or space.
Moving the pebbles of an accumulated sum away from the median as far as possible, there will always be room near the median to place another additive or subtractive number. Before combining the pebbles the abacist can check the addend for accurate pebble placement without damaging the accumulated sum. This checking, or auditing feature adds greatly to the accuracy and robustness of these methods. After checking, the pebbles are combined and moved to the outside ready for the next number to be added. Constrained bead abaci like the Suan Pan and Soroban cannot do this addend checking.
Roman Hand Abacus Design Compromise
The preferred base12 digit configuration will never have more than two pebbles per line or space, but the other base12 digit configuration will have three pebbles on a line for counts of 3 or 9. That is objectionable, both for pebble count per line or space as well as the psychological problem of handling two types of entities on the board. The more alike everything is, the faster and more accurately the operator can perform. The width of the counting board abacus would also have to be increased by 40% (14 vs. 10 pebble spaces per line).
In article 26 of The Aqueducts of Rome, Frontinus states, “… the inch ajutage, has a diameter of 1 1/3 digits. Its capacity is [slightly] more than 1 1/8 quinariae, i.e., 1 1/2 twelfths of a quinaria plus 3/288 plus 2/3 of 1/288 more.” In base12, 1/8 is ;1,6 and (1+1/2)/12+3/288+2/3/288 is ;1,7,10. So Frontinus is saying 1;1,7,10 is slightly more than 1;1,6. Prof. Turner says that 1;1,7,10 results from the calculation of (1+1/3)^{2}/(1+1/4)^{2}, where the squares are calculated before dividing.
The Romans would not have been able to do this calculation on the Roman Hand Abacus, nor on a Roman Hand Abacus mapped onto The Salamis Tablet. The number 1;1,7,10 has three base12 fraction digits and a fourth digit would need to be calculated for proper rounding. The Roman Hand Abacus only has two base12 fraction digits.
So the Romans would have done the calculation on three coupled Salamis Tablets, each configured with 5 preferredconfiguration base12 digits, as in Figure 5. (For an important update see Frontinus' Duodecimal Abacus.)
Arranged for Multiplication or Division 
The pebbles in Figure 5 are placed for the first step in squaring 1 1/3. The radix shift (what we call an exponent of the base) is shown as a zerosum pair for both the Multiplicand and Multiplier to indicate no shift, so the unit line is the top line of the bottom grid.
Frontinus’ calculation, and others, are performed in a set of videos (Stephenson, videos 10.110.3, et al). It’s much easier and more insightful to watch someone doing the calculations than reading about how to do them. However, there are simplified tabular examples of Multiplication and Division in Appendix M.
Unused Dashed Lines
Why are the dashed lines unused? The Romans were borrowers. They borrowed The Salamis Tablet from the Greeks, but the Greeks borrowed it in turn from the Babylonians. The Babylonians used place value base60 sexagesimal numbers written with reed styluses in cuneiform on clay tablets. Each of their digits contained 0‑5 glyphs representing ten each and 0‑9 glyphs representing one each, where there was at least one glyph; so each sexagesimal digit could represent the integers 1‑59 (there was no zero symbol; see Figure 6).

To use The Salamis Tablet with base60 numbers every sequence of line, space, dashedline, and space, from bottom to top are assigned promotion factors of 5232. Notice that in both the Roman duodecimal and Babylonian sexagesimal configurations the value of the space below any line is one half the value above. In essence, the Romans used a subset of the sexagesimal system for their duodecimal system. (This argument is strengthened in Frontinus' Duodecimal Abacus.)
The Babylonians also did not have a radix symbol (decimal point). But the context was always specified so the radix shift was always known and the base60 number was, therefore, always a fraction less than 1 and greater than or equal to 1/60. So why would you need a radix symbol (or trailing zeros, for that matter)?
Menninger, pp.316317, writes
... in our example above, the first step was to multiply the tens, 2 × 3; but in which column is the result, 6, to be placed? The rules of position in multiplication on counting boards have been puzzled over since time immemorial ...
If all numbers are entered with the most significant digit in the top position, therefore as a fraction of one, along with the appropriate radix shift, then no complex positioning rules are needed. Just use the fact that M × b^{m} × N × b^{n} = M × N × b^{m + n}. Archimedes is given credit for proving this exponent rule, but the Babylonians had probably been using it for hundreds of years before.
The Babylonians lack of a radix symbol and elimination of complex positioning rules are strong evidence that the top grid on The Salamis Tablet is used for storage and manipulation of a radix shift, what we call an exponent of the base. Constrained bead abaci like the Suan Pan and Soroban do not have exponent capability.
So the Babylonians and perhaps the Sumerians had a computer using a place value number system and including the utility of exponential notation as early as 2300 BC.^{[7]} Digital computers in use more than 4000 years ago!
But without a zero symbol, how could the Babylonians handle the one in twenty abacus results^{[8]} with empty digits (embedded zeros)? Two ways come to mind:
 Convert to another unit of measure; e.g., 104 yards = 312 feet; or
 State the answer in multiple parts; e.g., 10403 yards = ten thousand, four hundred, and three yards.
Plausible Historic Sequence of Abaci Development
1st abacus design
Your hands have 10 digits.
9834 with 24 pebbles:
X marks unit line; promotion factors along the left; pebble values along the right.
2nd abacus design
Each hand has 5 digits, 2 make ten.
9834 with 16 pebbles:
3rd abacus design
Opposites, yinyang, malefemale, leftright.
Noting that 9=101=IX, 8=102=IIX, 4=51=IV, and 3=52,
9834 uses only 10 pebbles:
But since 100=(50)+(50) and 10=(5)+(5), [demotions]:
and since k+k=0 [cancellation of zero pairs]:
Thus, the value of 9834 can be represented with 6 pebbles (9834 = 10000  166).
4th abacus design
What if a number is larger than the abacus grid?
E.g., 9,834,000,000,000,000 = 0.9834 x 1016.
To the ancients the exponent^{[9]} would be a scaling number. They would enter 0.9834 at the top of the lower grid, then count how many lines down from the top the unit line should be, and enter that count in a new upper grid. The unit line on the bottom grid remains the top line.
Only 9 pebbles are needed to represent 9,834,000,000,000,000:
5th abacus design
60 = 10 x 6 = 5 x 2 x 3 x 2, so the abacus design is easily extended to sexagesimal, and the Babylonians' cuneiform numbers fit nicely into the structure; e.g., sqrt(2) = 1;24,51,10:
Why Base60?
But why base60, 360 degrees in a circle, 7 days in a week, etc.? All from Sumer around 2500 BC (Wilson), and inherited by the Babylonians.
The Sumerians were great innovators in matters of time. It is to them, ultimately, that we owe not only the week but also the 60minute hour. Such things came easily to people who based their maths not on a decimal system but on a sexagesimal one.
Why were these clever chaps, who went for 60 because it is divisible by 2, 3, 4, 5, 6, 10, 12, 15, 20 and 30, fascinated by stubbornly indivisible seven? ...
The Sumerians had a better reason for their septimalism. They worshiped seven gods whom they could see in the sky [using modern names they are: Sun, Moon, Mercury, Venus, Mars, Jupiter, and Saturn]. Reverently, they named the days of their week for these seven heavenly bodies. (Wilson)
The divisibility of 60 was a convenient coincidental consequence, but not the primary reason the Sumerians adopted a sexagesimal number system ^{[10]}. They did so from the periods of the two slowest moving of their seven sky gods. Jupiter and Saturn take 12 and 30 years, respectively, to track through the Zodiac. The observant Sumerians knew this. The least common multiple of 12 and 30 is 60.
In 60 years Jupiter would go through 5 cycles and Saturn 2. We have 5 fingers on each of 2 hands. In both cases 5+2=7, the number of sky gods. The mystical Sumerians would think of this as manifestations of the sky gods reflecting themselves in our anatomy.
The product of 12 and 30 is 360, the number of degrees in a circle; did the Sumerians define the 360 degree circle? Probably, because dividing the Zodiac into 360 degrees means Jupiter traverses 30 degrees in a year and Saturn 12 degrees; thereby coupling the periods of the gods Jupiter and Saturn.
The Sun tracks through the Zodiac in one year. Jupiter would track 1/12 of the way in that time. Why not divide a year into 12ths, i.e., 12 months; then the Sun tracks the same distance in one month that Jupiter tracks in one year; thereby coupling the periods of Jupiter and the Sun. And since the Sun would then track 30 degrees along the Zodiac in a month, why not divide the month into about 30 days, the period of Saturn? Then the Sun tracks about 1 degree every day. Of course the Sumerians knew that a year is actually 365 days simply by watching the sun track through the Zodiac, so maybe they just added a 5 day Holiday (like the Egyptians).
A geometric argument may also have contributed to the development of base 60. The Pythagorean Theorem was well known in ancient Mesopotamia; i.e., the square of the longest side of a right triangle is equal to the sum of the squares of the two shorter sides. The most famous and useful right triangle is the 345 right triangle; also known to very ancient peoples. The product of those three numbers is, you guessed it, 60.
Base Conversions
If N = F x 60^E is a sexagesimal number on an abacus, where the absolute value of F is a fraction of 1 and E is an integer, how could it be converted to a decimal number (without using the modern notion of logarithms)?
N = F x (6 x 10)^E = F x 6^E x 10^E = (F x 10^E) x 6^E.
F = F0 = a x 10^(1) + b x 10^(2) + ...
a = integer(10 x F0), F1 = 10 x F0  a
b = integer(10 x F1), F2 = 10 x F1  b
... continue until all required decimal fraction digits are found.
E = E0 = ... + e x 10^2 + d x 10 + c
c = remainder(E0 / 10), E1 = (E0  c) / 10
d = remainder(E1 / 10), E2 = (E1  d) / 10
... continue until exponent is exhausted.
Now multiply F x 10^E by 6^E to get N in base 10.
If N = F x 10^E is a decimal number on an abacus, where the absolute value of F is a fraction of 1 and E is an integer, how could it be converted to a sexagesimal number?
N = F x (60 / 6)^E = (F x 60^E) / 6^E.
F = F0 = a x 60^(1) + b x 60^(2) + ...
a = integer(60 x F0), F1 = 60 x F0  a
b = integer(60 x F1), F2 = 60 x F1  b
... continue until all required sexagesimal fraction digits are found.
E = E0 = ... + e x 60^2 + d x 60 + c
c = remainder(E0 / 60), E1 = (E0  c) / 60
d = remainder(E1 / 60), E2 = (E1  d) / 60
... continue until exponent is exhausted.
Now divide F x 60^E by 6^E to get N in base 60.
Similar procedures are used to convert base 12 to/from base 60 and base 10, etc.
Note that these conversion procedures would be a lot more complicated if the unit line on the abacus was not the top line; i.e., if the coefficient was not a fraction less than 1. The Babylonians surely converted bases, so this argues for their use of the top line on the lower grid of their abaci as their unit line and for all their numbers being fractions of a contextually defined unit.
Designers of The Salamis Tablet
Both the astronomical and the anthropomorphic features of The Salamis Tablet in sexagesimal mode lead to the conclusion that the Babylonians, or their ancestors the Sumerians, were its designers; see Figure 7 (First scene of video 9.1, Stephenson). The Egyptians^{[11]}, Greeks, and Romans borrowed it for decimal and duodecimal calculations.


In note 56, p.353, Robson writes, "Both Proust 2000 and Hoyrup 2002a have argued, from numerical errors in Old Babylonian mathematical problems, that a placemarked abacus board with five columns [digits] was in use by the early second millennium if not earlier. This topic is in desperate need of careful and extended study ..."
Perhaps this paper will aid that study, but certainly there are scholarly arguments strongly indicating that The Salamis Tablet was being used by the Old Babylonians by about 2000 BC or before.
Computing in Sexagesimal
Some assyriologists, using modern pen, paper, and computers to produce beautiful multifont typeset manuscripts, and using modern algebra and arithmetic as their basis for analysis, theorize that the Babylonians used tables of previously calculated values, recorded on clay tablets, to do their calculations.
For example, The MacTutor History of Mathematics' page, An Overview of Babylonian Mathematics (retrieved 7/7/2005), states:
Perhaps the most amazing aspect of the Babylonian's calculating skills was their construction of tables to aid calculation. Two tablets ... give squares of the numbers up to 59 and cubes of the numbers up to 32. ... The Babylonians used the ... formula ab = [ (a + b)^{2}  (a  b)^{2} / 4 which shows that a table of squares is all that is necessary to multiply numbers, simply taking the difference of the two squares that were looked up in the table then taking a quarter of the answer.
To use this formula to multiply two five digit sexagesimal numbers proceed as follows:
(;a_{1},a_{2},a_{3},a_{4},a_{5}) (;b_{1},b_{2},b_{3},b_{4},b_{5})
= (;a_{1}) (;b_{1},b_{2},b_{3},b_{4},b_{5})
+ (;0,a_{2}) (;b_{1},b_{2},b_{3},b_{4},b_{5})
+ (;0,0,a_{3}) (;b_{1},b_{2},b_{3},b_{4},b_{5})
+ (;0,0,0,a_{4}) (;b_{1},b_{2},b_{3},b_{4},b_{5})
+ (;0,0,0,0,a_{5}) (;b_{1},b_{2},b_{3},b_{4},b_{5})
= (;a_{1}) (;b_{1}) + (;a_{1}) (;0,b_{2}) + (;a_{1}) (;0,0,b_{3}) + (;a_{1}) (;0,0,0,b_{4}) + (;a_{1}) (;0,0,0,0,b_{5})
+ (;0,a_{2}) (;b_{1}) + (;0,a_{2}) (;0,b_{2}) + (;0,a_{2}) (;0,0,b_{3}) + (;0,a_{2}) (;0,0,0,b_{4}) + (;0,a_{2}) (;0,0,0,0,b_{5})
+ (;0,0,a_{3}) (;b_{1}) + (;0,0,a_{3}) (;0,b_{2}) + (;0,0,a_{3}) (;0,0,b_{3}) + (;0,0,a_{3}) (;0,0,0,b_{4}) + (;0,0,a_{3}) (;0,0,0,0,b_{5})
+ (;0,0,0,a_{4}) (;b_{1}) + (;0,0,0,a_{4}) (;0,b_{2}) + (;0,0,0,a_{4}) (;0,0,b_{3}) + (;0,0,0,a_{4}) (;0,0,0,b_{4}) + (;0,0,0,a_{4}) (;0,0,0,0,b_{5})
+ (;0,0,0,0,a_{5}) (;b_{1}) + (;0,0,0,0,a_{5}) (;0,b_{2}) + (;0,0,0,0,a_{5}) (;0,0,b_{3}) + (;0,0,0,0,a_{5}) (;0,0,0,b_{4}) + (;0,0,0,0,a_{5}) (;0,0,0,0,b_{5})
= (1;) [(;a_{1}) (;b_{1})]
+ (;1) [(;a_{1}) (;b_{2}) + (;a_{2}) (;b_{1})]
+ (;0,1) [(;a_{1}) (;b_{3}) + (;a_{2}) (;b_{2}) + (;a_{3}) (;b_{1})]
+ (;0,0,1) [(;a_{1}) (;b_{4}) + (;a_{2}) (;b_{3}) + (;a_{3}) (;b_{2}) + (;a_{4}) (;b_{1})]
+ (;0,0,0,1) [(;a_{1}) (;b_{5}) + (;a_{2}) (;b_{4}) + (;a_{3}) (;b_{3}) + (;a_{4}) (;b_{2}) + (;a_{5}) (;b_{1})]
+ (;0,0,0,0,1) [(;a_{2}) (;b_{5}) + (;a_{3}) (;b_{4}) + (;a_{4}) (;b_{3}) + (;a_{5}) (;b_{2})]
+ (;0,0,0,0,0,1) [(;a_{3}) (;b_{5}) + (;a_{4}) (;b_{4}) + (;a_{5}) (;b_{3})]
+ (;0,0,0,0,0,0,1) [(;a_{4}) (;b_{5}) + (;a_{5}) (;b_{4})]
+ (;0,0,0,0,0,0,0,1) [(;a_{5}) (;b_{5})]
If only five significant figures are needed in the result, the terms in red can be discarded. Then there are nineteen products to calculate using the formula a_{i}b_{j} = [ ( a_{i} + b_{j}_{ })^{2}  ( a_{i}  b_{j })^{2 }] / 4. The result of a_{i} + b_{j} will be of the form (1;c_{ij}) half the time, in which case (a_{i} + b_{j})^{2} = [(1;) + (;c_{ij})]^{2} = (1;) + 2(;c_{ij}) + (;c_{ij})^{2}.
On average, the calculation of each partial product would require: two additions, two table lookups, half a doubling, two subtractions, and two halvings. Combining the 19 partial products will require another 18 additions, being careful to add into the proper place value. In all, there are 56 additions, 38 table lookups, 8 doublings, 38 subtractions, and 38 halvings; a total of 178 operations!
How would you keep track of all this if you're limited to using reeds to write cuneiform on clay tablets? How many errors would you make? How would you find them?
Wouldn't it be simpler to suggest that the Babylonians developed and used abaci, with builtin error checking, to do their calculations?
YBC 7289 sqrt(2) Calculation
"The Babylonian clay tablet YBC 7289 (c. 18001600 BCE) gives an approximation of sqrt(2) in four sexagesimal figures" (retrieved 7/4/2010 from http://en.wikipedia.org/wiki/Square_root_of_2#History) as 1;24,51,10, which is approximately 1.414212963 in decimal, a remarkably accurate achievement for the time (0.0000423% too small).
The calculation of sqrt(2) on a set of sexagesimal Salamis Tablets using Heron's Method (see Figure 8) takes 25 minutes in Stephenson's videos 8.18.3.

Heron's method in algebra:
 a_{0} = 1, b_{0} = 2;
 a_{1} = (a_{0} + b_{0}) / 2, b_{1} = b_{0} / a_{1};
 …
 a_{i} = (a_{i 1} + b_{i 1}) / 2, b_{i} = b_{0} / a_{i};
 When b_{i} ≈ a_{i}, then b_{i} ≈ sqrt(b_{0}) = sqrt(2).
If Historians used the methods they think the Babylonians used (table lookups and such), and did it using just clay and reed styluses, they would probably take a lot longer than Stephenson's videos ... a LOT longer. The Historians should record their own video and post it to YouTube so we can compare its length to Stephenson's.
A possible analogy: in their early arithmetic practice exercises, modern elementary students learn how to perform long division and multiplication, and document the methods on paper. Then they are given four function electronic calculators and suddenly all their practice exercises document only the problem statement and the answer, with no work shown.
Just like the school tablets of the Old Babylonian period!^{[12]}
Conclusions
Features of the Roman Hand Abacus indicate that the Romans used a counting board abacus exactly like The Salamis Tablet for their heavyduty calculations; it also gives us the promotion factors between lines and spaces. The Subtractive Notation of Roman Numerals indicates that one side of The Salamis Tablet grids are used for the additive part of a number and the other side for the subtractive part of the number.
The requirement of a four digit base12 fractional answer to the calculation in article 26 of the book, The Aqueducts of Rome, indicates that the Romans used The Salamis Tablet in multiple configurations: decimal or duodecimal.
From these observations a consistent and powerful set of operational methods that the Romans must have used on The Salamis Tablet abacus has been identified.
The linkage between promotion factors of Roman duodecimal and Babylonian sexagesimal configurations, as well as astronomical and anthropomorphic features in the structure of the sexagesimal configuration, lead to the conclusion that the Babylonians, or their ancestors the Sumerians, were the designers of The Salamis Tablet and that they used much the same operational methods as the Romans, albeit with a different base. The Babylonians' lack of a radix point symbol suggests use of the upper grid of The Salamis Tablet to store and manipulate a radix point shift, or scaling factor; what we call an exponent of the base.
Two important conclusions are reached:
 The ancients had FAST and POWERFUL computers, with BUILTIN ERROR CHECKING, to use to power their empires; and
 Now we know what those computers looked like and how they were used to perform all four arithmetic operations on decimal, duodecimal, and sexagesimal numbers. Numbers that could be represented in an exponential notation, where both the fractional part and the exponential part could be positive or negative. The decimal numbers could have up to 10 significant digits in their fractional part and 4 significant digits in their exponent part. For duodecimal or sexagesimal numbers the fraction and exponent parts had up to 5 and 2 significant digits.
Notes
 ↑ On pages 1718, Pullan writes, "The Latin 'abacus', derived from the earlier Greek word 'abax', meant, simply, 'a flat surface'." The word 'abacus' did not derive from the Hebrew word 'abaq', dust, "and there is little evidence to support a common idea that a table strewn with dust, or sand, was at one time widely used for reckoning." On the other hand, "Sanded tables certainly seem to have been used for the drawing of geometrical figures, ... But it is not so easy to imagine counters being moved easily from place to place on a sandy surface." (See Note 5 of Appendix A: Arithmetic.) Menninger, p.301, writes, "The [Romans] called the counting board or table ... the abacus; the Greek work abax means 'round platter' or 'stemless cup' and thus also a 'table without legs.' It is unlikely that this word was derived from the Semitic 'abq' (dust) ..."
 ↑ Constrained bead abaci have: no addend error checking, no mixed positive and negative numbers, no ability to handle multiple number bases, and no exponents.
 ↑ On page 89, Pullan writes, "It is, strictly speaking, a misuse of the word [abacus] to apply it to a beadframe calculating device."
 ↑ "In 70AD the Romans laid siege to Jerusalem. The most fearsome weapon in their armoury was a massive torsion spring catapult that towered over eight metres high. It could fire boulders weighing twentysix kilos that destroyed Jerusalem's walls and was so powerful that only the Roman Army's elite tenth legion had the skill to build it. ... Roman eyewitness accounts tell of how devastating the monster catapult was  and how it could backfire, killing their own men as well as the opposition if even the smallest detail was wrong." (Retrieved 8/21/2010 from http://www.materials.ac.uk/awareness/building/romancatapult.asp.)
 ↑ On page 94, Pullan writes, " ... it is rare to find ... anyone ... who understands how calculations were made and accounts kept before the introduction of Arabic figures. Too often it is stated, even in authoritative books, that when Roman figures were used there must have been difficulty because of the absence of a sign for zero. This would have been true only if people of the time had been foolish enough to try to do their 'sums' in the same manner that we now use Arabic figures, i.e. by writing on paper. Instead, it was the practice to ... perform the actual calculation with counters on the abacus or countingboard, and to read off the result from the counters as they lay on the board. It could then be recorded on paper in the written notation."
 ↑ Or print and label Sks23cuabacus10.pdf. Also available is Sks23cuabacus60.pdf for base60. Cut and paste multiple copies together to make full Salamis Tablets. Or print this full size (36 in. x 24 in. = Arch D) counting board abacus on a BIG printer TheStephensonAbacusArchD.pdf
 ↑ MacTutor History of Math says that the Akkadians invented the abacus about 2300 BC. On p.133, Ifrah writes, "There is at this time no doubt that the abacus indeed existed in Mesopotamia, and even coexisted with the archaic system of calculi, most probably throughout the third millennium BCE. ... the use of the abacus gave rise to a guild ... the caste of the professional abacists, who no doubt jealously preserved the secrets of their art." Keeping the abacus secret would explain why little documentation of abacus use survives. The maintenance of secrecy about technological advances extends to any State. When the author worked for an advanced computer manufacturer, they had to get a license from the State Dept. for every computer they wanted to ship outside the U.S.
 ↑ Number of 1 digit numbers = 59
Number of 2 digit numbers = 59 × 59
Number of 3 digit numbers = 59 × 60 × 59
Number of 4 digit numbers = 59 × 60 × 60 × 59
Number of 5 digit numbers = 59 × 60 × 60 × 60 × 59
Total number of numbers
= 59 ( 1 + 59 ( 1 + 60 + 60^{2} + 60^{3} ) )
Review:
60 S  S = (60 + 60^{2} + 60^{3} + 60^{4} )  (1 + 60 + 60^{2} + 60^{3} )
S = (60^{4}  1) / (60  1)
Total number of numbers
= 59 ( 1 + 59 (60^{4}  1) / 59 )
= 59 × 60^{4}
Total number of numbers without embedded zeros
= 59 ( 1 + 59 + 59^{2} + 59^{3} + 59^{4} )
= 59 ( 59^{5}  1 ) / ( 59  1 )
= 59 ( 59^{5}  1 ) / 58
P(a number without embedded zeros)
= ( 59 ( 59^{5}  1 ) / 58 ) / ( 59 × 60^{4} )
= ( 59^{5}  1 ) / ( 58 × 60^{4} )
P(a number with embedded zeros)
= 1  ( 59^{5}  1 ) / ( 58 × 60^{4} )
≈ 0.048898070987654 ≈ 5%, or 1 in 20  ↑ Archimedes is often credited with the invention of exponents, due to his treatise, The Sand Reckoner. His life spans c. 287 BC – c. 212 BC, which is after the time The Salamis Tablet was crafted in marble, c. 300 BC. Is it possible that Archimedes' inspiration was The Salamis Tablet?
 ↑ Smith, G.R., argues that the Hindus originated the sexagesimal system based on their calendar and its inherent astronomical knowledge. Even Ifrah, p.102, writes, "the oldest Iranian civilization" were the Elamites, who spoke a language "some linguists think ... belongs to the Dravidian group (southern India) ... ."
 ↑ Smith, D.E., p.160, writes, "That the Egyptians used an abacus is known on the testimony of Herodotus, who says that they 'write their characters and reckon with pebbles, bringing the hand from right to left, while the Greeks go from left to right.'" Also see Appendix E: EgyptianBabylonian Link.
 ↑ The Old Babylonian period is the time where we get most of our clay tablet artifacts and knowledge of Babylonian mathematics (Melville).
Works Cited
Barnard, Francis Pierrepont, (1916). The CastingCounter and the CountingBoard, A Chapter in the History of Numismatics and Early Arithmetic. Oxford University Press, London.
Fernandes, Luis (2013). "Abacus: The Art of Calculating With Beads". Retrieved August 21, 2015.
Friberg, Jöran. (2005). Unexpected Links Between Egyptian and Babylonian Mathematics. World Scientific Publishing Co. Pte. Ltd., Singapore.
Frontinus, S. J. The Aqueducts of Rome. (B. Thayer, Producer, 2003, May 14) Retrieved June 21, 2010, from LacusCurtius: Into the Roman World: http://penelope.uchicago.edu/Thayer/E/Roman/Texts/Frontinus/De_Aquis/text*.html
Handy, C. (2000, August 15). Roman Numeral Year Dates: A Conversion Guide. Retrieved June 21, 2010, from http://www2.inetdirect.net/%7Echarta/Roman_numerals.html
Ifrah, G. (2000). The Universal History of Numbers. New York, New York, U.S.A.: John Wiley & Sons.
Jen, Dr. (1998, April 25). Roman Counting Instruments. Retrieved June 21, 2010, from The Math Forum at Drexel University: http://mathforum.org/library/drmath/view/57572.html
Kojima, T. Tokyo, Japan: Charles E. Tuttle Company.
 (1954) The Japanese Abacus: Its Use and Theory.
 (1963) Advanced Abacus: Japanese Theory and Practice.
Lang, M.L.:
 “Herodotus and the abacus”, Hesperia, xxvi (1957), 271–87.
 “The abacus and the calendar”, Hesperia, xxxiii (1964), 146–67.
Lütjens, J. (2010, April 5). AbacusOnlineMuseum. (April 5, 2010) Retrieved June 21, 2010, from Jörn's Online Museum: http://www.joernluetjens.de/sammlungen/abakus/abakusen.htm. Another web site, http://www.tertiscoalexandru.com/abacus_project.html, cites the source of the image as Museo Nazionale Ramano at Piazzi delle Terme, Rome.
Maher, David W. and Makowski, John F. Literary Evidence for Roman Arithmetic with Fractions. Classical Philology 96 (2001), University of Chicago.
Melville, D. (1999, September 3). Old Babylonian Mathematics. Retrieved July 6, 2010, from Mesopotamian Mathematics: http://it.stlawu.edu/%7Edmelvill/mesomath/obsummary.html
Menninger, K. (1969). Number Words and Number Symbols: A Cultural History of Numbers. (P. Broneer, Trans.) New York, New York, U.S.A.: Dover Publications.
Netz, Reviel. (2002). Counter Culture: Towards a History of Greek Numeracy. History of Science, vol. 40, p.321352.
Pullan, J.M. (1968). The History of the Abacus. New York, New York, U.S.A.: Frederick A. Praeger, Inc.
Robson, Eleanor. (2008). Mathematics in ancient Iraq: a social history. Princeton University Press.
Sachs, A. J. (1947). Babylonian Mathematical Texts I. Reciprocals of Regular Sexagesimal Numbers . Journal of Cuneiform Studies, Vol. 1, No. 3 (1947), pp. 219240. Published by: The American Schools of Oriental Research. Stable URL: http://www.jstor.org/stable/1359434
Smith, David Eugene. (1958). History of Mathematics. Dover Publications.
Smith, Glenn R. (2000, August 31). Retrieved July 12, 2010, from http://www.glenn.freehomepage.com/writings/articles.htm:
 The Six Thousand Year Barrier
 Phi, Pi and the Pentacle
 The Sidereal Zodiac
Stephenson, S. K. (2009, August). How to use a Counting Board Abacus. Retrieved June 21, 2010, from http://www.youtube.com/view_play_list?p=545ABCC6BA8D6F44
Turner, J. H. (2007, December 19). Roman Elementary Mathematics: The Operations. (The Classical Journal, Vol. 47, No. 2 (Nov. 1951), 63‑74 and 106‑108) Retrieved June 21, 2010, from http://penelope.uchicago.edu/Thayer/E/Roman/Texts/secondary/journals/CJ/47/2/Roman_Elementary_Mathematics*.html#note4
Welser, M. (1682). Opera historica et philologica, sacra et profana. Referenced by Menninger on p. 305 of his book, above. Retrieved June 21, 2010, from Open Library: http://openlibrary.org/books/OL23366519M/Opera_historica_et_philologica_sacra_et_profana.
Wilson, Andrew. the power of seven, The Classics Pages, The Economist, Dec 20, 2001. Retrieved July 4, 2010, from http://www.users.globalnet.co.uk/%7Eloxias/week.htm
Appendix A: Arithmetic
"This illustration of Arithmetic is from the Margarita Philosophica which first came out in 1503. Arithmetic is illustrated by a beautiful lady holding a book in each hand. Sitting at two tables are Boethius and Pythagoras." (Text retrieved 8/26/2010 from http://www.counton.org/museum/floor4/gallery11/gal11_p2.html.)
(Image retrieved 8/26/2010 from http://philosophy.uchicago.edu/courses/20072008autumn.html. Also see http://www.maa.org/publications/periodicals/convergence/mathematicaltreasuresmargaritaphilosophicaofgregorreisch and http://books.google.com/books?id=yh5NAAAAcAAJ&dq=Margarita%20Philosophica&pg=PT179#v=onepage&q=Margarita%20Philosophica&f=false)This illustration of an abacist is from Jakob Koebel's Rechenbiechlin, Augsburg 1514. (From http://daten.digitalesammlungen.de/~db/bsb00009229/image_5; another Koebel abacist is here: http://daten.digitalesammlungen.de/~db/bsb00009315/image_7).
Note that:
 Pythagoras and Koebel's abacists have their abaci oriented with the median line vertical;
 The horizontal lines are equally divided so the same number of jettons can be accommodated on either side of the median line;
 A top horizontal line is marked with an X, (probably) to indicate the unit line;
 On both sides of the abaci are jettons on and in the spaces between horizontal lines; and
 None of the abaci have sand on them.
On pp.313314, Prof. Barnard describes and quotes from Legendre, François, 1753. L'Arithmétique en sa perfection, Paris, pp. 497528, Traité de l'arithmetiqué par les jetons:
It was permissible to set and to work the jettons of the sum without using the spaces [between lines], ... But it was much more convenient to anyone who was expert at the practice, and less confusing to the eye, to reduce the number of jettons by using the spaces.
Used until late 16th century: http://www.maa.org/publications/periodicals/convergence/countingboardsaverybriefhistoryofcountingboards.
Appendix C: Chinese Abacus
In the first chapter of his second book, Kojima writes,
The only reliable account of the origin of the Oriental abacus is in a book entitled Mathematical Treatises by the Ancients compiled by Hsu Yo toward the close of the Later Han dynasty (A.D. 25—220) at the beginning of the third century and annotated by Chen Luan in the sixth century. This book gives some information about various reckoning devices of those days and was one of the Ten Books on Mathematics (Suanhweishichu) which were included among the textbooks to be read for government service examinations in China and Japan for many centuries.
Chen Luan in his note gives the following description of the calculating device: "The abacus is divided into three sections. In the uppermost and lowest section, idle counters are kept. In the middle section designating the places of numbers, calculation is performed. Each column in the middle section may have five counters, one uppermost fiveunit counter and four differently colored oneunit counters."
The extent to which the counting board was used may be told by Hsu Yo’s poetical description of the board. The verse, which is highly figurative and difficult to decipher, may read: 'It controls the four seasons, and coordinates the three orders, heaven, earth, and man.' This means that it was used in astronomical or calendar calculations, in geodetic surveys, and in calculations concerning human affairs.
The reader will notice a close similarity between this original Oriental abacus and the Roman grooved abacus, except for the difference that counters were laid down in the former while they were moved along the grooves in the latter. Because of this and other evidence, many leading Japanese historians of mathematics and the abacus have advanced the theory that the abovementioned prototype of the abacus was the result of the introduction into the East of the Roman grooved abacus.
The following corroborative pieces of evidence in favor of this theory are cited in the latest works by Prof. Yoemon Yamazaki and Prof. Hisao Suzuki of Nihon University.
(1) The original Chinese abacus has a striking resemblance in construction to the Roman grooved abacus, as is evident in the foregoing quotation from Hsu Yo’s book, e.g., four oneunit counters and one fiveunit counter in each column.
(2) The method of operation of the ancient Chinese abacus was remarkably similar to the ancient Roman method. [e.g.,] In ancient China, multiplication and division were performed by the repetition of addition and subtraction
(3) Traces of reckoning by 5’s may be found in the Chinese pictorial representation of reckoningblock calculation as in the Roman numerals, as: six: VI (5 + 1) seven: VII (5 + 2) eight: VIII (5 + 3) four: IV (5  1)
(4) Trade was carried on between China and Rome. Chinese historical documents written in the Han dynasty (206 B.C.A.D. 220) furnish descriptions of two land routes, called silk roads, connecting the two great empires. ...Until the introduction of Western mathematics, mathematicians in China and Japan utilized reckoningblock calculation, which had not only been developed to the point of performing basic arithmetic operations but was also used to solve quadratic, cubic, and even simultaneous equations. It is presumed that they did not think it worth while to concern themselves with the other reckoning devices, including the abacus, which was, in their eyes, an inferior calculator barely capable of performing multiplication and division by means of the primitive cumulative method of addition and subtraction. Probably another reason which alienated mathematicians from these reckoning devices was that these instruments gave only the result of calculation, and were incapable of showing either the process of calculation or the original problem.
In ancient times China was primarily a nomadic and agricultural country, and business in those days had little need of instruments of rapid calculation. Anyway a millennium after the Han dynasty there was no record of the abacus. During the dozen centuries beginning with its first mention in the Han dynasty until its development, this primitive calculator remained in the background.
However, with the gradual rise of commerce and industry, the need for rapid calculation grew. The modern, highly efficient abacus, which probably appeared late in the Sung dynasty (906—1279), came into common use in the fourteenth century. The great rise and prosperity of free commerce and industry during the Ming dynasty (1368  1636) are presumed to have promoted the use and development of the abacus. A number of books on mathematics brought out in those days give descriptions of the modern Chinese abacus and give accounts of the modern methods of abacus operation, including those of multiplication and division.
So the Chinese DID NOT invent the Abacus. They DID copy the Roman Hand Abacus after trading with the Romans over the Silk Road. Then they dismissed it, thinking it an inferior device, and ignored it for a thousand years, until the rise of business required faster arithmetic calculation speed than their numerals or homegrown devices were capable of.
The mention of the abacus by Hsu Yo in 220 AD corraborates the existance of the Roman Hand Abacus.
Appendix E: EgyptianBabylonian Link
The following blockquotes are page referenced excerpts from Friberg. interspersed with comments by Ancient Computers Author tagged with "[ACA]".
[p.27] ... in OB [Old Babylonian] cuneiform texts special cuneiform signs are used for the Babylonian basic fractions 3' (= 1/3), 2' (= 1/2), 3" (= 2/3), and 6" (= 5/6). In a similar way, special notations are used in [Egyptian] hieratic mathematical papyri for the hieratic basic fractions 6' (= 1/6), 4' (= 1/4), 3' (= 1/3), 2' (= 1/2), and 3" (= 2/3). All other fractions, not counting fractions of measures, are written as "parts" (also called "unit fractions") with dots over the numbers.
[ACA] 6" and 3" are strong indicators of the use of subtractive notation on a counting board abacus. Here's how they would be represented:
6" = 5/6 = 1 – 10/60:
3" = 2/3 = 1 – 20/60:
[p.32] Hence, if the quantity is 1 – 1/10 times 10 = 10 – 1 = 9. ... (Note that, apparently, in this exercise 9 divided by 10 is not represented by 3" + 1/5 + 1/30, a sum of parts, as in the 1/10 · n table in P.Rhind and in P.Rhind # 6, but by 1 – 1/10, a difference!)
[p.113] In reference to the problem in Egyptian papyrus P.Cairo § 2 b (DMP # 5), "If it is said to you: 6" + 1/10 + 1/20 + 1/120 + 1/240 + 1/480 + 1/510, what remainder will complete 1?", Friberg writes, "The following tentative explanation ... is ... that while the author of P.Cairo, living in Hellenistic Egypt, nominally counted with traditional sums of parts [unit fractions] (traditional Egyptian), and with what looks very much like common fractions (a late Egyptian invention??), he may also have operated covertly with sexagesimal fractions (Babylonian)! ... [because] 6" + 1/10 + 1/20 + 1/120 + 1/240 + 1/480 can be equated to the sexagesimal fractions ;50 + ;06 + ;03 + ;00 03 + ;00 15 + ;00 07 30."
[p.128] In P.Cairo § 11 a (DMP # 36), ... Apparently, all calculations are carried out by use of sexagesimal arithmetic, although the results of the computations are expressed in terms of sums of parts.
[p.137] Referencing "m. P.Cairo §§ 1516 (## "3233")": "(Without the use of covert counting with sexagesimal numbers, the answer w = 8 3' 1/10 1/60 would have been instead that w = 8 3' 1/14 1/21.)"
[pp.165166] Referencing P.British Museum 10794: "This small fragment contains only the first ten lines of two multiplication tables, one for 1/90, the other for 1/150. Note that 90 and 150 both can be expressed as regular sexagesimal numbers, 90 = 1 30 and 150 = 2 30. Their reciprocals are the sexagesimal fractions ;00 40 and ;00 24. The computation of the two tables probably made use of sexagesimal arithmetic. In his paper about Greek and Egyptian techniques of counting with fractions, Knorr, HM 9 (1982), 156, confessed that he (like Parker before him) was puzzled by 'idiosyncrasies' in the computational procedure ... Why was 2 · 1/150 given as 1/90 + 1/450 and not as 1/75, and why was 3 · 1/150 given as 1/60 + 1/300 and not as 1/50, and so on? ...The assumption that the scribe used sexagesimal arithmetic leads to a much simpler explanation ... . The ... slightly puzzling feature is why, in line 4, the sexagesimal fraction ;01 36 was not simply resolved as ;01 + ;00 36 = 1/60 + 1/100, and why similarly, in line 9, the sexagesimal fraction ;03 36 was not resolved as ;03 + ;00 36 = 1/20 + 1/100."
[pp.189190] The rather detailed analysis ... above of the contents of P.Cairo clearly shows that in the third century BCE, if not sooner, Egyptian mathematics had become deeply influenced by Babylonian mathematics. ... Above all, the Babylonian influence is evident in the hidden use of sexagesimal fractions as a convenient computational tool, side by side with the Egyptian traditional use of sums of parts ...
[p.192] ... there can be little doubt that there were no significant differences between the general level and extent of the knowledge of mathematics in Egyptian demotic mathematical texts and in Mesopotamian cuneiform mathematical texts towards the end of the first millennium BCE, and that there are no signs of influence on either from highlevel Greek mathematics.
[pp.269270] ... the initial development of mathematical ideas started at a very early date with the invention of words for sexagesimal or decimal numbers in various ancient languages, and with the widespread use of number tokens in the Middle East. A major step forward was then the invention of an integrated family of number and measure systems, in connection with the inventions of writing in Mesopotamia and neighboring areas of Iran in the late fourth millennium BCE. There must have been a similar development in Egypt, about which not much is known at present. A small number of known examples of protoSumerian, Old Sumerian, Old Akkadian, and Eblaite mathematical exercises and table texts are witnesses of the continuing important role played by education in mathematics in the scribe schools of Mesopotamia throughout the third millennium [BCE].
Then there is a strange gap in the documentation, with almost no mathematical texts known from the Ur III period in Mesopotamia towards the end of the third millennium BCE. nevertheless, at some time in the Ur III period a new major step in the development of mathematics was taken with the invention of sexagesimal place value notation. To a large part as a result of that invention, mathematics flourished in the Old Babylonian scribe schools in Mesopotamia. Simultaneously, mathematics may have reached a comparable level in Egypt, and, in spite of the fundamentally different ways of counting in the two regions, there was clearly some communication of mathematical ideas between Egypt and Mesopotamia.
A few late Kassite mathematical texts seem to indicate that the Old Babylonian mathematical tradition was still operative, although reduced to a small trickle, in the second half of the second millennium BCE.
Then follows a new strange gap in the documentation.
[ACA] Perhaps because of the eruption of Thera that destroyed the Minoan civilization, and much of the normal life in the greater eastern Mediterranean area.
When mathematics flourished again in Mesopotamia in the Late Babylonian and Seleucid periods in the second half of the first millennium BCE, possibly in connection with the rise of mathematical astronomy, a great part of the Old Babylonian corpus of mathematical knowledge had been taken over relatively intact. However, for some reason, the transmission of knowledge cannot have been direct, which is shown by an almost complete transformation of the mathematical vocabulary.
Similarly in Egypt, after a comparable gap in the documentation, there was a new flourishing of mathematics, documented by demotic and Greek mathematical papyri and ostraca from the Ptolemaic and Roman periods. Some of the Greek mathematical texts are associated with the Euclidean type of highlevel mathematics. Except for those, the remainder of the demotic and Greek mathematical texts show clear signs of having been influenced both by Egyptian traditions, principally the counting with sum of parts, and by Babylonian traditions. An interesting new development was the experimentation with new kinds of representations of fractions, first sexagesimally adapted sums of parts, soon to be abandoned in favor of binomial fractions, the predecessors of our common fractions.
The observation that Greek ostraca and papyri with Euclidean style mathematics existed side by side with demotic and Greek papyri with Babylonian style mathematics is important for the reason that this surprising circumstance is an indication that when the Greeks themselves claimed that they got their mathematical inspiration from Egypt, they can really have meant that they got their mathematical inspiration from Egyptian texts with mathematics of the Babylonian type.
Appendix G: Geometric Sequences
Doubling using two tables from 1 to 2^68 = 295,147,905,179,352,825,856 (21 digits). Plus thoughts on calculating geometric sequences with multipliers from 3 to 32.
Appendix M: Multiplication and Division Examples
In Multiplication a partial product for every Multiplier pebble on a solid line is added into the Product at the proper place value, and the Multiplier pebble is taken away. If there are no more Multiplier pebbles on solid lines (representing powers of the base) then a Multiplier pebble in a space is replaced by the equivalent number of pebbles on the line below, or the Multiplier is doubled and the Multiplicand halved, or vice versa. When there are no more Multiplier pebbles the product is complete. The radix shift of the Product is the sum of the Multiplicand and Multiplier radix shifts.
For example, to multiply the decimal numbers 0.84 and 0.93:
Step  Multiplicand  Remaining Multiplier  Incremental Partial Products  Accumulated Partial Product 

0  0.84  0.93  0  0 





1  0.84  1.00  0.84  0 


0.10  



0.05  



0.01  



0.01  






2  0.84  0.10  0.084  0.84 


0.05  



0.01  



0.01  






3  0.84  0.05  
0.756 


0.01  0.0084  


0.01  0.0084  





4  0.42  0.10  0.042  0.7392 





5  0.42  

0.7812 
In steps 14 the numbers in the Multiplier column are the values of individual pebbles. In step 4, instead of changing 0.05 to five 0.01s, the multiplier was doubled and the multiplicand was halved. The full abacus steps of this multiplication in base 3 is in Appendix N: Nonary Abacus.
In Division appropriate additive or subtractive copies of partial products of the Divisor are combined with the Dividend until the remaining Dividend is zero, accumulating the partial product pebbles in the middle grid as the Negative of the Quotient. When the Dividend is zero, simply slide all the pebbles in the middle grid to the opposite side of the median and you have the Quotient. The Quotient’s radix shift will be the radix shift of the Dividend added to the opposite of the radix shift of the Divisor.
For example, to divide the decimal number 0.84 by 0.93:
Step  Divisor  Accumulated Neg. Quotient 
Incremental Neg. Quotient 
Dividend Increment 
Remaining Dividend 

0  0.93  


0.84 






1  0.93  
1.0  0.93  0.84 






2  0.93  1.0  0.1  0.093  0.09 






3  0.93  0.9  0.001  0.00093  0.003 



0.001  0.00093  



0.001  0.00093  






4  0.93  0.903  0.0001  0.000093  0.00021 



0.0001  0.000093  






5  0.93  0.9032  0.00001  0.0000093  0.000024 



0.00001  0.0000093  



0.00001  0.0000093  






6  0.93  0.90323  0.000001  0.00000093  0.0000039 



0.000001  0.00000093  



0.000001  0.00000093  



0.000001  0.00000093  






7  0.93  0.903226  0.0000001  0.000000093  0.00000018 



0.0000001  0.000000093  






8  0.93  0.9032258  0.00000001  0.0000000093  0.000000006 






9  0.93  0.90322581  0.000000001  0.00000000093  0.0000000033 



0.000000001  0.00000000093  



0.000000001  0.00000000093  



0.000000001  0.00000000093  






10  0.93  0.903225806  0.0000000001  0.00000000009  0.00000000042 



0.0000000001  0.00000000009  



0.0000000001  0.00000000009  



0.0000000001  0.00000000009  






11  0.93  0.9032258064  0.00000000001  0.00000000001  0.00000000005 



0.00000000001  0.00000000001  



0.00000000001  0.00000000001  



0.00000000001  0.00000000001  



0.00000000001  0.00000000001  






11  0.93  0.90322580645  

0.00000000000 
So 0.84 / 0.93 = 0.9032258065. In the table, every number in the Incremental Neg. Quotient column represents one pebble. The full abacus steps of a division in base 60 is here.
For both multiplication and division there is no need for tables, printed or memorized, and the calculations are blindingly fast compared to any other methods available to the Ancients.
Here is a Dynamic Line Abacus Worksheet you can use to do calculations yourself.
Appendix N: Nonary Abacus
Using base 3 Ternary numbers may be a way to use the abacus in electronic computers. Could it help reduce power consumption? Increase speed?
A base 3 abacus is certainly simpler than a base 10 abacus, using only numerals 0, 1, and 2 (2 is implemented as 31). Two base 3 digits can represent one base 9 Nonary digit, which is almost as numerically dense as base 10. This density should mean fewer individual operations for base 3 than base 2; perhaps resulting in less power consumption (maybe also increased processing speed).
From Wikipedia: Radix economy on 8/20/2012:
Various proposals have been made to quantify the relative costs between using different radices in representing numbers, especially in computer systems.
The radix economy E(b,N) for any particular number N in a given base b is equal to the number of digits needed to express it in that base, multiplied by the radix: E(b,N) = b Floor(log_{b}(N) + 1). The radix economy measures the cost of storing or transmitting the number N in base b if the cost of each "digit" is proportional to b. A base with a lower average radix economy is therefore, in some senses, more efficient than a base with a higher average radix economy.
… 3 is the integer base with the lowest average radix economy. [= most efficient]
Base b Average of E(b,N)
for N=1 to 1002 11.6 e 11.33524 3 11.52 4 12.76 10 19.2
Here's an analysis using numbers relevant to a line abacus:
base b  digits on Salamis Tablet  max N for base b 
2  20  1,048,575 
3  20  3,486,784,400 
4  10  1,048,575 
9  10  3,486,784,400 
10  10  9,999,999,999 
12  5  248,831 
60  5  777,599,999 

MAX_N =  9,999,999,999 



base b 
abacus digits needed = Ceiling(log(MAX_N + 1)/log(b)) 
radix economy E(b,MAX_N) = b*Floor(log(MAX_N)/log(b)+1) 
2  34  68 
3  21  63 
4  17  68 
9  11  99 
10  10  100 
12  10  120 
60  6  360 
Again, base 3 is most efficient.
Each line or space of a Nonary Abacus could have a token to the right of the median (+1), no token (0), or a token to the left of the median (1). A line and space could then represent the decimal digits 08. This is a Balanced Ternary implementation, where two base 3 digits make up one base 9 digit. Electronically each side could be stored in paired registers with manipulation logic to implement the abacus operations described in this paper.
As an example, let's multiply 0.84 and 0.93 by converting to base 3 first then multiplying. (Here's an Excel spreadsheet that was used to do the base conversions. Here's the GeoGebra file for Step 1 if you'd like to go through the steps yourself. ADMINISTRATOR: Please add .ggb files to acceptable upload types.)
Here are the steps:
Each line or space on a Nonary abacus can contain only 1, 0, or +1; so there is a 2/3 chance that it contains a single pebble and a 1/3 chance that it contains no pebbles. For the abacus shown, 2/3 * 21 = 14 pebbles are needed on average for each coefficient and 2/3 * 5 < 4 pebbles for each exponent. In multiplication and division you need to represent four numbers, so you need only 72 pebbles in your pouch to do any arithmetic calculation on this Nonary abacus.
Appendix P: Pebble Efficiency
Assume two possibilities: using subtractive notation or not.
If you only have k pebbles, how high can you count sequentially on an 11 line abacus of the 3rd abacus design?
What patterns do the answers contain?

 


Sequential Count 

Sequential Count 

































































































































































So using negative parts is 9,259 times more efficient than not using them (27,777,777,772 / 2,999,998).
And there are those sevens again; yet another sign from their gods for the mystical Sumerians.
Appendix PC: Parallel Computing
In the Ancient Roman Empire, abacists were typically slaves.
To verify results from an abacus calculation, have three slaves do the same calculation and compare their answers.
If many independent calculations needed to be done, have each calculation be done by a separate team of three slaves each.
Parallel Computing in the Ancient World.
Appendix S: School Use Today
The Salamis Tablet abacus could be used in education to aid in the teaching of arithmetic, place value, exponents, and scientific notation.
On page 95, Pullan writes,
Much attention has been given to ways in which 'number concepts' develop in a child's mind, and one result of this has been the appearance of a variety of types of 'structural apparatus'. Properly used, they can undoubtedly be of great value, and many teachers have implicit trust in the particular type of apparatus they have chosen. There is, however, a fundamental objection to most of these devices. They give a different picture to each dimension, units, tens, hundreds, etc., whereas it is a basic principle of the Arabic system of notation that the same figures are used in each position. The naughts in such numbers as 10, 100, and 1000 are not intended to give a different appearance but to put the significant figure (in this case 1) in its proper place. They could be omitted if the position of the figure were known ... This difficulty does not arise on the abacus where the same counters 'sometimes stand for more, sometimes for less'; indeed, it is difficult to see what advantages the newly invented types of apparatus have over the old method of countercasting.
Other positive features of using The Salamis Tablet in education include:
 error checking an entry before accumulating, which is more forgiving for the young and/or novice (entering and accumulating are combined on constrained bead abaci like the Soroban, so if an error is made there is no indication and the error is propagated to the answer);
 positive and negative numbers can be represented and manipulated simultaneously (without using complements as on constrained bead abaci);
 the methods to accomplish all four arithmetic operations are much more transparent and straightforward than on constrained bead abaci;
 numbers in nearscientific notation can be represented and manipulated (not possible on constrained bead abaci);
 all four arithmetic operations, including multiplication as repeated addition and division as repeated subtraction, can be performed without memorizing tables;
 advanced students can do all the above in base 10 decimal (Roman, Greek, Egyptian), base 12 duodecimal (Roman fractions), or base 60 sexagesimal (Babylonian) numbers (not possible on constrained bead abaci); and
 much lower cost than either the apparatus discussed by Pullan or constrained bead abaci; i.e., for each abacus just draw some lines on paper and use less than 110 pennies as pebbles to perform all four arithmetic calculations on numbers of the form a × b^{c} where b = {10, 12, 60}, 0 ≤ c < b^{2(1+(b=10))}, b^{1} ≤ a < 1, and a has 10 significant digits for b = 10 and 5 significant digits for b = {12, 60}.
Appendix T: Takeaway
Pebbles (calculos) are the "bits" used in the Ancients' four function calculator / computer. The Ancient Computer's normal mode is to work with numbers in what we would call exponential notation. Decimal numbers can have up to 10 significant digits in the coefficient (a fraction < 1 with no leading zeros) and up to 4 significant digits in the exponent (a radix shift). Duodecimal and sexagesimal numbers can have up to 5 significant digits in the coefficient and up to 2 significant digits in the exponent. Coefficients and exponents can be either positive or negative. Builtin error checking is included since an addend can be entered and checked before accumulation. The Ancient Computer is time tested; it or it's predecessors have been in use since before 2000 BC.
Appendix U: Updates
Frontinus' Duodecimal Abacus
Frontinus' value of "1 1/2 twelfths of a quinaria plus 3/288 plus 2/3 of 1/288 more" indicates a different structure to the Roman duodecimal abacus than described above; i.e.:
So this is probably the promotion factor structure used by Frontinus. It certainly resolves the lack of knowledge reported on p.388 of Maher and Makowski, "How Frontinus arrived at these particular fractions is not known". Now we know; by reading an answer to a calculation done on a duodecimal mode Salamis Tablet abacus.
This redefinition of the Roman duodecimal line abacus does not change the conclusions in this paper. And it strengthens the argument that both the Romans and Babylonians used The Salamis Table, because to create their duodecimal abacus all the Romans did was change the promotion factors of 5 on the Babylonian abacus to 1.
Changing the Stephenson videos 10.110.3 to reflect this new duodecimal abacus is a major effort, so will not be done soon. However, the validity of being able to do Frontinus' calculation on an abacus is not diminished, so the existing videos are still good demonstrations.
Evidence of Earliest Use And Scientific Notation
Regarding:
The Babylonian Expedition of the University of Pennsylvania. Series A: Cuneiform texts, Vol. XX, Part 1, Mathematical, metrological and chronological Tablets from the Temple Library of Nippur, by . V. Hilprecht. Vol. 20, Part 1, edited by .V. Hilprecht. Published 1906 by Dept. of Archaeology, University of Pennsylvania in Philadelphia.
Retrieved August 21, 2013 from
http://openlibrary.org/books/OL14040987M
/The_Babylonian_Expedition_of_the_
University_of_Pennsylvania._Series_A_Cuneiform_texts.
On page 23, Hilprecht writes (where I added the indices AL),
... other variants occurring in the mathematical tablets from Nippur, notably the numerous variants of 19, some of which may be merely scribal errors:
If the notation in A, or in K, or scribal variations thereof, mean “placed to the left of the median line on an abacus (where the vertical stroke represents the median line)”, then A, B, C, D, and K would represent 20–1=19.
But F and G would represent 20–2=18 because two unit tokens are placed to the left of the median line. The L would represent 18 because of the duplicate use of and, as L variants, E and H would also represent 18.
I and J would represent 20–(1;40)=18;20; i.e.:
Note that 1;40 is 1+2/3 and 18;20 is 18+1/3.
On page viii, Hilprecht writes,
Toward the end of May, 1900, the antiquities excavated by the fourth expedition and packed at Hilla under Haynes' personal supervision, were sealed and delivered to the representatives of the Ottoman at that place for shipment to Constantinople.
On page ix, Hilprecht writes,
Energetic measures were necessary to save the broken remains of the Temple Library destroyed by the Elamites and 4000 years later brought to light again by so much personal sacrifice on the part of the Committee and the members of the expedition.
40001900=2100 BC. More exactly, on page 62, Hilprecht lists Text 25, plate 15, "Divisors of 12,960,000 and their quotients in geometric progression", with a date of 2400 BC. So we can conclude that the line abacus described in this paper was in use in Mesopotamia earlier than 2400 BC.
On page 29, Hilprecht writes,
The question arises, what is the meaning of all this? What in particular is the meaning of the number 12,960,000 (= 60^4 or 3600^2), which underlies all the mathematical texts here treated, ...
It simply means that the unit line on the abacus is the fifth one up from the bottom of the lower grid; i.e., the first sexagesimal digit from the top was treated as an integer. Then, using the exponent part, numbers on the abacus could be expressed in the form we know as normalized scientific notation.
However, during calculations it's better to use the lines next to the semicircles as unit lines because then there is no need for complicated rules for radix point positioning; just use simple exponent arithmetic. When the calculation is done it's easy to adjust the unit line down one to express the answer in normalized scientific notation. I'm no smarter than the ancient Babylonian scribes, so I'm sure they came to these revelations as well.
Hilprecht's question about the meaning of the number 12,960,000 was posed very early in the study of Babylonian tablets. That it could be so easily understood in the context of the use of abaci implies that ALL SUBSEQUENT HISTORICAL ANALYSIS OF BABYLONIAN MATH TEXTS COULD BE SERIOUSLY FLAWED BY IGNORING THE USE OF ABACI.
On page 28, Hilprecht gives a table which I've augmented here:
On page 29, Hilprecht writes,
But the closing numbers of all the odd lines (720, 360, 180, 90, 18, 9, 18, 9) are still obscure to me.
My extended table shows some additional relationships and patterns but no meaning for those numbers.
However, I can show how the Bevenline values were calculated from the Aoddline values. E.g., given that 125 = 60^4 / 103680, then 103680 = 60^4 / 125, or 103680 x 60^(4) = 1 / 125. On the abacus we just divide 1 by 125 to get the answer 103680 x 60^(4). Here's the calculation in 13 steps:
Subtracting Numbers in Scientific Notation
A reader thought addition and subtraction of numbers in scientific notation would be hard on the abacus. But all that must be done is to shift the smaller number down until both exponents are the same. For example:
Appendix V: Visualizing the Basis of Abacus Arithmetic
The basis for the arithmetic of the abacus can be visualized with ColoredChip Models. EXCEPT Prof Findel makes a blunder in division when she says the model "falls apart" for +6 / 2. Here's a corrected version of her model that works for all cases; i.e., Put Back is defined as the negative operation to Take Away:
Instead of using different colors for positive and negative chips, the Line Abacus uses the same color for both negative and positive chips but segregates them to the left and right of the vertical median line.
Contents
 1 Possible Future Research
 2 Author's Foreword
 3 Introduction
 4 Clues
 5 Roman Hand Abacus Design Compromise
 6 Unused Dashed Lines
 7 Plausible Historic Sequence of Abaci Development
 8 Why Base60?
 9 Designers of The Salamis Tablet
 10 Computing in Sexagesimal
 11 YBC 7289 sqrt(2) Calculation
 12 Conclusions
 13 Notes
 14 Works Cited
 15 Appendix A: Arithmetic
 16 Appendix C: Chinese Abacus
 17 Appendix E: EgyptianBabylonian Link
 18 Appendix G: Geometric Sequences
 19 Appendix M: Multiplication and Division Examples
 20 Appendix N: Nonary Abacus
 21 Appendix P: Pebble Efficiency
 22 Appendix PC: Parallel Computing
 23 Appendix S: School Use Today
 24 Appendix T: Takeaway
 25 Appendix U: Updates
 26 Appendix V: Visualizing the Basis of Abacus Arithmetic