DoingMaths - Free maths worksheets
  • Home
  • Algebra
    • Algebraic expressions
    • Algebraic equations
    • Expanding brackets
    • Index notation
    • Inequalities
    • Quadratic equations
    • Sequences
    • Simultaneous equations
    • Straight line graphs
    • Substitution
  • Shapes, space and measures
    • Angles
    • Circles
    • Circle theorems
    • Compound measures
    • Construction
    • Distance/speed-time graphs
    • Length, area and volume
    • Metric and Imperial conversions
    • Metric units of measurement
    • Proof
    • Pythagoras' Theorem
    • Scale factors, similarity and congruence
    • Symmetry and reflection
    • Time
    • Trigonometry
  • Number
    • Primary Addition and Subtraction
    • Addition and subtraction
    • Basic number work
    • BODMAS/PEMDAS/BIDMAS
    • Compound percentage change
    • Decimals
    • Factors and Multiples
    • Fractions
    • Fractions, decimals and percentages
    • Money
    • Multiplication and division
    • Percentages
    • Ratio and Proportion
    • Rounding and estimating
    • Standard form
  • Statistics and Probability
    • Averages and the Range
    • Box plots
    • Collecting data
    • Pie charts
    • Probability
  • More
    • Starters >
      • Puzzles and riddles
      • Maths Wordsearches
      • More Maths Lesson Starter Ideas
    • Christmas Maths Activities
    • Maths Articles >
      • Revision and How-To Guides >
        • How do Scale Factors Work for Area and Volume?
        • Edexcel GCSE Maths 2023 Paper 2: The Final Question
        • How to Find the Average From a Frequency Table
        • What Do the Angles in a Polygon Add Up To?
        • How to Integrate by Parts: Calculus Help
        • How to Use Pythagoras' Theorem
        • How to Calculate Compound Percentage Changes
        • How to Find Equivalent Fractions
        • How to Find the Averages and Range From Grouped Data
        • How to Factorise a Quadratic Algebraic Equation
        • How to Expand a Pair of Brackets
        • How to Complete the Square
        • Hannah's Sweets - Tricky GCSE Question
        • Why Do We Rationalise the Denominator?
        • How to Add, Subtract, Multiply and Divide Fractions
        • How to Answer the 'Impossible' Question on the Edexcel GCSE Maths Paper 2022
        • How to draw pie charts
        • How to Differentiate From First Principles
        • How to Solve Direct Proportion Questions
        • How to Calculate a Percentage of an Amount Using a Decimal Multiplier
      • How Many Gifts Do I Get Over the Twelve Days of Christmas?
      • How to Find the Sum of a Geometric Sequence
      • The Maths Behind A4 Paper
      • The Monty Hall Problem
      • Rationalizing the Denominator
      • How Do Binary Numbers Work?
      • Rice on a Chessboard
      • How to Prove Pi Equals 2
      • What is the Maximum Score in Ten-Pin Bowling?
      • The Prisoner's Dilemma
      • How Many Socks Make a Pair?
      • Four Interesting Types of Mathematical Numbers
      • How to Add the Numbers 1-100 Quickly
      • What Is the Sum of the Sequence 1, 1/2, 1/4, 1/8, 1/16, ...?
      • Find the Answer to 8×9×10×11×12 Without Using a Calculator
      • How to Prove that the Square root of 2 is Irrational
      • Three Interesting Fractals From Koch, Sierpinski and Cantor
      • How Many Squares Are on a Chessboard?
      • Different Kinds of Prime Numbers
      • How to Do Long Multiplication Using Napier's Method
      • The Handshake Problem
      • Why You Should Always Order the Large Pizza
      • Maximizing the Area of a Rectangle
      • Speed Arithmetic - How to Multiply by 11 Without a Calculator
      • Speed Arithmetic - How to Multiply and Divide by 5 Without a Calculator
      • Pythagoras' Theorem - A Proof
      • How Large Is Infinity?
      • Interesting Facts About Pascal's Triangle
      • Why Does Time Slow Down as You Approach the Speed of Light?
      • Five of History's Most Influential Women in STEM
      • Five More of History's Most Influential Women in STEM
      • How Likely Are You to Hit the Centre of the Archery Target?
      • Find Four Primes Smaller Than 100 Which Are Factors Of 3^32 − 2^32
      • Bertrand's Paradox: A Problem in Probability Theory
      • What Is an Erdős Number?
      • Three of Isaac Newton's Most Important Contributions to the World
      • Mathematical Numbers: What Is 'e'?
      • Hilbert's Paradox of the Grand Hotel: Another Look at Infinity
      • Decreasing the Circumference of Differently Sized Circles: A Counterintuitive Cricket Problem
      • Zeno's Paradox: Achilles and the Tortoise
      • What Are Hexadecimal Numbers?
      • Why Do We Split a Circle Into 360 Degrees?
      • N-bonacci Sequences - Taking Fibonacci Further
      • Being Careful When You Average an Average: A Basketball Problem
      • What Is a Dudeney Number?
    • A-Level Maths Paper Walkthroughs >
      • A-Level Maths, Edexcel, June 2018, Paper Walkthroughs >
        • A-Level Maths, June 2018, Pure Paper 1 Question Walkthroughs
        • A-Level Maths, June 2018, Pure Paper 2, Question Walkthroughs
        • A-Level Maths, June 2018, Statistics and Mechanics, Question Walkthroughs
      • A-Level Maths, Edexcel, June 2019, Paper Walkthroughs >
        • A-Level Maths, June 2019, Pure Paper 1, Question Walkthroughs
        • A-Level Maths, June 2019, Pure Paper 2, Question Walkthrough
        • A-Level Maths, June 2019, Statistics and Mechanics, Walkthrough answers
      • A-Level Maths, Edexcel, October 2020, Paper Walkthroughs >
        • A-Level Maths, October 2020, Pure Mathematics Paper 1, Question Walkthroughs
        • A-Level Maths, October 2020, Pure Mathematics Paper 2, Question Walkthroughs
        • A-Level Maths, October 2020, Statistics and Mechanics, Walkthrough answers
      • A-Level Maths, Edexcel, October 2021, Paper Walkthroughs >
        • A-Level Maths, October 2021, Pure Mathematics, Paper 1 Walkthroughs
        • A-Level Maths, October 2021, Pure Mathematics Paper 2 Walkthroughs
        • A-Level Maths, October 2021, Statistics and Mechanics, Walkthrough answers
      • A-Level Maths, Edexcel, June 2022, Paper 1 Walkthroughs
    • Mathematician of the Month
    • Tricky Geometry Problems
    • DoingMaths video channel
    • DoingMaths Shop
    • Contact us
    • Privacy policy

How to Add the Numbers 1-100 Quickly: Summing Arithmetic Sequences

Carl Friedrich Gauss: Princeps Mathematicorum​

Carl Friedrich Gauss (1777 - 1855) is one of the greatest and most influential mathematicians of all time. He made many contributions to the fields of mathematics and science and has been referred to as the Princeps Mathematicorum (Latin for 'the foremost of mathematicians). However, one of the most interesting tales about Gauss comes from his childhood.
Carl Friedrich Gauss (1777 - 1855)
Carl Friedrich Gauss (1777 - 1855)

Adding the numbers from 1-100: How Gauss solved the problem​

The story goes that Gauss's primary school teacher, being the lazy type, decided to keep the class occupied by getting them to sum all of the numbers from 1 - 100. With a hundred numbers to add up (without calculators in the 18th century) the teacher thought that this would keep the class busy for quite some time. He hadn't reckoned on the mathematical ability of young Gauss however, who just a few seconds later came back with the correct answer of 5050.
Gauss had realised that he could make the sum a lot easier by adding the numbers together in pairs. He added the first and the last numbers, the second and the second to last numbers and so on, noticing that these pairs 1 + 100, 2 + 99, 3 + 98, etc. all gave the same answer of 101. Going all the way to 50 + 51 gave him fifty pairs of 101 and an answer of 50 × 101 = 5050.

Extending Gauss's method to other sums

Whether this story is actually true or not is unknown, but either way it gives a fantastic insight into the mind of an extraordinary mathematician and an introduction to a speedier method of adding together arithmetic sequences (sequences of numbers formed by increasing or decreasing by the same number each time).
First of all let's look at what happens for summing sequences like Gauss's, but to any given number (not necessarily 100). For this we can expand Gauss's method quite simply.

Suppose we want to add together all of the numbers up to and including n, where n represents any positive whole number. We will add together the numbers in pairs, first to last, second to second to last and so on as we did above.
Let's use a diagram to help us visualise this.
Summing the numbers from 1 to n in a table
Summing the numbers from 1 to n

Summing the numbers from 1 to n

By writing the number 1 − n and then repeating them backwards below, we can see that all of our pairs add up to n + 1. There are now n lots of n + 1 in our picture, but we got these using the numbers 1 - n twice (once forwards, one in reverse), hence to get our answer, we need to halve this total.
This gives us a final answer of 1/2 × n(n + 1).

Using our formula

We can check this formula against some real cases.
In Gauss's example we had 1 - 100, so n = 100 and the total = 1/2 × 100 × (100 + 1) = 5050.
The numbers 1 - 200 sum to 1/2 × 200 × (200 + 1) = 20 100 while the numbers 1 - 750 sum to 1/2 × 750 × (750 + 1) = 218 625.

Expanding our formula

We don't have to stop there however. An arithmetic sequence is any sequence where the numbers increase or decrease by the same amount each time e.g. 2, 4, 6, 8, 10, ... and 11, 16, 21, 26, 31, ... are arithmetic sequences with increases of 2 and 5 respectively.
Suppose we wanted to sum the sequence of even numbers up to 60 (2, 4, 6, 8, ..., 58, 60). This is an arithemetic sequence with a difference between terms of 2.
We can use a simple diagram as before.
Summing the even numbers up to 60 in a table
Summing the even numbers up to 60

​Summing the even numbers up to 60

Each pair adds up to 62, but it is slightly trickier to see how many pairs we have this time. If we halved the terms 2, 4, ..., 60, we would get the sequence 1, 2, ..., 30, hence there must be 30 terms.
We therefore have 30 lots of 62 and again, because we have listed our sequence twice, we need to halve this so 1/2 × 30 × 62 = 930.

Creating a general formula for summing arithmetic sequences when we know the first and last terms

From our example we can see quite quickly that the pairs always add up to the sum of the first and last numbers in the sequence. We then multiply this by how many terms there are and divide by two to counteract the fact that we have listed each term twice in our calculations.
Therefore, for any arithmetic sequence with n terms, where the first term is a and the last term is l we can say that the sum of the first n terms (denoted by Sn), is given by the formula:
Sn = 1/2 × n × (a + l)

What if the last term is unknown?

We can expand our formula a little further for arithmetic sequences where we know there are n terms but we don't know what the nth term (the last term in the sum) is.
E.g. find the sum of the first 20 terms of the sequence 11, 16, 21, 26, ...
For this problem, n = 20, a = 11 and d (the difference between each term) = 5.
We can use these facts to find the last term l.
There are 20 terms in our sequence. The second term is 11 plus one 5 = 16. The third term is 11 plus two fives = 21. Each term is 11 plus one fewer 5s than its term number i.e. the seventh term will be 11 plus six 5s and so on. Following this pattern, the 20th term must be 11 plus nineteen 5s = 106.
Using our previous formula we therefore have the sum of the first 20 terms = 1/2 × 20 × (11 + 106) = 1170.

Generalising the formula

Using the method above, we can see that for a sequence with first term a and difference d, the nth term is always a + (n − 1) × d, i.e. the first term plus one fewer lots of d than the term number.
Taking our previous formula for the sum to n terms of Sn = 1/2 × n × (a + l), and substituting in l = a + (n − 1) × d, we get that:

Sn = 1/2 × n × [a + a + (n − 1) × d]
which can be simplified to:
Sn = 1/2 × n × [2a + (n − 1) × d].
Using this formula on our previous example of summing the first twenty terms of the sequence 11, 16, 21, 26, ... gives us:
Sn = 1/2 × 20 × [2 × 11 + (20 − 1) × 5] = 1170 as before.

Recap

In this article we have discovered three formulae that can be used to sum arithmetic sequences.
For simple sequences of the form 1, 2, 3, ...., n,:
Sn = 1/2 × n × (n + 1)
For any arithmetic sequence with n terms, first term a, difference between terms d and last term l, we can use the formulae:
Sn = 1/2 × n × (a + l)
or
Sn = 1/2 × n × [2a + (n − 1) × d]

Comments

Does this apply to your sock drawer? How many goes does it take you to find matching socks?
​Don't forget to leave your comments below.
Home      Algebra      Shapes, space and measures      Number      Data handling      Starters      Internet articles      DoingMaths Youtube channel
© Copyright DoingMaths free worksheets 2026 - All Rights Reserved
  • Home
  • Algebra
    • Algebraic expressions
    • Algebraic equations
    • Expanding brackets
    • Index notation
    • Inequalities
    • Quadratic equations
    • Sequences
    • Simultaneous equations
    • Straight line graphs
    • Substitution
  • Shapes, space and measures
    • Angles
    • Circles
    • Circle theorems
    • Compound measures
    • Construction
    • Distance/speed-time graphs
    • Length, area and volume
    • Metric and Imperial conversions
    • Metric units of measurement
    • Proof
    • Pythagoras' Theorem
    • Scale factors, similarity and congruence
    • Symmetry and reflection
    • Time
    • Trigonometry
  • Number
    • Primary Addition and Subtraction
    • Addition and subtraction
    • Basic number work
    • BODMAS/PEMDAS/BIDMAS
    • Compound percentage change
    • Decimals
    • Factors and Multiples
    • Fractions
    • Fractions, decimals and percentages
    • Money
    • Multiplication and division
    • Percentages
    • Ratio and Proportion
    • Rounding and estimating
    • Standard form
  • Statistics and Probability
    • Averages and the Range
    • Box plots
    • Collecting data
    • Pie charts
    • Probability
  • More
    • Starters >
      • Puzzles and riddles
      • Maths Wordsearches
      • More Maths Lesson Starter Ideas
    • Christmas Maths Activities
    • Maths Articles >
      • Revision and How-To Guides >
        • How do Scale Factors Work for Area and Volume?
        • Edexcel GCSE Maths 2023 Paper 2: The Final Question
        • How to Find the Average From a Frequency Table
        • What Do the Angles in a Polygon Add Up To?
        • How to Integrate by Parts: Calculus Help
        • How to Use Pythagoras' Theorem
        • How to Calculate Compound Percentage Changes
        • How to Find Equivalent Fractions
        • How to Find the Averages and Range From Grouped Data
        • How to Factorise a Quadratic Algebraic Equation
        • How to Expand a Pair of Brackets
        • How to Complete the Square
        • Hannah's Sweets - Tricky GCSE Question
        • Why Do We Rationalise the Denominator?
        • How to Add, Subtract, Multiply and Divide Fractions
        • How to Answer the 'Impossible' Question on the Edexcel GCSE Maths Paper 2022
        • How to draw pie charts
        • How to Differentiate From First Principles
        • How to Solve Direct Proportion Questions
        • How to Calculate a Percentage of an Amount Using a Decimal Multiplier
      • How Many Gifts Do I Get Over the Twelve Days of Christmas?
      • How to Find the Sum of a Geometric Sequence
      • The Maths Behind A4 Paper
      • The Monty Hall Problem
      • Rationalizing the Denominator
      • How Do Binary Numbers Work?
      • Rice on a Chessboard
      • How to Prove Pi Equals 2
      • What is the Maximum Score in Ten-Pin Bowling?
      • The Prisoner's Dilemma
      • How Many Socks Make a Pair?
      • Four Interesting Types of Mathematical Numbers
      • How to Add the Numbers 1-100 Quickly
      • What Is the Sum of the Sequence 1, 1/2, 1/4, 1/8, 1/16, ...?
      • Find the Answer to 8×9×10×11×12 Without Using a Calculator
      • How to Prove that the Square root of 2 is Irrational
      • Three Interesting Fractals From Koch, Sierpinski and Cantor
      • How Many Squares Are on a Chessboard?
      • Different Kinds of Prime Numbers
      • How to Do Long Multiplication Using Napier's Method
      • The Handshake Problem
      • Why You Should Always Order the Large Pizza
      • Maximizing the Area of a Rectangle
      • Speed Arithmetic - How to Multiply by 11 Without a Calculator
      • Speed Arithmetic - How to Multiply and Divide by 5 Without a Calculator
      • Pythagoras' Theorem - A Proof
      • How Large Is Infinity?
      • Interesting Facts About Pascal's Triangle
      • Why Does Time Slow Down as You Approach the Speed of Light?
      • Five of History's Most Influential Women in STEM
      • Five More of History's Most Influential Women in STEM
      • How Likely Are You to Hit the Centre of the Archery Target?
      • Find Four Primes Smaller Than 100 Which Are Factors Of 3^32 − 2^32
      • Bertrand's Paradox: A Problem in Probability Theory
      • What Is an Erdős Number?
      • Three of Isaac Newton's Most Important Contributions to the World
      • Mathematical Numbers: What Is 'e'?
      • Hilbert's Paradox of the Grand Hotel: Another Look at Infinity
      • Decreasing the Circumference of Differently Sized Circles: A Counterintuitive Cricket Problem
      • Zeno's Paradox: Achilles and the Tortoise
      • What Are Hexadecimal Numbers?
      • Why Do We Split a Circle Into 360 Degrees?
      • N-bonacci Sequences - Taking Fibonacci Further
      • Being Careful When You Average an Average: A Basketball Problem
      • What Is a Dudeney Number?
    • A-Level Maths Paper Walkthroughs >
      • A-Level Maths, Edexcel, June 2018, Paper Walkthroughs >
        • A-Level Maths, June 2018, Pure Paper 1 Question Walkthroughs
        • A-Level Maths, June 2018, Pure Paper 2, Question Walkthroughs
        • A-Level Maths, June 2018, Statistics and Mechanics, Question Walkthroughs
      • A-Level Maths, Edexcel, June 2019, Paper Walkthroughs >
        • A-Level Maths, June 2019, Pure Paper 1, Question Walkthroughs
        • A-Level Maths, June 2019, Pure Paper 2, Question Walkthrough
        • A-Level Maths, June 2019, Statistics and Mechanics, Walkthrough answers
      • A-Level Maths, Edexcel, October 2020, Paper Walkthroughs >
        • A-Level Maths, October 2020, Pure Mathematics Paper 1, Question Walkthroughs
        • A-Level Maths, October 2020, Pure Mathematics Paper 2, Question Walkthroughs
        • A-Level Maths, October 2020, Statistics and Mechanics, Walkthrough answers
      • A-Level Maths, Edexcel, October 2021, Paper Walkthroughs >
        • A-Level Maths, October 2021, Pure Mathematics, Paper 1 Walkthroughs
        • A-Level Maths, October 2021, Pure Mathematics Paper 2 Walkthroughs
        • A-Level Maths, October 2021, Statistics and Mechanics, Walkthrough answers
      • A-Level Maths, Edexcel, June 2022, Paper 1 Walkthroughs
    • Mathematician of the Month
    • Tricky Geometry Problems
    • DoingMaths video channel
    • DoingMaths Shop
    • Contact us
    • Privacy policy