Number sequences and patterns

Number sequences and patterns

IB MYP Maths Standard: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A sequence is a list of numbers that follow a rule; each number is a term.
  • A linear sequence has a common difference dd, and its nnth term is dn+bdn+b where b=first term−db=\text{first term}-d.
  • Know the square, triangular, cube and Fibonacci-type sequences.
  • A number is in the sequence only if solving for nn gives a positive whole number.
  • For pattern questions: count, find the difference, write the rule, explain it from the diagram, then verify.

Sequences and rules

Use a term-to-term rule, or a position-to-term rule that gives any term from its position.

A sequence is a list of numbers that follow a rule. Each number is a term. A term-to-term rule says how to get from one term to the next, such as "add 4". A position-to-term rule (the nnth term) gives a term from its position nn, such as 4n+34n+3.

To continue a sequence, look at the differences between neighbouring terms. For 7,11,15,197,11,15,19 the differences are all 44.

051015201234position nterm
The sequence 7, 11, 15, 19 rises by 4 each time

What is the next term of 7,11,15,19,…7,11,15,19,\dots?

Special sequences

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

Triangular numbers have differences 2,3,4,5,6,…2,3,4,5,6,\ldots, so each term adds the next whole number: 11, 1+21+2, 1+2+31+2+3.

In a Fibonacci-type sequence each term is the sum of the previous two. If the first two terms are different, such as 2,3,5,8,132,3,5,8,13, it is still Fibonacci-type.

0102030123456Term number nTerm
  • Square
  • Triangular
  • Fibonacci
First six terms of three special sequences. Squares grow fastest of these; triangular numbers add 2, 3, 4…; Fibonacci-type adds the previous two.

First terms

Square:
1,4,9,16,251,4,9,16,25
Triangular:
1,3,6,10,15,211,3,6,10,15,21
Cube:
1,8,27,641,8,27,64
Fibonacci-type:
1,1,2,3,5,81,1,2,3,5,8

Rule

Square:
n2n^2
Triangular:
add 2,3,4,…2,3,4,\dots
Cube:
n3n^3
Fibonacci-type:
add the previous two terms

Which of these is a triangular number?

The nth term of a linear sequence

The common difference is the coefficient of nn; correct it with the first term.

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

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

For a decreasing sequence dd is negative: 20,17,1420,17,14 has d=−3d=-3 and nnth term 23−3n23-3n.

0.511.522.533.544.555101520nterm71115194n + 3
The sequence 7, 11, 15, 19 has nth term 4n + 3: a straight line with gradient 4 (the common difference).
  • nth termdn+bdn+b
  • Constant bfirst term − d-\ d

Worked example

Find the nnth term of 7,11,15,19,…7,11,15,19,\dots

Find the nnth term of 5,8,11,14,…5,8,11,14,\dots

Using the nth term

Substitute to find a term; set it equal to a number to test whether it is in the sequence.

Finding a term: substitute the position. For 4n+34n+3, the 50th term is 4(50)+3=2034(50)+3=203.

Testing a number: is −40-40 in 23−3n23-3n? 23−3n=−4023-3n=-40 gives n=21n=21. Whole, so yes: it is the 21st term.

First term above or below a value: solve the inequality, then round to the next whole number. 23−3n<023-3n<0 gives n>7.67n>7.67, so n=8n=8.

  1. 1

    Set equal

    rule = the number

  2. 2

    Solve for n

    rearrange the equation

  3. 3

    Check n

    a positive whole number means it is a term

Is a number in the sequence?

Worked example

Is 150150 a term of the sequence 4n+34n+3?

Is 9999 a term of 4n+34n+3?

Generalising patterns from diagrams

Count, find the difference, write the rule, explain it from the diagram and verify with a new case.

Pattern questions often describe a diagram, such as tables pushed together in a row. To generalise the pattern, count the first few values: 4,6,84,6,8 seats for 1,2,31,2,3 tables. The common difference is 22, so the rule starts 2n2n, and 2(1)+b=42(1)+b=4 gives b=2b=2: the rule is 2n+22n+2.

Explain it with the diagram: each table adds a seat on the top and bottom (2n2n), and each end of the row adds one more (+2+2). Verify with a new case: six tables give 6+6+2=146+6+2=14, and the rule gives 2(6)+2=142(6)+2=14.

  1. 1

    Count

    find the first few values in a table

  2. 2

    Difference

    find the common difference

  3. 3

    Rule

    use the first term to find b

  4. 4

    Explain

    link the rule to the diagram

  5. 5

    Verify

    test a new case

Generalising a pattern
02468101234tablesseats
Seats for n tables pushed together in a row

Using the rule 2n+22n+2, how many seats are there for 1010 tables?

Solving problems with rules

Write an inequality, solve it, and round to a whole number that still meets the need.

For the tables, 2n+22n+2 seats for nn tables. To seat 3131 people solve 2n+2≥312n+2\ge31: n≥14.5n\ge14.5, so use the next whole number, 1515 tables.

Always round to a whole number that still meets the need, and state any assumption of the model, such as one person sitting at each free edge.

2468101214161820510152025303540tables nseatsn = 14.52n + 231 people
Seats = 2n + 2: the line reaches 31 at n = 14.5, so 15 tables are needed

Worked example

Tables seat 2n+22n+2 people for nn tables. How many tables seat 3131 people?

A rule for chairs is 3n+13n+1. What is the smallest nn giving at least 4040 chairs?

Try an exam question

The first four terms of a sequence are 5,9,13,175, 9, 13, 17. (a) Find the nnth term. (b) Is 101101 a term of the sequence? Show your working.

[3 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