{"year": "2010", "tier": "T4", "problem_label": "1", "problem_type": null, "exam": "HMMT", "problem": "Jacob flips five coins, exactly three of which land heads. What is the probability that the first two are both heads?", "solution": "$\\frac{3}{10}$ We can associate with each sequence of coin flips a unique word where $H$ represents heads, and T represents tails. For example, the word HHTTH would correspond to the coin flip sequence where the first two flips were heads, the next two were tails, and the last was heads. We are given that exactly three of the five coin flips came up heads, so our word must be some rearrangement of HHHTT. To calculate the total number of possibilities, any rearrangement corresponds to a choice of three spots to place the H flips, so there are $\\binom{5}{3}=10$ possibilities. If the first two flips are both heads, then we can only rearrange the last three HTT flips, which corresponds to choosing one spot for the remaining $H$. This can be done in $\\binom{3}{1}=3$ ways. Finally, the probability is the quotient of these two, so we get the answer of $\\frac{3}{10}$. Alternatively, since the total number of possiblities is small, we can write out all rearrangements: HHHTT, HHTHT, HHTTH, HTHHT, HTHTH, HTTHH, THHHT, THHTH, THTHH, TTHHH. Of these ten, only in the first three do we flip heads the first two times, so we get the same answer of $\\frac{3}{10}$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-141-2010-nov-gen1-solutions.jsonl", "problem_match": "\n1. [2]", "solution_match": "\nAnswer: "}} {"year": "2010", "tier": "T4", "problem_label": "2", "problem_type": null, "exam": "HMMT", "problem": "How many sequences $a_{1}, a_{2}, \\ldots, a_{8}$ of zeroes and ones have $a_{1} a_{2}+a_{2} a_{3}+\\cdots+a_{7} a_{8}=5$ ?", "solution": "9 First, note that we have seven terms in the left hand side, and each term can be either 0 or 1 , so we must have five terms equal to 1 and two terms equal to 0 . Thus, for $n \\in\\{1,2, \\ldots, 8\\}$, at least one of the $a_{n}$ must be equal to 0 . If we can find $i, j \\in\\{2,3, \\ldots, 7\\}$ such that $a_{i}=a_{j}=0$ and $i