Learn / Library / Brainteasers
Expected weighings on a balance
There are coins and exactly is heavier, chosen uniformly at random; the others weigh the same. You use a balance scale with this fixed strategy: weigh coins against coins. If the pans are level, the fifth coin is heavy and you stop. Otherwise, weigh the coins from the heavier pan against each other. What is the expected number of weighings?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Find the probability that the first weighing is level, and the number of weighings in each case.
Solution
- The first weighing is level only if the heavy coin is the fifth one, which has probability ; then the total is weighing.
- With probability the heavy coin is among the weighed , and a second weighing is needed, so the total is weighings.
- The expected value is .
- This equals .
- So the answer is .
Answer: