AMC 10 Step by Step

Topics / Counting & Probability

Recursive Counting

Counting via recurrences: tilings, Fibonacci-type, strings with no forbidden patterns

3
primary-topic problems (0.2% of all)
1
more as a secondary topic
Where it appears
0
P1-10
0
P11-15
0
P16-20
3
P21-25

## What you need to know
- Recurrence setup: let ana_n be the count for size nn; classify objects by their last piece (last tile, last letter, last jump) to express ana_n through smaller values.
- Fibonacci-type: tilings of a 1×n1 \times n board by squares and dominoes satisfy an=an1+an2a_n = a_{n-1} + a_{n-2} with a1=1a_1 = 1, a2=2a_2 = 2; binary strings with no two consecutive 11s satisfy the same recurrence with a1=2a_1 = 2, a2=3a_2 = 3.
- Avoiding a longer pattern (no three consecutive heads) gives a longer recurrence such as an=an1+an2+an3a_n = a_{n-1} + a_{n-2} + a_{n-3}, or a state system tracking the current run.
- Recurrences of the form an=an1++a1+ca_n = a_{n-1} + \cdots + a_1 + c usually produce powers of 22.

## How AMC 10 tests it
- Problems 10–18: coin-flip sequences of length 88 to 1212 avoiding a pattern, or domino tilings of a 2×n2 \times n board, intended for a recurrence iterated by hand.
- Problems 14–22: staircase climbing by 11 or 22 steps, or a frog jumping 11 or 22 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 ana_n accordingly.
2. Set base cases carefully (a0=1a_0 = 1 for the empty object is often correct), then tabulate up to the needed nn.
3. If one recurrence does not close, add states: bnb_n for strings ending in 11, cnc_n for strings ending in 00.
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: k(nkk)\sum_k \binom{n-k}{k}.

## Worked example
How many sequences of 1010 coin flips contain no three consecutive tails?

(A) 274274 (B) 448448 (C) 504504 (D) 644644 (E) 927927

Solution. Let ana_n be the number of valid sequences of length nn. Every valid sequence of length n3n \ge 3 ends in HH, HTHT, or HTTHTT, preceded by a valid shorter sequence, so an=an1+an2+an3a_n = a_{n-1} + a_{n-2} + a_{n-3}, with a0=1a_0 = 1, a1=2a_1 = 2, a2=4a_2 = 4. Iterating: a3=7a_3 = 7, a4=13a_4 = 13, a5=24a_5 = 24, a6=44a_6 = 44, a7=81a_7 = 81, a8=149a_8 = 149, a9=274a_9 = 274, a10=504a_{10} = 504. Answer (C) 504\boxed{\textbf{(C)}\ 504}.

## Pitfalls
- Wrong base cases, especially a0a_0; 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 "11 or 22" 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