Number sequences and patterns

Number sequences and patterns

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A term-to-term rule gives the next term; a position-to-term rule (the nnth term) gives any term.
  • Check the differences between terms: equal differences mean a linear sequence.
  • A linear sequence with common difference dd has nnth term dn+bdn+b, where b=first term−db=\text{first term}-d.
  • To test if a number is a term, solve for nn: it must be a positive whole number.
  • Generalise a pattern by tabulating, finding the rule, explaining it and verifying it.

Describing patterns

A sequence follows a rule: either add or multiply to get the next term, or use the position n.

A sequence is a list of numbers that follow a rule; each number is a term.

For 7,11,15,197,11,15,19 the differences are all 44. The term-to-term rule is "add 4" and the nnth term is 4n+34n+3.

12345651015202530xy(1, 7)(2, 11)(3, 15)(4, 19)4n + 3
The sequence 7, 11, 15, 19: the nth term is 4n + 3 (add 4 each time)

Term-to-term rule

  • How to get from one term to the next
  • Example: add 4

Position-to-term rule

  • How to get a term from its position n
  • Example: 4n+34n+3

Which term-to-term rule gives 5, 9, 13, 17, ...?

Special sequences

Square, triangular, cube and Fibonacci-type sequences each have a pattern you can recognise.

  • Square numbers: 1,4,9,16,251,4,9,16,25 (n2n^2).
  • Triangular numbers: 1,3,6,10,15,211,3,6,10,15,21. The differences are 2,3,4,5,…2,3,4,5,\ldots
  • Cube numbers: 1,8,27,641,8,27,64 (n3n^3).
  • Fibonacci-type: each term is the sum of the previous two: 1,1,2,3,5,8,131,1,2,3,5,8,13.
0102030123456Position nTerm
  • Square
  • Triangular
Square and triangular numbers

Which of these is a triangular number?

The nth term of a linear sequence

The common difference is the number in front of n; then adjust using the first term.

A sequence with common difference dd has nnth term dn+bdn+b, where b=first term−db=\text{first term}-d.

For 7,11,15,197,11,15,19: d=4d=4, so the rule starts 4n4n. 4(1)=44(1)=4 but the first term is 77, so add 33: 4n+34n+3.

A decreasing sequence has negative dd: 20,17,1420,17,14 has nnth term 23−3n23-3n.

0.511.522.533.544.555.5510152025nterm711151923y = 4n + 3
The terms of 4n + 3 lie on a straight line

Worked example

Find the nnth term of 2,9,16,23,…2, 9, 16, 23, \ldots

Find the nnth term of 5,9,13,17,…5, 9, 13, 17, \ldots

Using the nth term

Substitute to find a term, or solve for n to test a number; n must be a positive whole number.

The 50th term of 4n+34n+3 is 4(50)+3=2034(50)+3=203.

Is 150150 in 4n+34n+3? 4n+3=1504n+3=150 gives n=36.75n=36.75, so no. Is −40-40 in 23−3n23-3n? n=21n=21, so yes.

For the first term above or below a value, solve the inequality and round up to a whole number.

24681012141618202224−60−40−2020xy(21, −40)23 − 3n
The nth term 23 − 3n: −40 is a term because n = 21 is a positive whole number

Find a term

  • Substitute the position

Test a number

  • Solve for n; must be whole

First term past a value

  • Solve the inequality; round up

Worked example

Find the first term of 23−3n23-3n that is negative.

Is 100100 a term of the sequence 3n+13n+1?

Generalising patterns from diagrams

Tabulate the first few terms, find the rule, explain it from the diagram and verify it.

Pattern questions often describe a diagram, such as tables pushed together in a row. Each table adds a seat on the top and bottom (2n2n), and each end of the row adds one more (+2+2).

  1. 1

    Tabulate

    Count the first few patterns: 4, 6, 8 seats for 1, 2, 3 tables.

  2. 2

    Find the difference

    The common difference is 2, so the rule starts 2n2n.

  3. 3

    Find b

    Use the first term: 2(1)+b=42(1)+b=4 gives b=2b=2, so the rule is 2n+22n+2.

  4. 4

    Explain

    Each table adds a seat on the top and bottom (2n2n), and each end of the row adds one more (+2+2).

  5. 5

    Verify

    Count six tables directly: 6+6+2=146+6+2=14. The rule gives 2(6)+2=142(6)+2=14.

Generalising the table pattern

A pattern has 5, 8, 11 dots for shapes 1, 2, 3. What is the rule for shape n?

Solving problems with rules

Set up an inequality with the rule, solve it, and round to a whole number that still meets the need.

For the tables, 2n+22n+2 seats for nn tables.

Always state any assumption of the model, such as one person sitting at each free edge.

12345678910510152025xy(1, 4)(5, 12)2n + 2
Seats for n tables: 2n + 2
  • Seats for n tables2n+22n+2

Worked example

The rule 2n+22n+2 gives the seats for nn tables. How many tables seat 3131 people?

A calculation gives n ≥ 7.2 minibuses needed. How many do you book?

Try an exam question

Find the nnth term of 2,9,16,23,…2, 9, 16, 23, \ldots and decide whether 100100 is a term of the sequence.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which expression gives the nnth term of the sequence?

1 mark, marked against the mark scheme

Revision notes