Nth Term Calculator

Enter the terms of a sequence and find the rule for the nth term.

4 to 20 numbers or fractions, separated by commas.

Try

Result

You entered3,  7,  11,  153, \; 7, \; 11, \; 15

an=4n−1\displaystyle a_n = 4n - 1

Next term

19\displaystyle 19

10th term

39\displaystyle 39
Show the work
  1. Differences between terms

    Subtract each term from the one after it to get the first differences, and repeat on those if they are not constant. The row where the differences stop changing tells you what kind of rule the sequence follows.

    an371115Δ1444\begin{array}{l|cccc} a_n & 3 & 7 & 11 & 15 \\ \Delta_1 & 4 & 4 & 4 \end{array}
  2. Linear sequence: first differences are constant

    The first differences are all 4, so this is an arithmetic sequence with first term a1=3a_1 = 3 and common difference d=4d = 4. Put them into the formula and collect the terms.

    an=a1+(n−1)d=3+(n−1)×4=4n−1\begin{aligned} a_n &= a_1 + \left(n - 1\right)d \\ &= 3 + \left(n - 1\right) \times 4 \\ &= 4n - 1 \end{aligned}
  3. Check against the terms

    Put n=1,2,3,…n = 1, 2, 3, \dots into the rule and compare with the given terms. The rule gives every one of the 4 terms correctly, so it fits the whole list.

    a1=3a2=7a3=11a4=15\begin{gathered} a_{1} = 3 \\ a_{2} = 7 \\ a_{3} = 11 \\ a_{4} = 15 \end{gathered}
  4. Result

    So the rule for the nth term is an=4n−1a_n = 4n - 1.

Worked examples