2008 AMC 10A Problem 22
Jacob uses the following procedure to write down a sequence of numbers. First he chooses the first term to be 6. To generate each succeeding term, he flips a fair coin. If it comes up heads, he doubles the previous term and subtracts 1. If it comes up tails, he takes half of the previous term and subtracts 1. What is the probability that the fourth term in Jacob's sequence is an integer?
Show solution without answering
Key insight
Only three coin flips matter, so list all eight paths and follow the actual numbers. Five of the eight fourth terms are whole numbers.
Solution
1. The first term is with no flip. The second, third and fourth terms each need one flip, so there are three flips and equally likely ways they can go.
2. Eight cases is few enough to list. Write H for heads (double, then subtract ) and T for tails (halve, then subtract ). Follow the numbers from .
3. Second term. H: . T: .
4. Third term.
- From : H gives ; T gives .
- From : H gives ; T gives .
5. Fourth term.
| Path | Fourth term | Whole number? |
|---|---|---|
| H H H | yes | |
| H H T | no | |
| H T H | yes | |
| H T T | no | |
| T H H | yes | |
| T H T | no | |
| T T H | yes | |
| T T T | yes |
- Five of the eight paths end at a whole number, so the probability is .
The answer is .
Why this works
With only eight cases, a neat list is faster and safer than a clever shortcut. Keep the real numbers, not just "whole or not": doubling can turn a half, like , back into a whole number. A table with one row per path makes sure no case is missed.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The first term needs no flip, so the fourth term is determined by three flips: equally likely sequences. Write for "double, then subtract " and for "halve, then subtract ," and trace every path from .
After flip 1: , .
After flip 2:
- from : , ;
- from : , .
After flip 3:
- from : , ;
- from : , ;
- from : , ;
- from : , .
The eight fourth terms are . Five of them are integers.
The probability is , so the answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 7: Introduction to Probability
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.2)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.