Number sequence formulas
An arithmetic sequence adds a common difference d = a₂ − a₁, so its nth term is aₙ = a₁ + (n − 1) × d and the sum of its first n terms is Sₙ = n × (a₁ + aₙ) / 2. A geometric sequence multiplies by a common ratio r = a₂ / a₁, so aₙ = a₁ × rⁿ⁻¹. When the differences grow by the same amount (a constant second difference s), the sequence is quadratic with A = s / 2.
The formulas
| Formula | What it gives | Symbols |
|---|---|---|
d = a₂ − a₁ | The common difference | d = the common difference, a₁ and a₂ = the first two terms (any two neighbours give the same d) |
aₙ = a₁ + (n − 1) × d | The nth term of an arithmetic sequence | aₙ = term n, a₁ = the first term, d = the common difference; term n is n − 1 differences after the first |
d = (aₖ − a₁) ÷ (k − 1) | The difference from two terms k places apart | aₖ = the term in place k; between a₁ and aₖ there are k − 1 equal steps (one more than the missing terms) |
Sₙ = n × (a₁ + aₙ) ÷ 2 | The sum of the first n terms of an arithmetic sequence | Sₙ = the sum, n = the number of terms, a₁ = the first and aₙ = the last term added |
r = a₂ ÷ a₁ | The common ratio | r = the common ratio, a₁ and a₂ = the first two terms; r = 0.5 means each term is half of the one before |
aₙ = a₁ × rᵏ, k = n − 1 | The nth term of a geometric sequence | aₙ = term n, a₁ = the first term, r = the common ratio, k = n − 1 (the ratio is multiplied in once for each step after the first) |
c = a + b | A Fibonacci-like sequence | c = a term, a and b = the two terms just before it; to work back, a = c − b |
d′ = d + s | The next difference when the differences grow evenly | d′ = the next difference, d = the last difference, s = the second difference (how much the differences grow each time) |
d′ = d × r | The next difference when the differences grow by a factor | d′ = the next difference, d = the last difference, r = the factor between neighbouring differences |
aₙ = A × n² + B × n + C | The nth term of a quadratic sequence | aₙ = term n; A, B and C are found from the first terms (next row) |
A = s ÷ 2, B = d − 3 × A, C = a₁ − A − B | A, B and C of a quadratic sequence | s = the constant second difference, d = a₂ − a₁ (the first difference), a₁ = the first term |
Worked example
This example is made by the same code as the practice questions. Open the working to see every step.
The sequence 16, 18, 20, 22, … carries on with the same rule. What is term 40 (the box with the question mark)?
Answer: 94. The nth term formula: a₄₀ = 16 + (40 − 1) × 2 = 94.
Show the working
- Write down what is given: 16, 18, 20, 22, n = 40.
- The common difference: d = 18 − 16 = 2.
- Work it out: a₄₀ = 16 + (40 − 1) × 2 = 94.
- Check: term 40 is the first term plus one fewer differences than its place. Answer: 94.
Why not the others?
- 78 Leaves out the first term: aₙ = a₁ + (n − 1) × d.
Remember: The nth term of an arithmetic sequence: aₙ = a₁ + (n − 1) × d. Formula sheet
Common mistakes
These are the wrong answers the practice questions offer, and the slip that leads to each.
- Using n differences for term n: the first term is already term 1, so term n is only n − 1 differences after it.
- Dividing by the number of missing terms: between two known terms with two terms missing there are three equal steps.
- Reading a row that jumps up and down as one sequence: split the odd and the even places and find two rules.
- Leaving out the / 2 in the sum of a series, or using the second difference as A: A is half of it.
Questions
What is the formula for the common difference?
d = a₂ − a₁. Symbols: d = the common difference, a₁ and a₂ = the first two terms (any two neighbours give the same d).
What is the formula for the nth term of an arithmetic sequence?
aₙ = a₁ + (n − 1) × d. Symbols: aₙ = term n, a₁ = the first term, d = the common difference; term n is n − 1 differences after the first.
What is the formula for the difference from two terms k places apart?
d = (aₖ − a₁) ÷ (k − 1). Symbols: aₖ = the term in place k; between a₁ and aₖ there are k − 1 equal steps (one more than the missing terms).