Skip to main content

1990 AIME Problem 9

Problem 9 of 15IntermediateAlgebraCombinatoricsProbability & Statistics

A fair coin is to be tossed 1010 times. Let ij,\frac{i}{j}, in lowest terms, be the probability that heads never occur on consecutive tosses. Find i+j.i+j.

Your answer

Integer from 0 to 999
Show solution

Solution

Let unu_n be the number of length-nn toss strings with no consecutive heads. A valid string ending in tails is obtained by appending T\mathrm{T} to any valid length-(n−1)(n-1) string, while one ending in heads is obtained by appending TH\mathrm{TH} to any valid length-(n−2)(n-2) string. Hence un=un−1+un−2,u_n=u_{n-1}+u_{n-2}, with u1=2u_1=2 and u2=3.u_2=3. This gives u10=144.u_{10}=144. The probability is 144210=964,\frac{144}{2^{10}}=\frac{9}{64}, so i+j=9+64=73.i+j=9+64=73.
AoPS wiki

Tagged: recursive counting · Fibonacci · basic probability

More practice