Topics / Counting & Probability
Recursive Counting
Counting via recurrences: tilings, Fibonacci-type, strings with no forbidden patterns
## What you need to know
- Recurrence setup: let be the count for size ; classify objects by their last piece (last tile, last letter, last jump) to express through smaller values.
- Fibonacci-type: tilings of a board by squares and dominoes satisfy with , ; binary strings with no two consecutive s satisfy the same recurrence with , .
- Avoiding a longer pattern (no three consecutive heads) gives a longer recurrence such as , or a state system tracking the current run.
- Recurrences of the form usually produce powers of .
## How AMC 10 tests it
- Problems 10–18: coin-flip sequences of length to avoiding a pattern, or domino tilings of a board, intended for a recurrence iterated by hand.
- Problems 14–22: staircase climbing by or steps, or a frog jumping or pads with some pads forbidden.
- Problems 18–24: a recursively defined process where a pattern or closed form must be found.
- Recurrences also drive many probability problems (see conditional probability and states).
## Standard approaches
1. Identify what determines an object from a smaller one, usually the last element or the first choice, and write accordingly.
2. Set base cases carefully ( for the empty object is often correct), then tabulate up to the needed .
3. If one recurrence does not close, add states: for strings ending in , for strings ending in .
4. If the recurrence is unclear, list small cases, guess it from the data, then justify it.
5. Cross-check with casework on the number of dominoes: .
## Worked example
How many sequences of coin flips contain no three consecutive tails?
(A) (B) (C) (D) (E)
Solution. Let be the number of valid sequences of length . Every valid sequence of length ends in , , or , preceded by a valid shorter sequence, so , with , , . Iterating: , , , , , , , . Answer .
## Pitfalls
- Wrong base cases, especially ; an off-by-one error propagates through the whole table.
- Classifying by the ending in a way that is not exhaustive or not disjoint ("ends in T" and "ends in TT" overlap).
- Arithmetic slips while iterating; write every term and re-add once.
- Assuming every " or " problem is plain Fibonacci without checking whether pieces come in colors.
Traps that recur
- Miscounting the free digits in the complement: each must be at least j, so there are 5 - j values for it, not 5 - j + 1 or 5. (2022 AMC 10A #24)
- Writing the recurrence as Fibonacci (a_n = a_{n-1} + a_{n-2}) and getting a wrong count, or forgetting the block '110' and allowing '1110'. (2019 AMC 10B #25)
- Treating the eight seats as a row (55 arrangements) and ignoring that the first and last people are also neighbors. (2015 AMC 10A #22)
Problems, easiest first
How many sequences of s and s of length are there that begin with a , end with a , contain no two consecutive s, and contain no three consecutive s?
Eight people are sitting around a circular table, each holding a fair coin. All eight people flip their coins and those who flip heads stand while those who flip tails remain seated. What is the probability that no two adjacent people will stand?
How many strings of length formed from the digits , , , , are there such that for each , at least of the digits are less than ? (For example, satisfies this condition because it contains at least digit less than , at least digits less than , at …