Qm

Eight coins, and maybe none of them is fake

You have eight coins. At most one of them is counterfeit, and a counterfeit coin is heavier than a genuine one. It is entirely possible that all eight are genuine.

Using a two-pan balance, you must either point to the heavy coin or declare with certainty that there is no heavy coin.

Can you always do this in two weighings? If so, how?

Show a hint

Count the possible states: eight "coin k is heavy" states plus one "nobody is heavy" state. Compare that with the number of outcomes two weighings can produce. Then make sure your last weighing can end in a balance that means "all clear".

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Ten coins, one heavy, fewest weighingsThirteen suspects, one reference coin, three weighingsTwelve sacks of grain and one that is shortTwenty-six coins, one heavy, still only three weighings12 coins, one fake of unknown weight
All questions →