Warm up for the brain: can you solve the counterfeit coin problem? Check it out
Warm up for the brain: can you solve the counterfeit coin problem? Check it out
Anonim

There are 12 coins, among them one is counterfeit. Help a mathematician discover it in just three weighings.

Warm up for the brain: can you solve the counterfeit coin problem? Check it out!
Warm up for the brain: can you solve the counterfeit coin problem? Check it out!

For criticizing the tax system, the emperor imprisoned the country's greatest mathematician. But one day the prisoner had a chance to regain freedom. One of the 12 governors of the emperor paid the tax with a counterfeit coin, which had already entered the treasury. The emperor promised to release the mathematician if he could find a fake.

logic puzzle in math: find a fake coin in three weighings
logic puzzle in math: find a fake coin in three weighings

A table was placed in front of the prisoner, on which there were a scale, a pencil and 12 identical-looking coins. And then they said that the fake differs from the rest of the money in weight up or down. The coins were allowed to be weighed only three times. How can math calculate a fake?

The mathematician has only three attempts, so you cannot weigh each coin separately. You need to divide them into piles and put them on the scales several pieces at a time, gradually getting closer to the fake one.

Let's say a mathematician decides to divide 12 coins into three piles of four coins each. Then he put four coins on each scale. This weighing can give two results. Let's consider each of them.

1. The weight of the two piles of coins was the same. Therefore, all the money in them is real, and the counterfeit lies somewhere among the four unweighted coins.

To track the result, the mathematician marks all scripts with a zero. Then he takes three of them and compares them with three unweighted coins. If their weight is equal, then the remaining (fourth) unweighted coin is counterfeit. If the weight is different, the mathematician puts a plus on the three unmarked coins if they are heavier than those with zeroes, or a minus if they are lighter.

Then he takes two coins, marked with a plus or minus, and compares their weight. If it is the same, then the remaining copy is a fake. If not, the mathematician looks at the signs: among the coins with a plus, the fake will be the one that is heavier, among the coins with a minus, the one that is lighter.

2. The weight of the two piles of coins was not the same.

In this case, the mathematician needs to act as follows: mark the money in a heavy pile with a plus, in a light pile - with a minus, in an unweighted pile - with a zero, since it is known that the fake copy was on the scales.

Now you need to regroup the coins to meet the two remaining weighings. One of the ways is to take instead of three coins with a plus, three coins with a minus, and put three pieces with a zero in their place.

logic puzzle in math: find a fake coin
logic puzzle in math: find a fake coin

Three possible options follow. If that scale that was heavier still outweighs, then either the old coin with the plus sign on it is heavier than the others, or the coin with the minus sign remaining on the other scale is lighter. A mathematician needs to choose any of them and compare with a common pattern to find a fake.

If the weighing pan, which was heavier, has become lighter, then one of the three coins with a minus sign moved by the mathematician is the lightest. Now he needs to compare two of them on the scales. If the results are tied, the third coin will be counterfeit. In case of inequality, the fake one, which is easier.

If the bowls are balanced after replacing, one of the three coins removed from the scales with a plus sign is heavier than the others. A mathematician needs to compare two of them. If they are equal, the third is fake. In case of inequality, the fake is the one that is heavier.

The emperor nods approvingly, listening to the reasoning of the mathematician, and the dishonest governor goes to prison.

This puzzle is the translation of a TED-Ed video.

Show answer Hide answer

Recommended: