MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Term-to-term rules — continuing sequences

L2.4 — SequencesLecture 1 of 3~2430 words

What comes next? It depends on the rule

Here are four lists of numbers. What comes next in each one?

You probably found answers quickly: 15, then 162, then 21, then 6.25. Each list hides a rule, and you found it. Hold on to those answers. We will come back to every one of them.

Now try a shorter list: 1, 2, 4, … What comes next?

Most people say 8, because each number is double the one before. That is a good answer. But here is another good answer: 7. Look at the gaps. From 1 to 2 is +1. From 2 to 4 is +2. If the next gap is +3, the next number is 7, and then 11. Both rules fit the three numbers you were given. The three numbers alone cannot tell you which rule is meant.

This is the idea that sits under the whole lecture, so here it is in one line. A few terms do not decide the rule. The rule decides the terms.

Here is a famous example of how far a pattern can mislead you. Put some points on the edge of a circle. Join every pair of points with a straight line. Then count the pieces the circle is cut into.

1 2 3 4 5 6 7 8
Four points on a circle, with every pair joined by a straight line. The lines cut the circle into 8 pieces, numbered here.

With 1 point there is 1 piece, the whole circle. With 2 points there are 2 pieces. With 3 points there are 4, and with 4 points there are 8, as in the figure. With 5 points, careful counting gives 16. The counts so far are 1, 2, 4, 8, 16. Each one is double the one before. So what will 6 points give?

Predict, then reveal — six points on a circle

The points are placed so that no three of the lines meet at the same point. The counts for 1 to 5 points are 1, 2, 4, 8, 16. How many pieces do 6 points give? Choose your answer before you look.

With six points on the circle, and no three lines meeting at the same point, the circle is cut into 31 pieces, not 32. The figure numbers every piece so that you can check the count.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Thirty-one. The doubling pattern fitted perfectly five times, and then it failed. The mathematician Leo Moser described this circle problem in 1949 as a warning about this exact danger: a pattern seen in a few cases is a guess, not a rule.

So in this lecture, we do two things. We learn to find the rule that a list of numbers seems to follow. And we learn to state the rule, so that everyone continues the list in the same way.

Terms, and the rule that joins them

A sequence is a list of numbers in a fixed order. Each number in it is called a term. The order matters: 2, 6, 18 and 18, 6, 2 are different sequences. We talk about the 1st term, the 2nd term, and so on. In 5, 8, 11, 14, the 1st term is 5 and the 4th term is 14.

A term-to-term rule tells you how to get from one term to the next. "Start at 5 and add 3 each time" is a complete term-to-term rule. It produces 5, 8, 11, 14, 17, and it never stops. Notice that the rule has two parts: a starting term, and a step. Without the starting term, "add 3" could give 5, 8, 11 or 100, 103, 106. Both parts are needed. Some books call a term-to-term rule a recurrence relation. It is the same idea.

Term-to-term rule

A term-to-term rule gives the first term (or the first few terms) and says how each term is made from the term or terms before it.

Example: first term 5; each term is the one before plus 3.

Two tests: differences and ratios

When you are given a list and asked for the rule, two tests find most of the simple rules. Do both of them, every time.

Test 1: the differences. Subtract each term from the next one: next term minus this term. For 5, 8, 11, 14, the differences are 3, 3, 3. When every difference is the same, the sequence is called arithmetic, and that fixed difference is the common difference. The rule is "add the common difference".

Test 2: the ratios. Divide each term by the one before it: next term ÷ this term. For 2, 6, 18, 54, the ratios are 3, 3, 3. When every ratio is the same, the sequence is called geometric, and that fixed number is the common ratio. The rule is "multiply by the common ratio".

Arithmetic: the same number is added each time 5 8 11 14 ? +3 +3 +3 +3 Geometric: the same number multiplies each time 2 6 18 54 ? ×3 ×3 ×3 ×3
Top: an arithmetic sequence, where the same number is added at every step. Bottom: a geometric sequence, where the same number multiplies at every step. The next terms are 17 and 162.

Why do both tests? Because many students try only adding, and give up when the differences are not equal. Look at the next box.

Stop and think

Work out the differences of 3, 6, 12, 24. Are they all the same? Is the sequence arithmetic? Then work out the ratios.

Show the answer

The differences are 3, 6, 12. They are not the same, so the sequence is not arithmetic.

The ratios are 6 ÷ 3 = 2, 12 ÷ 6 = 2, 24 ÷ 12 = 2. They are all the same. So the sequence is geometric, with common ratio 2. The next term is 24 × 2 = 48.

Look at the differences again: 3, 6, 12. They double too. In a geometric sequence the gaps grow in the same way as the terms. This is a useful clue. When the differences themselves multiply, try the ratios.

The common difference can be negative. In 20, 17, 14, 11, each difference is 17 − 20 = −3. That is why the difference is always "next minus this": the order of the subtraction carries the direction. A negative common difference means the sequence goes down by the same amount each time.

The common ratio can be less than 1. In 100, 50, 25, 12.5, each ratio is 50 ÷ 100 = ½. Multiplying by ½ is the same as halving. So the sequence shrinks, and the next term is 6.25. Halving never reaches zero, so this sequence keeps going for ever, with smaller and smaller terms. You met this kind of multiplier with percentages: a decrease of 50% means multiply by 0.5.

Now try sorting some sequences yourself. For each one, do both tests.

Sort — arithmetic, geometric or neither?

Put each sequence in the right box. Work out the differences and the ratios first. Every card explains its answer.

Each sequence is sorted by the two tests: equal differences mean arithmetic, equal ratios mean geometric, and neither means a different kind of rule.

SequenceTypeReason
4, 9, 14, 19ArithmeticDifferences 5, 5, 5
3, 12, 48, 192GeometricRatios 4, 4, 4
1, 4, 9, 16NeitherDifferences 3, 5, 7; ratios 4, 2.25, 1.78 (rounded)
20, 14, 8, 2ArithmeticDifferences −6, −6, −6
80, 40, 20, 10GeometricRatios ½, ½, ½
1, 2, 4, 7, 11NeitherDifferences 1, 2, 3, 4; ratios not equal
−7, −4, −1, 2ArithmeticDifferences 3, 3, 3
1, 1, 2, 3, 5NeitherEach term is the sum of the two before it
5, −10, 20, −40GeometricRatios −2, −2, −2

What should you have seen? The two tests are quick, and together they sort most simple sequences. But three of the cards passed neither test. That does not mean they have no rule. It means the rule is of another kind.

When neither test works

Look at the square numbers 1, 4, 9, 16, 25. The differences are 3, 5, 7, 9. They are not equal, but they have a pattern of their own: they are the odd numbers, in order. So one term-to-term rule is "add the next odd number". From 25, add 11 to get 36, then add 13 to get 49. The step changes, but in a way you can state exactly.

The list 1, 2, 4, 7, 11 from the start of the lecture works the same way. Its differences are 1, 2, 3, 4, so the rule is "add 1 more than you added last time". The next term is 11 + 5 = 16.

Then there is 1, 1, 2, 3, 5, 8, 13. Here each term is made from two terms before it: 1 + 1 = 2, 1 + 2 = 3, 2 + 3 = 5, and so on. This is called the Fibonacci sequence. The next term after 13 is 8 + 13 = 21. Because each step uses two terms, the rule needs two starting terms. Start with 2 and 5 instead, and the same rule gives 2, 5, 7, 12, 19, a completely different sequence.

So when neither test works, look at the differences as a new sequence, or try a rule that uses more than one earlier term. Then describe the rule in words. A clear sentence is a perfectly good term-to-term rule.

Worked Example 1 — An arithmetic sequence

Find the term-to-term rule of 5, 8, 11, 14, … and the next three terms.

Differences: 8 − 5 = 3, 11 − 8 = 3, 14 − 11 = 3. They are equal, so the sequence is arithmetic with common difference 3.

Rule: first term 5, add 3 each time.

Next terms: 14 + 3 = 17, 17 + 3 = 20, 20 + 3 = 23.

Check: from 5 to 23 is six steps of 3, and . ✓

Worked Example 2 — A geometric sequence that shrinks

Find the rule of 48, 24, 12, 6, … and the next three terms.

Differences: −24, −12, −6. Not equal, so it is not arithmetic.

Ratios: 24 ÷ 48 = ½, 12 ÷ 24 = ½, 6 ÷ 12 = ½. Equal, so it is geometric with common ratio ½.

Rule: first term 48, multiply by ½ (halve) each time.

Next terms: 6 × ½ = 3, 3 × ½ = 1.5, 1.5 × ½ = 0.75.

Check: halving six times is dividing by , and . ✓

Worked Example 3 — Going below zero

Find the rule of 7, 3, −1, −5, … and the next three terms.

Differences: 3 − 7 = −4, −1 − 3 = −4, −5 − (−1) = −4. Equal, so it is arithmetic with common difference −4.

Next terms: −5 − 4 = −9, −9 − 4 = −13, −13 − 4 = −17.

Check: the terms go down by 4 every time, and from 7 to −17 is six steps of −4: . ✓

Worked Example 4 — The square numbers

Describe a rule for 1, 4, 9, 16, 25, … and find the next two terms.

Differences: 3, 5, 7, 9. Not equal. Ratios: 4, 2.25, about 1.78, 1.5625. Not equal.

The differences are the odd numbers in order. Rule: first term 1; to get each new term, add the next odd number.

Next terms: 25 + 11 = 36, 36 + 13 = 49.

Check: the terms are , so the next two should be and . ✓ Two different descriptions give the same terms, so they describe the same sequence.

Worked Example 5 — A rule with two operations

Find a rule for 3, 5, 9, 17, … and the next two terms.

Differences: 2, 4, 8. Not equal. Ratios: about 1.67, 1.8, about 1.89. Not equal.

But the differences double. That suggests that multiplying by 2 is part of the rule. Try "multiply by 2" alone: 3 × 2 = 6, which is 1 too many. So try "multiply by 2, then subtract 1".

3 × 2 − 1 = 5 ✓, 5 × 2 − 1 = 9 ✓, 9 × 2 − 1 = 17 ✓.

Next terms: 17 × 2 − 1 = 33, 33 × 2 − 1 = 65.

Check: the differences should keep doubling. 33 − 17 = 16 and 65 − 33 = 32. ✓

Trap 1 — Testing only one difference

For 1, 2, 4, 8, the first difference is 1, and it is tempting to write "add 1" and stop. Check every gap: 1, 2, 4. They are not equal. A rule must work for every pair of terms, not only the first.

Trap 2 — Subtracting the wrong way round

For 20, 17, 14, writing the difference as 20 − 17 = 3 gives "add 3", and the next term comes out as 17 instead of 11. The difference is always next term minus this term: 17 − 20 = −3. The sign tells you the direction.

Trap 3 — Giving the next term without the rule

For 1, 2, 4, …, both 7 and 8 can be right. An answer with no rule cannot be checked. Always write the rule you used, such as "each term is double the one before", and then the next term. That way your answer is correct for your rule, and anyone can see why.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Find the term-to-term rule and the next three terms of each sequence. (a) 2, 9, 16, 23, … (b) 81, 27, 9, 3, … (c) 4, −1, −6, …

    Hint 1

    Do the differences test first. If the differences are not equal, do the ratios test.

    Hint 2

    (a) 9 − 2 = 7. (b) 27 ÷ 81 = ⅓. (c) −1 − 4 = −5.

    Full answer

    (a) Differences 7, 7, 7. Arithmetic: add 7. Next terms 30, 37, 44.

    (b) Ratios ⅓, ⅓, ⅓. Geometric: multiply by ⅓ (divide by 3). Next terms 1, ⅓, ⅑.

    (c) Differences −5, −5. Arithmetic: subtract 5. Next terms −11, −16, −21.

    Check (b): . ✓

  2. Say whether each sequence is arithmetic, geometric or neither. Give the rule and the next term. (a) 5, 10, 20, 40, … (b) 5, 10, 15, 20, … (c) 1, 3, 6, 10, 15, …

    Hint 1

    (a) and (b) start the same way. Only the later terms tell them apart.

    Hint 2

    For (c), write down the differences and look at them as a new sequence.

    Full answer

    (a) Ratios 2, 2, 2. Geometric: multiply by 2. Next term 80.

    (b) Differences 5, 5, 5. Arithmetic: add 5. Next term 25.

    (c) Differences 2, 3, 4, 5. Neither. Rule: add 1 more than you added last time. Next term 15 + 6 = 21, then 28. These are the triangular numbers: 1, 3, 6, 10 dots can be arranged as triangles with rows of 1, 1 + 2, 1 + 2 + 3, and so on.

    Notice that (a) and (b) share their first two terms, 5 and 10. Two terms could never have told them apart. ✓

  3. Fill in the missing terms. (a) The arithmetic sequence 3, ___, ___, 18. (b) The geometric sequence 2, ___, 18, where every term is positive.

    Hint 1

    (a) How many equal steps take you from 3 to 18? (b) How many times do you multiply by the ratio to go from 2 to 18?

    Hint 2

    (a) There are three steps, and they add up to 18 − 3 = 15. (b) Two multiplications by the ratio take 2 to 18, so ratio × ratio = 9.

    Full answer

    (a) Three equal steps make 15, so each step is 15 ÷ 3 = 5. The sequence is 3, 8, 13, 18. Check: 18 − 13 = 5. ✓

    (b) The ratio times itself is 18 ÷ 2 = 9, so the ratio is 3. The missing term is 6. Check: 6 ÷ 2 = 3 and 18 ÷ 6 = 3. ✓

    Why did (b) say "every term is positive"? Because −3 × −3 is also 9. Without that condition, 2, −6, 18 would fit too. The condition fixes one rule.

  4. A sequence follows the rule "each term is the sum of the two terms before it", like the Fibonacci sequence. Its 5th term is 19 and its 6th term is 31. Find the first four terms, and the 7th term.

    Hint 1

    The 6th term is the 4th term plus the 5th term. You know two of those three numbers.

    Hint 2

    4th term = 31 − 19 = 12. Now use the 5th term in the same way to find the 3rd term, and keep working backwards.

    Full answer

    Work backwards, undoing the rule. Each term is the one after next minus the next one.

    4th = 31 − 19 = 12. 3rd = 19 − 12 = 7. 2nd = 12 − 7 = 5. 1st = 7 − 5 = 2.

    The sequence is 2, 5, 7, 12, 19, 31, and the 7th term is 19 + 31 = 50.

    Check forwards: 2 + 5 = 7, 5 + 7 = 12, 7 + 12 = 19, 12 + 19 = 31. ✓ A term-to-term rule can run backwards as well as forwards, as long as each step can be undone.

The bigger idea

The Fibonacci sequence is named after Leonardo of Pisa, called Fibonacci, who put it in his book Liber Abaci in 1202 as a puzzle about breeding rabbits. But the same rule was found centuries earlier in India, by poets. In Sanskrit poetry, a syllable is either short (one beat) or long (two beats). How many different rhythms fill a line of a given number of beats? The scholar Virahanka gave the answer some time between the 6th and 8th centuries, and Hemachandra gave it again around 1150.

Their reason is the rule itself. A line of 5 beats must end with a short syllable or a long one. If it ends short, the first 4 beats can be any 4-beat rhythm. If it ends long, the first 3 beats can be any 3-beat rhythm. So the number of 5-beat rhythms is the number of 4-beat rhythms plus the number of 3-beat rhythms. Counting from 1 beat gives 1, 2, 3, 5, 8, 13. Here the rule is not guessed from a few terms. It is proved from what the numbers count.

That is the difference between a pattern and a rule. Sunflowers show it from the other side. In a study of 657 sunflower heads published in 2016, about three quarters of the spiral counts that could be measured were Fibonacci numbers. The rest were not. The Fibonacci pattern in plants is common, and scientists still argue about why. It is not a law that every flower obeys.

The next lecture takes the arithmetic sequences further. A term-to-term rule makes you walk through every term to reach the 100th one. A position-to-term rule, the nth term, jumps straight there.

Key concepts in this lesson