Maths Olympiad Prep

Library / HMMT February Guts Round /23 of 28

HMMT February Guts Round, 2024

Combinatorics Difficulty 5.7 AIME, harder Prove it United States

Problem:
The numbers 1,2,…,201, 2, \ldots, 20 are put into a hat. Claire draws two numbers from the hat uniformly at random, a<ba < b, and then puts them back into the hat. Then, William draws two numbers from the hat uniformly at random, c<dc < d.
Let NN denote the number of integers nn that satisfy exactly one of a≤n≤ba \leq n \leq b and c≤n≤dc \leq n \leq d. Compute the probability NN is even.

Solution

Solution:
The number of integers that satisfy exactly one of the two inequalities is equal to the number of integers that satisfy the first one, plus the number of integers that satisfy the second one, minus twice the number of integers that satisfy both. Parity-wise, this is just the number of integers that satisfy the first one, plus the number of integers that satisfy the second one.
The number of integers that satisfy the first one is b−a+1b - a + 1. The probability this is even is 1019\frac{10}{19}, and odd is 919\frac{9}{19}. This means the answer is
102+92192=181361 \frac{10^2 + 9^2}{19^2} = \frac{181}{361}

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.