Identifying five bags of 9, 10 or 11 g coins at once
Question
Five bags each hold many coins, and within a bag all coins weigh the same: either , or grams. Different bags may have different weights. What is the fewest number of readings on an exact digital scale needed to determine the coin weight of every bag?
Short answer
One weighing. Take coins from bags to . The reading minus equals with each , and balanced ternary representations are unique, so the deviation decodes every bag's weight.
Adapted from Zhou, A Practical Guide to Quantitative Finance Interviews, sec. 2.6 The Pigeon Hole Principle, 'Counterfeit coins II', p.21; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
- Sample Spaces, Events, and the Probability Axioms
- Conditional Probability, Total Probability, and Bayes' Rule
Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free