Sub topic 1
Sequences, series and how to recognise a pattern
Prerequisites
This chapter assumes you can do the following:
- Work with fractions, ratios and negative numbers.
- Solve linear equations and simple simultaneous equations.
- Use the laws of indices, such as a^m × a^n = a^(m+n).
- Do basic algebra, including factorising.
You do not need any progression formulas yet. This chapter gives you the vocabulary and the habit of testing a list of numbers before choosing a method. The formulas come in the chapters that follow.
Sequence versus series
A sequence is an ordered list of numbers. Order matters, so 2, 4, 6 and 6, 4, 2 are different sequences. Each entry is a term. We write the term in position n as an, so a1 is the first term and a_5 is the fifth.
A series is the sum of terms of a sequence. The sum of the first n terms is written S_n:
Sn = a1 + a2 + ... + an
The sigma symbol is shorthand for the same thing. The expression "sum of k² for k from 1 to 4" means 1 + 4 + 9 + 16 = 30.
CAT questions mix the two ideas constantly, so keep the two symbols apart:
| Symbol | Meaning | Example for 3, 7, 11, 15, ... |
|---|---|---|
| a_n | The single term in position n | a_3 = 11 |
| S_n | The total of the first n terms | S_3 = 3 + 7 + 11 = 21 |
A sequence can be finite, with a last term, or infinite, continuing without end. The infinite case matters later, when we ask whether an infinite sum can have a finite value.
Two ways a sequence is described
A sequence can be given in two ways.
- Explicit rule. The term is a formula in n. For a_n = 4n − 1, the terms are 3, 7, 11, 15, ...
- Recursive rule. Each term is built from earlier ones. For a1 = 3 and a(n+1) = a_n + 4, you get the same terms.
The explicit rule gets you to a_100 directly. The recursive rule shows the structure, such as "add 4 each time", and that structure is what you look for when you recognise a pattern.
The two patterns this tutorial is about
Two kinds of sequence cover most progression questions in CAT.
- In an arithmetic progression (AP), the difference between consecutive terms is constant. In 3, 7, 11, 15, each step adds 4.
- In a geometric progression (GP), the ratio between consecutive terms is constant. In 2, 6, 18, 54, each step multiplies by 3.
An AP grows by equal amounts, and a GP grows by equal factors. Both are special cases of the recursive idea above. Most other sequences in exam questions are built from them or can be reduced to them.
A recognition procedure
When you see a list of numbers, test it in a fixed order. Each test takes a few seconds.
- Subtract each term from the next. If all the differences are equal, it is an AP.
- If not, divide each term by the one before it. If all the ratios are equal, it is a GP.
- If neither works, take the differences of the differences (the second differences). If those are constant, the terms follow a quadratic rule in n.
- If that fails too, look at the reciprocals of the terms, then at the squares, cubes or other familiar sets of numbers.
Worked examples
Example 1: 5, 9, 13, 17. The differences are 4, 4, 4, so this is an AP.
Example 2: 81, 27, 9, 3. The differences are −54, −18, −6, which are not equal. The ratios are 27/81 = 1/3, 9/27 = 1/3 and 3/9 = 1/3, so this is a GP with ratio 1/3. A ratio below 1 means the terms shrink. That is still a GP.
Example 3: 1, 4, 9, 16, 25. The differences are 3, 5, 7, 9. The ratios are 4, 2.25, 1.78, ..., so neither is constant. The second differences are 2, 2, 2, which confirms a quadratic rule. The terms are the squares n².
Example 4: 1, 1/2, 1/3, 1/4. The differences and ratios are both uneven. The reciprocals are 1, 2, 3, 4, which form an AP. A sequence like this is called a harmonic progression, which gets its own chapter.
The same test in code
from fractions import Fraction
def classify(terms):
t = [Fraction(x) for x in terms]
if len(t) < 3:
return "too short to decide"
labels = []
diffs = {b - a for a, b in zip(t, t[1:])}
if len(diffs) == 1:
labels.append("AP")
if all(x != 0 for x in t):
ratios = {b / a for a, b in zip(t, t[1:])}
if len(ratios) == 1:
labels.append("GP")
return " and ".join(labels) if labels else "neither"
print(classify([3, 7, 11, 15])) # AP
print(classify([2, 6, 18, 54])) # GP
print(classify([1, 4, 9, 16])) # neither
print(classify([5, 5, 5, 5])) # AP and GP
print(classify([1, Fraction(1, 2), Fraction(1, 4)])) # GPThe function uses Fraction so that ratios like 1/3 compare exactly. With floating-point numbers, 0.1 + 0.2 ≠ 0.3 would make equal differences look unequal.
Edge cases in recognition
- A constant sequence such as 5, 5, 5, 5 has a common difference of 0 and a common ratio of 1. It is both an AP and a GP. It is the only kind of sequence that is both, apart from sequences of zeros.
- A ratio of zero or a zero term. A GP cannot contain a zero term followed by anything non-zero, because you cannot divide by zero to find the ratio. The sequence 0, 0, 0 is an AP, and the ratio test does not apply.
- Negative ratios give alternating signs. The sequence 2, −6, 18, −54 is a GP with ratio −3. If the signs alternate, test the ratio first.
- Decreasing is not the same as geometric. An AP with a negative difference, such as 20, 15, 10, 5, also decreases.
- Three terms are the minimum. Two terms fit both an AP and a GP, and infinitely many other rules. You need at least three terms to test anything.
From series back to terms
Questions often give the sum Sn and ask about a single term. Since Sn adds one term more than S_(n−1), the difference is exactly the nth term:
an = Sn − S(n−1), valid for n ≥ 2, and a1 = S_1.
Example. Suppose S_n = 3n² + 2n. Then:
- a1 = S1 = 5.
- For n ≥ 2, a_n = (3n² + 2n) − (3(n−1)² + 2(n−1)) = 3(2n − 1) + 2 = 6n − 1.
- The formula 6n − 1 also gives 5 at n = 1, so it holds for every n.
- The differences are all 6, so this is an AP.
Always check the first term separately. In some questions, the formula for n ≥ 2 does not match S_1, and the sequence is an AP only from the second term on.
Common mistakes
- Testing only the first two terms and calling the pattern settled. Test every consecutive pair.
- Mixing up an and Sn when reading a question. Underline whether it asks for "the nth term" or "the sum of n terms".
- Counting terms wrongly. The terms from the 5th to the 12th number 8, not 7. Count them as 12 − 5 + 1.
- Dropping the sign when a ratio is negative.
Practice
Exercise
Classify each sequence as AP, GP or neither, and give the common difference or ratio where one exists: (a) 7, 4, 1, −2; (b) 5, −10, 20, −40; (c) 2, 5, 10, 17, 26.
Show answer
(a) AP with common difference −3. (b) GP with common ratio −2. (c) Neither. The differences are 3, 5, 7, 9, and the second differences are all 2, so the rule is quadratic: a_n = n² + 1. The next term is 37.
Exercise
The sum of the first n terms of a sequence is Sn = 2ⁿ − 1. Find an, and say whether the sequence is an AP, a GP or neither.
Show answer
a1 = S1 = 1. For n ≥ 2, an = (2ⁿ − 1) − (2ⁿ⁻¹ − 1) = 2ⁿ⁻¹. This also gives 1 at n = 1, so an = 2ⁿ⁻¹ for all n. The terms are 1, 2, 4, 8, ..., a GP with ratio 2.
Exercise
Sequence A is 4, 4, 4 and sequence B is 1, 3, 5, 7. Which of them is an AP and which is a GP?
Show answer
A is both: its common difference is 0 and its common ratio is 1. B is an AP only, with difference 2. Its ratios are 3, 5/3 and 7/5, which are not equal.