RomeNumbers, Stars and Medicine

Nicomachus: Introduction to Arithmetic

Even and odd, prime and composite, perfect numbers and figurate numbers: the arithmetic schools taught for a thousand years.

Not started Jump to practice
Volume
10 of the 1990 set
Author
Nicomachus of Gerasa (c. AD 60–c. 120)
Work
Introduction to Arithmetic c. AD 100

Ideas: Number Teaching and learning

Read the full text, free: D'Ooge translation (Macmillan, 1926), Internet Archive

For young readers

About ages 8 to 12. Read it together, or on your own.

Nicomachus lived about 1,900 years ago in Gerasa, a Roman city in what is now Jordan. He wrote a short book about the personalities of numbers: which are even and which odd, which can be split into equal rows, and which are special in other ways.

Some numbers make pictures. Put dots in rows of 1, 2, 3, 4 and you get a triangle of 10 dots. Make rows of 3, 3 and 3 and you get a square of 9. Nicomachus called these triangular and square numbers.

Pick a kind and slide n to grow the picture.

Try this

Dots and beans. With dried beans or pennies, build the triangles for 1, 3, 6, 10 and 15. Put two triangles side by side: what shape do you get? Now build squares 1, 4, 9 and 16. How many beans do you add each time to go from one square to the next? (Try the odd numbers.)

Nicomachus also liked perfect numbers. The numbers that divide 6 evenly, apart from 6, are 1, 2 and 3. Add them: 1 + 2 + 3 = 6. The number is exactly the sum of its parts! The next perfect number is 28. They are rare: there are only four below 10,000.

For teens and adults

The full lesson.

Who, when and why

Nicomachus (c. AD 60–c. 120) came from Gerasa, a prosperous city of the Roman province of Syria (today Jerash in Jordan). He was a Pythagorean: a follower of the old tradition, going back to Pythagoras in the 500s BC, that saw number as the key to music, the heavens and the order of the world. He also wrote a short handbook on music theory.

His problem was teaching. Euclid had proved results about numbers, but his Elements are hard going. Nicomachus wrote an introduction for students: definitions, names and many worked examples, with no proofs. It became one of the most copied textbooks in history. Boethius adapted it into Latin around AD 500, and his version was the standard arithmetic of European schools for about a thousand years, as the first of the four mathematical arts (arithmetic, music, geometry and astronomy). Thabit ibn Qurra translated it into Arabic in the 800s.

Number is limited multitude or a combination of units or a flow of quantity made up of units; and the first division of number is even and odd.

Nicomachus, Introduction to Arithmetic, Book I, Chapter 7. Translated by Martin Luther D'Ooge (Macmillan, University of Michigan Studies, Humanistic Series XVI, 1926). Internet Archive.

Sorting numbers

Nicomachus's names for kinds of numbers (Book I). He treats 2 as even-times even and lists primes among the odd numbers.
NameMeaningExamples
even-times evenkeeps halving evenly all the way down to 12, 4, 8, 16, 32
even-times oddhalves once to an odd number6, 10, 14, 18
odd-times evenhalves more than once, but not down to 112, 20, 24, 28
prime and incompositean odd number measured only by the unit3, 5, 7, 11, 13
secondary and compositean odd number with another odd factor9, 15, 21, 25

To find the odd primes he describes the method Eratosthenes, the librarian of Alexandria, had called the sieve. Nicomachus's book is our earliest surviving description of it.

The production of these numbers is called by Eratosthenes the 'sieve,' because we take the odd numbers mingled together and indiscriminate and out of them by this method of production separate, as by a kind of instrument or sieve, the prime and incomposite by themselves, and the secondary and composite by themselves.

Nicomachus, Introduction to Arithmetic, Book I, Chapter 13. Translated by Martin Luther D'Ooge (Macmillan, University of Michigan Studies, Humanistic Series XVI, 1926). Internet Archive. Slightly shortened at the end.

Worked example: Sifting to 50

Use the sieve to find the odd primes below 50.
  1. Write the odd numbers 3, 5, 7, …, 49.
  2. Cross out every third one after 3 (9, 15, 21, 27, 33, 39, 45): the multiples of 3.
  3. Cross out the multiples of 5 after 5 (25, 35); 15 and 45 are already gone.
  4. Cross out the multiples of 7 after 7 (49; 21 and 35 are gone). Since $7 \times 7 = 49$ is the last square below 50, we can stop.

Answer: 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47

Too much, too little and just right

Nicomachus sorts numbers by adding up their parts (the smaller numbers that divide them exactly). If the parts add to less than the number, it is deficient; if more, superabundant; if exactly equal, perfect.

Such numbers are 6 and 28; for 6 has the factors half, third, and sixth, 3, 2, and 1, respectively, and these added together make 6 and are equal to the original number, and neither more nor less.

Nicomachus, Introduction to Arithmetic, Book I, Chapter 16. Translated by Martin Luther D'Ooge (Macmillan, University of Michigan Studies, Humanistic Series XVI, 1926). Internet Archive.
Each number is colored by whether its parts fall short, overshoot or land exactly. Press one to see its parts.

He gives the first four perfect numbers, 6, 28, 496 and 8,128, and a recipe for making more that is Euclid's IX.36 in other words: add 1 + 2 + 4 + 8 + … and, whenever the sum is prime, multiply it by the last number added.

Common mistake

Trusting every pattern Nicomachus states. He says there is one perfect number among the units, one among the tens, one among the hundreds and one among the thousands, and that they end alternately in 6 and 8. Both patterns fail. The fifth perfect number, 33,550,336, has eight digits, so there is none with five, six or seven; and the fifth and sixth (8,589,869,056) both end in 6. He saw the pattern in four examples and did not prove it. That is the difference between his book and Euclid's.

Numbers as shapes

Triangular, square, pentagonal and oblong numbers, and the cubes built from odd numbers.

Book II arranges numbers as shapes made of points: polygonal numbers (triangular, square, pentagonal, …), oblong numbers (a side times one more: 2, 6, 12, 20), and solid numbers like pyramids and cubes. Along the way come neat facts: every square is the sum of two neighboring triangular numbers, and if you add the odd numbers in groups (1; 3 + 5; 7 + 9 + 11; …) you get the cubes 1, 8, 27, …

Worked example: The cube of 4 from odd numbers

Which odd numbers add up to $4^3$ in Nicomachus's pattern?
  1. Groups so far: 1 | 3, 5 | 7, 9, 11. The fourth group takes the next four odd numbers.
  2. They are 13, 15, 17 and 19.
  3. $13 + 15 + 17 + 19 = 64 = 4^3$.

Answer: 13 + 15 + 17 + 19 = 64

Worked example: Three kinds of mean

Find the arithmetic, geometric and harmonic means of 4 and 9 (where they are whole numbers).
  1. Arithmetic mean: halfway, $\frac{4 + 9}{2} = 6.5$.
  2. Geometric mean: the number $g$ with $4 : g = g : 9$, so $g^2 = 36$, $g = 6$.
  3. Harmonic mean: $\frac{2 \times 4 \times 9}{4 + 9} = \frac{72}{13} \approx 5.54$. Only the geometric mean is a whole number here.

Answer: 6.5, 6 and about 5.54

The book ends with ten kinds of proportion. Nicomachus calls 6, 8, 9, 12 the "most perfect proportion": 9 is the arithmetic mean of 6 and 12, 8 is their harmonic mean, and the ratios 6 : 8 and 9 : 12 (3 : 4), 6 : 9 and 8 : 12 (2 : 3), and 6 : 12 (1 : 2) are the musical intervals of the fourth, the fifth and the octave.

What later mathematics kept, and what it changed

  • Kept: the sieve, figurate numbers, perfect and abundant numbers, and the means. Mathematicians still use the words abundant and deficient.
  • Dropped: the moral and religious meanings Nicomachus gave to numbers, such as calling equality the source of goodness. Those belong to his Pythagorean philosophy, not to arithmetic.
  • Changed: arithmetic since Fermat and Euler rests on proofs, not examples. The questions Nicomachus raised are still open in places: no one knows whether there are infinitely many perfect numbers, or any odd ones.

Going deeper

Context, the big questions, and how later books answered.

Examples and proofs

Nicomachus and Euclid cover some of the same ground, the kinds of numbers and the recipe for perfect numbers, but they work in different ways. Euclid proves each claim from definitions. Nicomachus shows examples, names the patterns and leaves it there. For teaching beginners his way has strengths: students see and count before they prove. But it lets mistakes in, as with his patterns for perfect numbers.

This is a lasting question in teaching mathematics: how much should beginners see and count, and how soon should they meet proofs? The medieval schools learned from Boethius's Nicomachus for centuries before Euclid's proofs came back into wide use.

Numbers and the world

For Nicomachus, number was the pattern in the mind of the maker of the world, and arithmetic was the first of the sciences because the others depend on it. Readers today can take or leave that philosophy, but the practical point survived: music is ratios of string lengths, astronomy is cycles and periods, and geometry needs measurement. Kepler, Galileo and Newton, later on this ladder, kept the conviction that nature is written in numbers, while dropping the number mysticism.

Big questions

  • Is a pattern that holds for four examples likely to hold forever? How many examples would convince you?
  • Why do people give personalities and meanings to numbers (lucky numbers, unlucky numbers)?
  • Nicomachus's book was read for 1,000 years. What makes a textbook last?

Talk about it together

  1. Build the first five triangular numbers with beans. What do you add each time?
  2. Do you have a favorite number? What is special about it: is it even, odd, prime, square, triangular?
  3. Nicomachus guessed a pattern from four perfect numbers and was wrong. When have you guessed a pattern that turned out to break?
  4. Why might a teacher show examples first and proofs later? Is that how you like to learn?
  5. Nicomachus thought numbers explained music. Can you find the 1 : 2 ratio by plucking a string, then pressing it down at its middle?

Related on this site

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 3 XP.

Loading practice…

Builds on

Nothing before it: a good place to start.

Leads to

This is one of the top rungs of Rome and Late Antiquity.

Sources and further reading

@teddyrookbook GitHub Sources and credits