Maths Olympiad Prep

Library / HMMT February /101 of 1302

HMMT February, 2020

Combinatorics Difficulty 4.8 AIME Find the answer United States

Problem:
You have six blocks in a row, labeled 11 through 66, each with weight 11. Call two blocks x≤yx \leq y connected when, for all x≤z≤yx \leq z \leq y, block zz has not been removed. While there is still at least one block remaining, you choose a remaining block uniformly at random and remove it. The cost of this operation is the sum of the weights of the blocks that are connected to the block being removed, including itself. Compute the expected total cost of removing all the blocks.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:
Note that the total cost is the total number of ordered pairs (x,y)(x, y) with 1≤x,y≤61 \leq x, y \leq 6 such that xx and yy are connected right before xx gets removed.
The probability that blocks xx and yy are connected just before block xx is removed is simply 1∣x−y∣+1\frac{1}{|x-y|+1}, since all of the ∣x−y∣+1|x-y|+1 relevant blocks are equally likely to be removed first. Summing over 1≤x,y≤61 \leq x, y \leq 6, combining terms with the same value of ∣x−y∣|x-y|, we get
26+45+64+83+102+6=16310 \frac{2}{6}+\frac{4}{5}+\frac{6}{4}+\frac{8}{3}+\frac{10}{2}+6=\frac{163}{10}

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.