Skip to main content

12 coins

Problem:
There are 12 identical coins. There might be one that is a counterfeit, which is either heavier or lighter than the rest. Can you identify the counterfeit (if any) using a balance at most 3 times?

Solution:
I think this is one of the most difficult variations of the coins weighing problem.

The main idea is to "mark" the coins after weighing them.

Step 1. Divide the coins into groups of 4. Weigh the first two. If they have the same weight, go to step 4. Otherwise, mark the coins belonging to the heavier group 'H', lighter group 'L', and the unweighted ones 'S'. We know that the counterfeit is either in L or H.

Step 2.
Now we have 4 Hs, 4 Ls, and 4 Ss. We now form 3 groups: HHL, LLH, and HLS.

Step 3.
Weigh HHL against HLS.

Case 3.1: HHL is lighter than HLS.
Then either the L in HHL or the H in HLS is the counterfeit. Simply weigh one of them against S and conclude accordingly.

Case 3.2: HHL is heavier than HLS.
Then the counterfeit is one of the 2 Hs in HHL or the L in HLS. To find out which, weigh the 2 Hs against each other. If they are the same weight, L is the counterfeit. Otherwise, the heavier H is the counterfeit.

Case 3.3: HHL is the same weight as HLS.
Then counterfeit is in LLH. Weight an L against the other L. Conclude accordingly.

Step 4.
Here, the counterfeit must be within the 4 unweighted coins. Weigh 3 of them against any 3 coins from the ones weighted in step 1.

If they are the same weight, then the last unweighted coin is the counterfeit.

Otherwise, you now know if the counterfeit is heavier or lighter. Weigh once more and conclude accordingly.

QED

Comments

Popular posts from this blog

641 | 2^32 + 1

Problem: Show that \( 641 | 2^{32} + 1 \). Solution: (From Problem Solving Strategies, Arthur Engel) \( 641 = 625 + 16 = 5^4 + 2^4 \). So \( 641 | 2^{32} + 2^{28} \cdot 5^4 \). Also, \( 641 = 640 + 1 = 2^7 \cdot 5 + 1\). So \( 641 | (2^7 \cdot 5)^4 - 1 = 2^{28}\cdot 5^4 - 1 \). Hence \( 641 | 2^{32} + 2^{28} \cdot 5^4 -(2^{28}\cdot 5^4 - 1) \). QED

Derive Poisson Distribution

Let's say we are observing an event that to us seems random. E.g. The number of cars passing through a road. Suppose we learn that on average, there are m cars passing the road within 1 hour. Goal: Can we make a model to suggest what is the probability of seeing exactly r cars passing the road in an hour? Let's represent one hour as a line, and on the line there are marks to represent the time on which a car passes. Let's suppose there are m marks, to represent the average case of seeing m cars on the road in an hour. Let's divide the 1 hour line into n uniform time segments, n large enough such that in one time segment there is at most 1 car. Out of the n time segments, m of them contains a car. Then it is reasonable to say that the probability of a time segment to contain a car is m/n. Let's analyse as n goes to infinity. We can say P(seeing exactly r cars in an hour) =  P(exactly r cars contained in n segments) = \( \binom{n}{r} \left( \frac{m}{n} \right)^r \left...