All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic > Weights and Scales
Sorting Coins (Posted on 2004-01-18) Difficulty: 3 of 5
You have 12 coins. They are completely identical except six of them weigh 24g and the other six weigh 25g. You have only a balance scale to sort them out. What is the minimum number of weighings which guarantees all the coins to be sorted?

  Submitted by Brian Smith    
Rating: 3.3333 (3 votes)
Solution: (Hide)
My solution is below. You can also look at Brian Wainscott's solution.

Divide the coins into six pairs. Compare five of the pairs with the first five weighings.

Case 1: There are five unequal weighings
The ten coins weighed have been identified. Weigh the last pair of coins to determine which is heavier or lighter.
Case 1 total weighings:6

Case 2: There are four unequal weighings
The eight coins in the unequal weighings have been identified. The last pair of coins are the same weight. Compare the equal pairs.
Case 2 total weighings:6

Case 3: There are three unequal weighings
The last pair are different, so compare them and also compare the two pairs from the equal weighings.
Case 3 total weighings:7

Case 4: There are two unequal weighings
The last pair is equal. The four equal pairs can be compared in two weighings. Call the pairs A, B, C, and D. Weigh A vs B and A vs C. One of those weighings will be equal and the other will be unequal. Example: If A=B, A>C then A and B are heavy and C and D are light.
Case 4 total weighings:7

Case 5: There is one unequal weighing
The last pair is unequal. Compare the two coins in the last pair and compare the four equal pairs like in Case 4.
Case 5 total weighings:8

Case 6: There are zero unequal weighings
All the pairs are equal. Group the pairs into groups of two. Compare two of the groups.
- Subcase 1: Both weighings are unequal: Those two groups have been determined, compare the pairs from the last grouping.
- Subcase 2: One weighing is unequal: The unequal group has been determined, and the last grouping is all equal. Compare the two equal groups.
- Subcase 3: Both weighings are equal: Compare the pairs from the last grouping and compare the two equal groups against each other.
Case 6 total weighings:8

The maximum number of weighings needed is 8, in cases 5 and 6.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
answerK Sengupta2007-12-21 12:21:19
Good problem but Oldjon&lilet2004-04-16 04:27:41
re: will this workBrian Wainscott2004-01-22 15:40:30
will this workMIKE INCE2004-01-21 19:50:35
Solutionre(2): Simple approachBrian Wainscott2004-01-20 13:08:14
There is a solution in . . . .Brian Smith2004-01-20 12:15:45
re: Simple approachJohn2004-01-19 17:52:38
Simple approachBrian Wainscott2004-01-19 13:52:15
re: An alternative methodPenny2004-01-18 23:22:54
SolutionAn alternative methodPenny2004-01-18 22:37:38
Some Thoughtsworst case & information theoreticCharlie2004-01-18 12:34:11
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (13)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information