Skip to content

Prehistory

Devices have been used to aid computation for thousands of years. The earliest known counting devices are clay tokens that were in use before 4000 BC. A given token might represent one sheep or ten sheep. To represent a count of 32 sheep, you would take three 10-sheep tokens and two 1-sheep tokens and seal them in a clay container.

Clay Counting Stones
Clay counting tokens sealed inside a clay accounting envelope, circa 4000 BC
© Marie-Lan Nguyen / Wikimedia Commons

Abacus

By about 2500 BC, counting devices had been abstracted away from counting a particular thing and abacuses first appeared in Sumeria. These devices rely on the user moving beads or stones to represent numbers and to do arithmetic on them. Since then, many other forms of reckoning boards or tables have been invented. In a medieval European counting house, a checkered cloth would be placed on a table, and markers moved around on it according to certain rules, as an aid to calculating sums of money.

Abaci were used in the ancient Near East, Europe, China, and Russia, centuries before the adoption of the Hindu-Arabic numeral system. The exact origin of the abacus has not yet emerged. It consists of rows of movable beads, or similar objects, strung on a wire. They represent digits. One of the two numbers is set up, and the beads are manipulated to perform an operation such as addition, or even a square or cubic root.
Traditional Chinese abacus showing bead rows used for arithmetic
© Jccsvq, Wikimedia Commons CC0 1.0 Universal (CC0 1.0) (PH-3, BG-3)

Antikythera Mechanism

The ancient Greeks used complex devices to compute the timing of astrological events and the astrolabe from ancient Greece. The The Antikythera Mechanism was a clockwork device of complexity that would not be seen again until the 14th century. It was an ancient Greek hand-powered orrery, described as the oldest example of an analogue computer used to predict astronomical positions and eclipses decades in advance. It could also be used to track the four-year cycle of athletic games which was similar to an Olympiad, the cycle of the ancient Olympic Games.

A 2007 recreation of the Antikythera Mechanism, thought to have been originally created just around 200 BCE
Reconstructed model of the Antikythera Mechanism front panel, an ancient Greek analog computer
© I, Mogi, CC BY 2.5

The Pascaline

In the 1600s, the first mechanical calculators were developed. A teenager named Blaise Pascal (later to become a famous mathematician) was one of their inventors. Pascal began to work on his calculator in 1642 when he was only 19 years old. He had been assisting his father, who worked as a tax commissioner and sought to produce a device that could reduce his workload.

The Pascaline could do addition and subtraction including automatically carrying from one place to the next.
Pascal's Pascaline mechanical calculator, circa 1642, showing its gear-driven digit wheels
© Rama, CC BY-SA 3.0 FR, via Wikimedia Commons

Binary Numbers

Many other mathematicians of the 17th century tried their hand at building their own calculators, including Gottfried Leibniz who described a machine that would be implemented using binary numbers.

Leibniz's notes on binary numbers
Leibniz also refined the binary number system, which is the foundation of nearly all digital (electronic, solid-state, discrete logic) computers, including the Von Neumann architecture
Leibniz's 1703 manuscript illustrating the binary number system
Public domain, via Wikimedia Commons
Terms

Abacus — An ancient manual calculating tool consisting of beads or counters arranged on rods or in grooves. Among the earliest special-purpose computing devices, used for arithmetic in trade and commerce.

Binary number system — A positional number system that uses only two digits (0 and 1). Gottfried Leibniz formalized it in 1703; it is the foundation of all modern digital computers.


Adapted from Chemeketa Community College's Computer Science Dept's CS160 Reader

© Copyright Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

The contents of this E-Text were developed under an Open Textbooks Pilot grant from the Fund for the Improvement of Postsecondary Education (FIPSE), U.S. Department of Education. However, those contents do not necessarily represent the policy of the Department of Education, and you should not assume endorsement by the Federal Government.
Released under Creative Commons BY NC 4.0 International License