Sub topic 15
Recursive and pattern-based sequences
This chapter assumes you already know the nth-term formulas for arithmetic and geometric sequences and the notation $a_n$ for the term in position $n$. Here you handle sequences that do not follow those two formulas directly. They are defined by a rule that refers to earlier terms, or by a visible pattern you must decode. The usual GRE goal is to compute a distant term, such as the 100th, without writing out 100 terms.
Recursive definitions
A recursive definition has two parts: a starting value (or values) and a rule that builds each term from earlier ones. For example:
- $a_1 = 3$
- $an = 2a{n-1} - 1$ for $n \ge 2$
Without the starting value, the rule alone does not determine the sequence. Compute the first terms in order:
$a2 = 2(3) - 1 = 5$, $a3 = 2(5) - 1 = 9$, $a4 = 17$, $a5 = 33$.
The sequence is 3, 5, 9, 17, 33. Subtract 1 from each term and you get 2, 4, 8, 16, 32, which are powers of 2. So $an = 2^n + 1$, and $a{10} = 1025$. Writing a few terms and then looking for the hidden formula is the core method of this chapter.
A decision process for distant terms
Different rules call for different shortcuts. The flowchart summarizes the choice.
Cycling sequences
Some recursive rules produce terms that repeat. Consider $a1 = 2$, $a2 = 5$, and $an = a{n-1} - a_{n-2}$.
$a3 = 5 - 2 = 3$, $a4 = 3 - 5 = -2$, $a5 = -2 - 3 = -5$, $a6 = -5 - (-2) = -3$, $a7 = -3 - (-5) = 2$, $a8 = 5$.
The pair $(a7, a8)$ equals $(a1, a2)$. Because each term depends only on the previous two, the sequence repeats every 6 terms: 2, 5, 3, -2, -5, -3.
To find $a{100}$, divide 100 by the cycle length. Since $100 = 6 \times 16 + 4$, the remainder is 4, so $a{100} = a_4 = -2$.
For a sum, check the sum of one cycle first: $2 + 5 + 3 - 2 - 5 - 3 = 0$. The first 96 terms cancel completely, so the sum of the first 100 terms equals $a{97} + a{98} + a{99} + a{100} = 2 + 5 + 3 - 2 = 8$.
Another cycling rule is $an = \dfrac{1}{1 - a{n-1}}$ with $a_1 = 2$. It gives $2, -1, \tfrac{1}{2}, 2, \dots$, a cycle of length 3. A single-step rule can cycle too, as long as the terms return to the starting value.
Checking with code
You can verify a cycle quickly with a short program. This is a study aid, since the GRE gives you no code.
def generate(first, rule, count):
seq = list(first)
while len(seq) < count:
seq.append(rule(seq))
return seq
seq = generate([2, 5], lambda s: s[-1] - s[-2], 100)
print(seq[:8]) # [2, 5, 3, -2, -5, -3, 2, 5]
print(seq[99]) # a_100 = -2
print(sum(seq)) # 8Python lists start at index 0, so $a_{100}$ is seq[99]. The same off-by-one risk exists when you count by hand.
Rules that add a changing amount
Some recursions add an amount that grows with $n$. Take $a1 = 1$ and $an = a{n-1} + n$. The terms are 1, 3, 6, 10, 15. Each term is the sum $1 + 2 + \dots + n$, so $an = \dfrac{n(n+1)}{2}$ and $a_{10} = 55$.
The differences between consecutive terms are 2, 3, 4, 5, and they are not constant. This is the signal that neither basic formula applies.
Differences of differences
If the first differences are not constant but the second differences are, the nth term is a quadratic in $n$. Look at 3, 6, 11, 18, 27.
| Row | Values |
|---|---|
| Terms | 3, 6, 11, 18, 27 |
| First differences | 3, 5, 7, 9 |
| Second differences | 2, 2, 2 |
A constant second difference of 2 means the leading term is $n^2$ (the coefficient is half the second difference). Subtract $n^2$ from each term: $3-1=2$, $6-4=2$, $11-9=2$. The remainder is constant, so $an = n^2 + 2$. Then $a{12} = 146$. Always confirm the formula against two or three given terms before using it.
Pattern-based sequences
Some GRE sequences are given by a formula in $n$ rather than a recursion. Watch for these features:
- Alternating signs. $(-1)^n$ is $-1$ for odd $n$ and $+1$ for even $n$. For $a_n = (-1)^n \cdot n$, the terms are $-1, 2, -3, 4, \dots$. Pair them: $(-1+2) = 1$, $(-3+4) = 1$, and so on. The first 50 terms form 25 pairs, so the sum is 25.
- Powers that grow. Terms like $a_n = 3^n - 1$ grow geometrically after a shift. Subtract the shift to expose the ratio.
- Digits or counting patterns. A sequence such as 1, 11, 111, 1111 has terms $\dfrac{10^n - 1}{9}$. State what is changing in each position, then express it using $n$.
- Sequences defined by $n$ in a condition. An example is "$a_n$ is the nth positive integer not divisible by 3." Count how many terms occur in each block of 3 integers (here 2), then scale.
Matching clues to methods
| Clue in the problem | First move |
|---|---|
| Rule uses only $a_{n-1}$ or two prior terms, and the question asks for $a_{100}$ or more | Write 6 to 8 terms and look for a cycle |
| Terms look like a power of 2 or 3 plus a constant | Subtract the constant and test for a ratio |
| Rule includes $+n$ or similar | Check the differences, since a quadratic is likely |
| $(-1)^n$ appears | Group terms in pairs |
| Question asks for a sum of many terms | Look for cancellation within a cycle or a pair |
Traps and quantitative comparison
Most errors come from indexing, not algebra. Check whether the sequence starts at $a0$ or $a1$, and whether the rule uses $a{n-1}$ or $a{n+1}$. Test any formula on the first given term, not just the later ones. Do not extend a pattern from only three terms when two different rules fit them, so compute at least five or six.
In quantitative comparison questions, the sign and size of distant terms often decide the answer. For $a1 = 1$ and $an = 2a{n-1} + 1$, the terms are 1, 3, 7, 15, so $an = 2^n - 1$. Comparing $a_8$ with 250 requires only $2^8 - 1 = 255$. Exact computation is fast once the closed form is known, and estimation works when the gap is large.
Exercise
A sequence has $a1 = 4$ and $an = 3 - a{n-1}$ for $n \ge 2$. Find $a{51}$ and the sum of the first 51 terms.
Show answer
The terms are 4, -1, 4, -1, ..., a cycle of length 2. Odd positions equal 4, so $a{51} = 4$. Each pair of terms sums to 3. The first 50 terms form 25 pairs, giving 75, and adding $a{51} = 4$ gives a total of 79.
Exercise
A sequence has $a1 = 1$ and $an = 2a{n-1} + 1$. Quantity A is $a8$. Quantity B is 250. Which quantity is greater?
Show answer
The terms are 1, 3, 7, 15, ..., so $an = 2^n - 1$. Then $a8 = 255$, which is greater than 250. Quantity A is greater.
Exercise
The sequence 3, 6, 11, 18, 27, ... has constant second differences. Find the 12th term.
Show answer
The first differences are 3, 5, 7, 9 and the second differences are all 2, so the formula is $an = n^2 + c$. Using $a1 = 3$ gives $c = 2$, so $an = n^2 + 2$ and $a{12} = 144 + 2 = 146$.