Sequences and nth term calculator

A sequence is a list of numbers that follows a rule. The nth term is a formula that lets you jump straight to any term without listing all the ones before it.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What this topic covers

For an arithmetic sequence the nth term is a + (n − 1)d (arithmetic sequence nth term, dn + k form). Geometric sequences multiply by a constant ratio (geometric sequence), and quadratic sequences have constant second differences. Recurrence relations define each term from the previous one.

Each part of this topic has its own page with the formula, worked examples and a solver: Recurrence relation, Periodic and oscillating sequences, Quadratic sequence nth term, Arithmetic sequence: nth term, Linear nth term in the form dn + k, Geometric sequence, Fibonacci-type sequences, Sum of the first n odd numbers.

Closely related topics: Linear equations, Quadratic equations, Binomial expansion.

What is it used for?

A sequence is a list of numbers following a rule. The nth term is a formula that gives any term directly from its position.

How to solve it

  1. Work out the differences between terms.
  2. If the first differences are constant, the sequence is arithmetic and the nth term is dn + (first term - d).
  3. If the second differences are constant, it is quadratic: the coefficient of n² is half the second difference.
  4. If terms multiply by the same number each time, it is geometric.
  5. Test your formula on the first two terms.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: nth term of 3, 7, 11, 15

Worked out by the solver on this page. Press the button to try it yourself.

Sequences Answer checked
Answer
Tn=4n−1T_n = 4n - 1
  1. Write out the terms
  2. Find the differences between consecutive terms
  3. For an arithmetic sequence, where a is the first term
  4. Check: put into the rule

Example 2: nth term of 20, 17, 14, 11

Worked out by the solver on this page. Press the button to try it yourself.

Sequences Answer checked
Answer
Tn=−3n+23T_n = -3n + 23
  1. Write out the terms
  2. Find the differences between consecutive terms
  3. For an arithmetic sequence, where a is the first term
  4. Check: put into the rule

Example 3: nth term of 2, 6, 12, 20, 30

Worked out by the solver on this page. Press the button to try it yourself.

Quadratic sequence Answer checked
Answer
Tn=n2+nT_n = n^2 + n
  1. First differences
  2. Second differences are constant
    A constant second difference means a quadratic sequence, T_n = an² + bn + c.
  3. a is half the second difference
  4. Find b from the first difference
  5. Find c from the first term
  6. The nth term
  7. Check: put in n = 1, 2, 3, ...

Example 4: sum of first 20 terms of 3, 7, 11, 15

Worked out by the solver on this page. Press the button to try it yourself.

Sequences Answer checked
Answer
S20=820S_{20} = 820
  1. Write out the terms
  2. Find the differences between consecutive terms
  3. For an arithmetic sequence, where a is the first term
  4. Check: put into the rule
  5. Arithmetic series:
  6. Check: add the terms one by one

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

Arithmetic

3, 7, 11, 15: nth term 4n − 1

Difference 4.

Decreasing

20, 17, 14: nth term 23 − 3n

Difference −3.

Quadratic

2, 6, 12, 20: n² + n

Second difference 2.

Sum of terms

First 20 terms of 3, 7, 11…: 820

Use n/2 (2a + (n − 1)d).

Word problems

Find the common difference, write the nth term as dn + (a − d), and check it on the first terms.

Arithmetic

nth term of 3, 7, 11, 15.

  1. Difference4
  2. 4n4, 8, 12, 16
  3. Adjust4n − 1
  4. Check: n = 4 gives 15 ✓15

Decreasing

nth term of 20, 17, 14, 11.

  1. Difference−3
  2. −3n−3, −6, −9
  3. Adjust23 − 3n
  4. Check: n = 4 gives 11 ✓11

Quadratic Higher

nth term of 2, 6, 12, 20, 30.

  1. First differences4, 6, 8, 10
  2. Second difference2, so n²
  3. Remaindern
  4. Check: n = 5 gives 30 ✓30

A sum Higher

Sum of the first 20 terms of 3, 7, 11, …

  1. Formulan/2 (2a + (n − 1)d)
  2. Substitute10 × (6 + 76)
  3. Check: 20th term is 79, average 41, total 820 ✓820

Common mistakes

Using the difference as the constant

nth term 4 − 1 ✗

4n − 1 ✓

The difference multiplies n.

Using n − 1 when n is already accounted for

4(n − 1) − 1 ✗

4n − 1 ✓

Check the first term.

Missing the second difference

n² only ✗

half the second difference × n² ✓

Second difference 2 gives n².

Treating geometric as arithmetic

adding ✗

multiplying by a ratio ✓

Check ratios.

Exam tips

  1. Find the difference first.
  2. Check with n = 1.
  3. Quadratic: half the second difference × n².
  4. Sum formula: n/2 (a + l).
  5. Test one more term.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. 20th term of 5, 8, 11, 14… Foundation

62

2. nth term coefficient of 7, 12, 17… Foundation

5

3. 10th term of 3n² − 2 Foundation

298

4. Sum of the first 10 terms of 2, 4, 6… Higher

110

5. Common ratio of 3, 12, 48 Higher

4

6. Second difference of 1, 4, 9, 16 Higher

2

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Sequence
An ordered list of numbers.
nth term
A formula for the term in position n.
Common difference
The constant gap.
Common ratio
The constant multiplier.
Second difference
Difference of differences.
Recurrence relation
A rule from the previous term.

Frequently asked questions

How do I find the nth term of an arithmetic sequence?

Take the common difference d and write dn + (a − d).

How do I know a sequence is quadratic?

The second differences are constant.

Which page covers arithmetic sequences?

arithmetic sequence nth term.

Which page covers geometric sequences?

geometric sequence.

Which page covers quadratic sequences?

quadratic sequence nth term.

Which page covers recurrence relations?

recurrence relations and Fibonacci-type sequences.

More in Algebra and the formula sheets.