FreeMathCamp
Course Articles

Free Math Camp

A free course in the maths you need before calculus. Short lessons, interactive visuals, practice that adapts to you, and a record of progress on your account.

freemathcamp.app

Made by Adam Richard Turner

hello@adamrichardturner.dev

Course

  • Foundations
  • Articles
  • Start free
  • Sign in

Legal

  • Privacy
  • Terms
  • Do not sell or share

Copyright © Adam Richard Turner. All rights reserved.

  1. Articles
  2. /
  3. Sequences & Series
Sequences & Series

Arithmetic Sequences: The nth Term and Gauss's Sum Formula

How to spot an arithmetic sequence, find any term with the nnnth term formula, and add up a whole run of terms with the pairing trick attributed to the young Gauss.

3 min read Supports 3 lessons
In short

An arithmetic sequence adds the same common difference ddd every step, like 5,8,11,14,…5, 8, 11, 14, \dots5,8,11,14,… Its nnnth term is an=a1+(n−1)da_n = a_1 + (n - 1)dan​=a1​+(n−1)d, and the sum of its first nnn terms is n2(a1+an)\frac{n}{2}(a_1 + a_n)2n​(a1​+an​).

A sequence is an ordered list of numbers, called terms, that follows a rule. In an arithmetic sequence the rule is the simplest possible: add the same number every time.

5,  8,  11,  14,  17,  …d=35,\; 8,\; 11,\; 14,\; 17,\; \dots \qquad d = 35,8,11,14,17,…d=3

The common difference ddd is the gap between consecutive terms.

5
a1a_{1}a1​
8
a2a_{2}a2​
11
a3a_{3}a3​
14
a4a_{4}a4​
17
a5a_{5}a5​
20
a6a_{6}a6​
23
a7a_{7}a7​

Equal steps: the tops of the bars line up on a straight line.

The difference can be negative, as in 20,17,14,11,…20, 17, 14, 11, \dots20,17,14,11,…, where d=−3d = -3d=−3 and the terms go down.

Finding any term

To reach the nnnth term from the first, you take n−1n - 1n−1 steps, each of size ddd.

nth term
an=a1+(n−1)da_n = a_1 + (n - 1)dan​=a1​+(n−1)d
  1. 7,  11,  15,  …a20=  ?7,\; 11,\; 15,\; \dots \qquad a_{20} = \;?7,11,15,…a20​=?

    Find the 20th term.

1/4
Watch out

It is (n−1)(n - 1)(n−1) steps, not nnn. The first term needs no steps at all.

Tip

Rearranged, an=dn+(a1−d)a_n = dn + (a_1 - d)an​=dn+(a1​−d) is a straight line with slope ddd. Arithmetic sequences are linear functions sampled at whole numbers.

Adding up the terms

Legend has it that a young Carl Friedrich Gauss was asked to add the numbers 111 to 100100100 and answered almost instantly. He paired the first with the last, the second with the second-last, and so on. Every pair made 101101101, and there were 505050 pairs.

  1. 1+2+3+⋯+98+99+1001 + 2 + 3 + \cdots + 98 + 99 + 1001+2+3+⋯+98+99+100
1/4
Sum of the first n terms
Sn=n2(a1+an)S_n = \frac{n}{2}(a_1 + a_n)Sn​=2n​(a1​+an​)

Half the number of terms, times the first plus the last.

Worked example

Find the sum of the first 202020 terms of 7,11,15,…7, 11, 15, \dots7,11,15,…

  1. 1

    From above, a20=83a_{20} = 83a20​=83.

    S20=202(7+83)S_{20} = \frac{20}{2}(7 + 83)S20​=220​(7+83)
Key idea

This sum, written with sigma notation as ∑k=1nk=n(n+1)2\sum_{k=1}^{n} k = \frac{n(n + 1)}{2}∑k=1n​k=2n(n+1)​, turns up again in calculus when areas are approximated by adding up thin rectangles.

Common questions

How do I know if a sequence is arithmetic?

Subtract each term from the next. If the difference is always the same, the sequence is arithmetic and that number is the common difference.

What is the formula for the nth term?

an=a1+(n−1)da_n = a_1 + (n - 1)dan​=a1​+(n−1)d, where a1a_1a1​ is the first term and ddd is the common difference.

Practise arithmetic sequences

The Arithmetic Sequences lesson has worked examples and unlimited practice that adapts to you.

Open the lesson

On this page

  1. Finding any term
  2. Adding up the terms
  3. Common questions
Lessons on this
  • Arithmetic SequencesSequences & Series
  • Sigma NotationSequences & Series
  • Geometric SequencesSequences & Series
Related reading6
Ideas this article builds on or leads to.
  • Sequences & Series
    Geometric Sequences and Infinite Geometric Series

    A geometric sequence multiplies by the same common ratio rrr every step, like 3,6,12,24,…3, 6, 12, 24, \dots3,6,12,24,… Its nnnth term is a1rn−1a_1 r^{n-1}a1​rn−1. When ∣r∣<1|r| < 1∣r∣<1, adding all of its infinitely many terms gives a finite total, a11−r\frac{a_1}{1 - r}1−ra1​​.

  • Sequences & Series
    Sigma Notation (Σ) Explained: How to Read and Write Summations

    Sigma notation uses the Greek capital letter Σ\SigmaΣ to mean add up. ∑k=14(2k+1)\sum_{k=1}^{4} (2k + 1)∑k=14​(2k+1) means substitute k=1,2,3,4k = 1, 2, 3, 4k=1,2,3,4 into 2k+12k + 12k+1 and add the results.

  • Graphs & Functions
    Equation of a Straight Line: y = mx + b and Point-Slope Form

    Every non-vertical straight line can be written y=mx+by = mx + by=mx+b, where mmm is the slope and bbb is the yyy-intercept, the height where the line crosses the yyy-axis.

  • Algebra
    Rearranging Formulae: How to Change the Subject of a Formula

    Rearranging a formula means making a different letter its subject, the letter on its own on one side. You use the same balancing steps as solving an equation, treating the other letters as if they were numbers.

  • Graphs & Functions
    Slope (Gradient) of a Line: Rise Over Run Explained

    The slope, or gradient, of a line measures its steepness: how much yyy changes for each step of 111 in xxx. Between two points, m=riserun=y2−y1x2−x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}m=runrise​=x2​−x1​y2​−y1​​.

  • Geometry
    Area and Perimeter: Formulas for Rectangles, Triangles and Trapeziums

    Perimeter is the distance around the edge of a shape, measured in units. Area is the amount of surface it covers, measured in square units.