Skip to content

Sequences: nth terms, differences and recurrence rules

A sequence is an ordered list of numbers. Each number is a term, and its position matters.

For example, in

3,7,11,15,3,7,11,15,\ldots

the first term is 33, the second is 77, and the fourth is 1515. The dots mean that the sequence continues according to its rule.

Two descriptions of a sequence are especially important:

  • a position-to-term rule gives a term directly from its position, such as un=4n1u_n=4n-1;
  • a term-to-term rule gives each new term from earlier terms, such as un+1=un+4u_{n+1}=u_n+4.

Moving confidently between lists, formulae and verbal rules is essential preparation for A-level sequences, series and iteration.

You should already be able to:

  • substitute positive integers into algebraic expressions;
  • simplify expressions and solve linear equations;
  • expand and factorise quadratics;
  • use negative numbers accurately.

Review function notation, algebraic manipulation and factorisation, linear equations or quadratic equations if needed.

The symbol unu_n means the term in position nn. Thus

u1=first term,u2=second term,u10=tenth term.u_1=\text{first term},\qquad u_2=\text{second term},\qquad u_{10}=\text{tenth term}.

The letter is only a name. Some questions use ana_n, xnx_n or another letter.

If

un=5n+2,u_n=5n+2,

then substitute the required position for nn:

u1=5(1)+2=7,u4=5(4)+2=22.u_1=5(1)+2=7,\qquad u_4=5(4)+2=22.

Misconception: unu_n is not u×nu\times n

Section titled “Misconception: unu_nun​ is not u×nu\times nu×n”

unu_n is a labelled term, not a product. Similarly, un+1u_{n+1} means the term after unu_n. It does not mean un+1u_n+1.

Generating terms from a position-to-term rule

Section titled “Generating terms from a position-to-term rule”

A position-to-term rule, often called an nth-term rule, lets you find any term without generating all earlier terms.

The nth term is un=3n8u_n=3n-8. Find the first five terms.

Use n=1,2,3,4,5n=1,2,3,4,5:

u1=3(1)8=5,u2=3(2)8=2,u3=3(3)8=1,u4=3(4)8=4,u5=3(5)8=7.\begin{aligned} u_1&=3(1)-8=-5,\\ u_2&=3(2)-8=-2,\\ u_3&=3(3)-8=1,\\ u_4&=3(4)-8=4,\\ u_5&=3(5)-8=7. \end{aligned}

Therefore the sequence is

5,2,1,4,7,-5,-2,1,4,7,\ldots

The constant difference is 33, matching the coefficient of nn.

For vn=n22nv_n=n^2-2n, find v1v_1, v3v_3 and v10v_{10}.

v1=122(1)=1,v3=322(3)=3,v10=1022(10)=80.\begin{aligned} v_1&=1^2-2(1)=-1,\\ v_3&=3^2-2(3)=3,\\ v_{10}&=10^2-2(10)=80. \end{aligned}

Use brackets when substituting a negative value, although sequence positions normally begin at n=1n=1 and are positive integers.

For an=124na_n=12-4n:

  1. write the first four terms;
  2. find a25a_{25};
  3. state the common difference.
Answers
  1. 8,4,0,48,4,0,-4.
  2. a25=124(25)=88a_{25}=12-4(25)=-88.
  3. The common difference is 4-4.

Term-to-term rules and recurrence relations

Section titled “Term-to-term rules and recurrence relations”

A recurrence relation defines terms using earlier terms. It must include enough starting information to begin the sequence.

For example,

u1=6,un+1=un+5u_1=6,\qquad u_{n+1}=u_n+5

means start at 66 and repeatedly add 55:

6,11,16,21,6,11,16,21,\ldots

Without u1=6u_1=6, the recurrence would describe many possible sequences, all increasing by 55.

Worked example 3: generate terms recursively

Section titled “Worked example 3: generate terms recursively”

Given

x1=20,xn+1=xn2+3,x_1=20,\qquad x_{n+1}=\frac{x_n}{2}+3,

find x2x_2, x3x_3 and x4x_4.

Apply the same rule to the latest term each time:

x2=x12+3=202+3=13,x3=x22+3=132+3=192,x4=x32+3=194+3=314.\begin{aligned} x_2&=\frac{x_1}{2}+3=\frac{20}{2}+3=13,\\ x_3&=\frac{x_2}{2}+3=\frac{13}{2}+3=\frac{19}{2},\\ x_4&=\frac{x_3}{2}+3=\frac{19}{4}+3=\frac{31}{4}. \end{aligned}

Keep exact fractions unless a decimal is requested.

The Fibonacci-type recurrence

f1=2,f2=5,fn+2=fn+1+fnf_1=2,\qquad f_2=5,\qquad f_{n+2}=f_{n+1}+f_n

needs two starting terms because every new term uses two earlier terms.

f3=f2+f1=5+2=7,f4=f3+f2=7+5=12,f5=f4+f3=12+7=19.\begin{aligned} f_3&=f_2+f_1=5+2=7,\\ f_4&=f_3+f_2=7+5=12,\\ f_5&=f_4+f_3=12+7=19. \end{aligned}

So the sequence begins 2,5,7,12,19,2,5,7,12,19,\ldots.

Misconception: applying the rule to the position

Section titled “Misconception: applying the rule to the position”

In xn+1=2xn1x_{n+1}=2x_n-1, double the previous term, not the position number. If x1=4x_1=4, then x2=2(4)1=7x_2=2(4)-1=7, not 2(1)12(1)-1.

Given p1=3p_1=3 and pn+1=2pn4p_{n+1}=2p_n-4, find p2p_2, p3p_3, p4p_4 and p5p_5.

Answer

p2=2,qquadp3=0,qquadp4=4,qquadp5=12.p_2=2,qquad p_3=0,qquad p_4=-4,qquad p_5=-12.

Linear sequences and constant first differences

Section titled “Linear sequences and constant first differences”

A sequence is linear, or arithmetic, when the difference between consecutive terms is constant.

For

7,12,17,22,7,12,17,22,\ldots

the first differences are

5,5,5,5,5,5,\ldots

so its nth term has the form

un=5n+c.u_n=5n+c.

The coefficient of nn is the common difference. To find cc, compare with the sequence 5n5n:

nn11223344
5n5n55101015152020
required term77121217172222

Every required term is 22 larger, so

un=5n+2.\boxed{u_n=5n+2}.

Equivalently, if the first term is aa and common difference is dd, then

un=a+(n1)d.\boxed{u_n=a+(n-1)d}.

This works because reaching term nn from term 11 requires n1n-1 equal steps, not nn steps.

Find the nth term of

18,14,10,6,18,14,10,6,\ldots

The common difference is 4-4, so begin with 4n-4n:

4,8,12,16,-4,-8,-12,-16,\ldots

Add 2222 to obtain the required terms. Hence

un=4n+22.\boxed{u_n=-4n+22}.

Check both the first term and the difference:

u1=4+22=18,u2u1=1418=4.u_1=-4+22=18,\qquad u_2-u_1=14-18=-4.

Worked example 6: use a+(n1)da+(n-1)d

Section titled “Worked example 6: use a+(n−1)da+(n-1)da+(n−1)d”

A linear sequence has first term 3-3 and common difference 77. Find its nth term and its 5050th term.

un=a+(n1)d=3+7(n1)=7n10.\begin{aligned} u_n&=a+(n-1)d\\ &=-3+7(n-1)\\ &=7n-10. \end{aligned}

Therefore

u50=7(50)10=340.u_{50}=7(50)-10=340.

Misconception: using the first term as the coefficient

Section titled “Misconception: using the first term as the coefficient”

In 4,10,16,22,4,10,16,22,\ldots, the coefficient of nn is 66, because the common difference is 66. The formula is 6n26n-2, not 4n+24n+2.

Find the nth term of each linear sequence.

  1. 9,13,17,21,9,13,17,21,\ldots
  2. 30,23,16,9,30,23,16,9,\ldots
  3. 8,3,2,7,-8,-3,2,7,\ldots
Answers
  1. Difference 44: un=4n+5u_n=4n+5.
  2. Difference 7-7: un=7n+37u_n=-7n+37.
  3. Difference 55: un=5n13u_n=5n-13.

To test whether a number is a term, set the nth-term formula equal to that number and solve for nn. It is a term only if the solution is an allowed position, usually a positive integer.

Worked example 7: test membership of a linear sequence

Section titled “Worked example 7: test membership of a linear sequence”

The sequence has nth term un=7n4u_n=7n-4. Is 150150 a term?

7n4=150,7n=154,n=22.\begin{aligned} 7n-4&=150,\\ 7n&=154,\\ n&=22. \end{aligned}

Since 2222 is a positive integer, 150150 is the 2222nd term.

Is 100100 a term?

7n4=100n=1047.7n-4=100\quad\Longrightarrow\quad n=\frac{104}{7}.

This is not an integer, so 100100 is not a term.

Finding a numerical value of nn is not enough. A position such as 14.8614.86 has no meaning in an ordinarily indexed sequence.

Quadratic sequences and second differences

Section titled “Quadratic sequences and second differences”

A quadratic sequence has an nth term of the form

un=an2+bn+c,u_n=an^2+bn+c,

where a0a\ne0. Its first differences are not constant, but its second differences are constant.

Consider

2,7,14,23,34,2,7,14,23,34,\ldots

Form a difference table:

n12345un27142334first difference57911second difference222\begin{array}{c|ccccc} n&1&2&3&4&5\\ \hline u_n&2&7&14&23&34\\ \text{first difference}&&5&7&9&11\\ \text{second difference}&&&2&2&2 \end{array}

For un=an2+bn+cu_n=an^2+bn+c, the constant second difference is 2a2a. Here 2a=22a=2, so a=1a=1.

The first difference is

un+1un=a(n+1)2+b(n+1)+c(an2+bn+c)=2an+a+b.\begin{aligned} u_{n+1}-u_n &=a(n+1)^2+b(n+1)+c-(an^2+bn+c)\\ &=2an+a+b. \end{aligned}

This is linear in nn, so taking another difference gives 2a2a. The constant cc disappears at the first difference, and the linear part contributes nothing to the second.

A reliable method is:

  1. calculate first and second differences;
  2. divide the second difference by 22 to find aa;
  3. subtract the terms of an2an^2 from the original sequence;
  4. find the linear nth term of the remainder.

Worked example 8: positive second difference

Section titled “Worked example 8: positive second difference”

Find the nth term of

4,11,22,37,56,4,11,22,37,56,\ldots

The first differences are 7,11,15,197,11,15,19, so the second difference is 44. Therefore

2a=4a=2.2a=4\quad\Longrightarrow\quad a=2.

Subtract the sequence 2n22n^2:

nn1122334455
original441111222237375656
2n22n^22288181832325050
remainder2233445566

The remainder has nth term n+1n+1. Hence

un=2n2+n+1.\boxed{u_n=2n^2+n+1}.

Check a term not used mentally in the construction:

u4=2(42)+4+1=37.u_4=2(4^2)+4+1=37.

Worked example 9: negative second difference

Section titled “Worked example 9: negative second difference”

Find the nth term of

9,14,15,12,5,9,14,15,12,5,\ldots

The first differences are 5,1,3,75,1,-3,-7, and the second differences are all 4-4. Thus

2a=4a=2.2a=-4\quad\Longrightarrow\quad a=-2.

Subtract 2n2-2n^2, which is equivalent to adding 2n22n^2:

nn1122334455
original9914141515121255
2n2-2n^22-28-818-1832-3250-50
remainder11112222333344445555

The remainder is 11n11n, so

un=2n2+11n.\boxed{u_n=-2n^2+11n}.

Misconception: the second difference is aa

Section titled “Misconception: the second difference is aaa”

The second difference is 2a2a, not aa. If the second difference is 66, the quadratic part is 3n23n^2.

Find the nth term of each quadratic sequence.

  1. 3,8,15,24,35,3,8,15,24,35,\ldots
  2. 6,15,28,45,66,6,15,28,45,66,\ldots
  3. 10,13,14,13,10,10,13,14,13,10,\ldots
Answers
  1. First differences 5,7,9,115,7,9,11 give second difference 22, so subtract n2n^2. The remainder is 2,4,6,8,102,4,6,8,10, giving un=n2+2n\boxed{u_n=n^2+2n}.
  2. Second difference 44 gives 2n22n^2. The remainder is 4,7,10,13,164,7,10,13,16, giving un=2n2+3n+1\boxed{u_n=2n^2+3n+1}.
  3. First differences 3,1,1,33,1,-1,-3 give second difference 2-2, so subtract n2-n^2. The remainder is 11,17,23,29,3511,17,23,29,35, giving un=n2+6n+5\boxed{u_n=-n^2+6n+5}.

Not every sequence is linear or quadratic.

In

3,6,12,24,3,6,12,24,\ldots

each term is multiplied by 22. Its nth term is

un=32n1.u_n=3\cdot2^{n-1}.

The exponent is n1n-1 because the first term has undergone zero multiplications by 22:

u1=320=3.u_1=3\cdot2^0=3.

Constant ratios indicate a geometric pattern. Constant first differences indicate a linear pattern. Do not confuse the two.

The sequence

5,5,5,5,5,-5,5,-5,\ldots

can be written

un=5(1)n1.u_n=5(-1)^{n-1}.

Powers of 1-1 alternate between 11 and 1-1.

A finite list does not determine one unique continuation. For example, 1,2,3,1,2,3,\ldots might continue with 44 under the rule un=nu_n=n, but a different rule could match the first three terms and then change. In exam questions, use the stated rule or the intended standard pattern. When justifying a formula, verify it algebraically or against the defining recurrence.

  1. Write the first four terms of un=n24n+6u_n=n^2-4n+6.
  2. Given v1=2v_1=2 and vn+1=3vn+1v_{n+1}=3v_n+1, find v4v_4.
  3. Find the nth term of 41,35,29,23,41,35,29,23,\ldots.
  4. Is 250250 a term of the sequence with nth term 9n+79n+7?
  5. Find the nth term of 5,12,23,38,57,5,12,23,38,57,\ldots.
  6. A sequence has first term 8181 and each term is one third of the preceding term. Write its first four terms and an nth-term rule.
Answers
  1. 3,2,3,63,2,3,6.
  2. v2=7v_2=7, v3=22v_3=22, v4=67v_4=67.
  3. The difference is 6-6, so un=6n+47u_n=-6n+47.
  4. 9n+7=2509n+7=250 gives n=27n=27, so yes, it is the 2727th term.
  5. First differences are 7,11,15,197,11,15,19, so the second difference is 44. Subtracting 2n22n^2 leaves 3,4,5,6,73,4,5,6,7, whose nth term is n+2n+2. Therefore un=2n2+n+2u_n=2n^2+n+2.
  6. 81,27,9,381,27,9,3 and un=81(13)n1u_n=81\left(\dfrac13\right)^{n-1}.

Before moving on, check that you can:

  • distinguish a position-to-term rule from a term-to-term rule;
  • generate terms from an nth-term formula or recurrence relation;
  • find the nth term of a linear sequence;
  • recognise constant second differences and find a quadratic nth term;
  • test whether a value occurs by solving for a positive integer position;
  • distinguish additive, multiplicative and alternating patterns.

Continue to sequences and recurrence relations for formal A-level notation and recursive definitions. Then study arithmetic sequences and series and geometric sequences and series, where terms are summed and infinite behaviour is considered.