Maths Olympiad Prep

Library / HMMT February /1217 of 1302

HMMT February, 2020

Combinatorics Difficulty 6.0 National Olympiad Prove it United States

Problem:
Let SS be a set of intervals defined recursively as follows:
- Initially, [1,1000][1,1000] is the only interval in SS.
- If l≠rl \neq r and [l,r]∈S[l, r] \in S, then both [l,⌊l+r2⌋],[⌊l+r2⌋+1,r]∈S\left[l,\left\lfloor\frac{l+r}{2}\right\rfloor\right],\left[\left\lfloor\frac{l+r}{2}\right\rfloor+1, r\right] \in S.
(Note that SS can contain intervals such as [1,1][1, 1], which contain a single integer.) An integer ii is chosen uniformly at random from the range [1,1000][1,1000]. What is the expected number of intervals in SS which contain ii ?

Solution

Solution:
The answer is given by computing the sum of the lengths of all intervals in SS and dividing this value by 10001000, where the length of an interval [i,j][i, j] is given by j−i+1j-i+1. An interval may be categorized based on how many times [1,1000][1,1000] must be split to attain it. An interval that is derived from splitting [1,1000][1,1000] kk times will be called a kk-split.

The only 00-split is [1,1000][1,1000], with a total length of 10001000. The 11-splits are [1,500][1,500] and [501,1000][501,1000], with a total length of 10001000. As long as none of the kk-splits have length 11, the (k+1)(k+1)-splits will have the same total length. Since the length of the intervals is reduced by half each time (rounded down), we find that the sum of the lengths of the kk-splits is 10001000 for 0≤k≤90 \leq k \leq 9.

Note that the 99-splits consist of 210−10002^{10}-1000 intervals of length 11 and 1000−291000-2^{9} intervals of length 22. Then the 1010-splits consist of 2(1000−29)2\left(1000-2^{9}\right) intervals of length 11, with total length 2(1000−29)2\left(1000-2^{9}\right). The total interval length across all splits is equal to 12(1000)−21012(1000)-2^{10}, so our answer is

12−2101000=10.976 12-\frac{2^{10}}{1000}=10.976

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.