LibraryQuant puzzles
A miner is in a chamber with three tunnels leading out of it.
The first tunnel reaches the surface after 3 hours of walking. The second wanders for 5 hours and returns to the chamber. The third wanders for 7 hours and also returns to the chamber.
The tunnels are indistinguishable, and the miner cannot mark them or remember which ones have already been tried. Every time the miner is in the chamber, a tunnel is chosen uniformly at random from all three.
What is the expected time until the miner reaches the surface?
Write down what each of the three first choices costs and where it leaves the miner. For the version with marked tunnels, ask how likely each dead end is to be tried before the exit.
Condition on the first move, write the answer in terms of itself, and solve. The self-reference is legitimate because a memoryless process that returns to the start is genuinely facing the same problem again.
You have the question, a hint and the idea. It finds the expected time to reach safety for the miner without memory, then redoes it for the miner who marks tunnels.