How Gauss added 1 to 100 in seconds
A teacher set a class a long, boring sum. One boy wrote the answer down almost at once.
The story
Carl Friedrich Gauss was about nine years old and at a village school in Brunswick, Germany. To keep the class busy, the teacher asked everyone to add up all the whole numbers from 1 to 100.
The other pupils began adding: 1 + 2 = 3, 3 + 3 = 6, 6 + 4 = 10, and on and on. Gauss thought for a moment, wrote a single number on his slate and put it on the teacher’s desk. It was 5,050, and it was right.
He had not added faster than everyone else. He had found a way to avoid most of the adding. The story was told by a friend of Gauss years later, and the exact sum may have been different, but the trick is real, and Gauss went on to become one of the greatest mathematicians who ever lived.
Play with it
How it works, step by step
- 1
Write the list forwards: 1, 2, 3, …, 100.
- 2
Write it again underneath, backwards: 100, 99, 98, …, 1.
- 3
Add each column: 1 + 100, 2 + 99, 3 + 98… every column makes 101.
- 4
There are 100 columns, so both lists together make 100 × 101 = 10,100.
- 5
That is two copies of the sum, so one copy is 10,100 ÷ 2 = 5,050.
Sum of an evenly spaced list = (number of terms) × (first + last) ÷ 2.
Try it yourself
1Use Gauss’s trick: what is 1 + 2 + 3 + … + 50?
2What is 2 + 4 + 6 + … + 100 (the even numbers up to 100)?
3Why do we divide by 2 at the end?
Did you know?
- You can see it as a picture: stack blocks into a staircase 1, 2, 3 … 100 high. A second copy turned upside down fits exactly on top, making a 100 by 101 rectangle of 10,100 blocks. One staircase is half: 5,050.
- The same trick gives 1 + 2 + … + n = n(n + 1) ÷ 2. These totals, 1, 3, 6, 10, 15…, are called triangular numbers because they make triangles of dots.
- Gauss later proved how to draw a regular 17-sided shape with only a compass and a straight edge, something nobody had managed for 2,000 years.
- Gauss’s face was on Germany’s 10-mark banknote.