Marta's Piggy Bank
Marta opens her piggy bank and finds exactly 10 coins. There are only 5-cent, 10-cent and 20-cent coins, and there is at least one of each kind. When she counts them, she finds they add up to exactly €1.10.
She also notices that she has more 10-cent coins than 5-cent coins. How many coins of each kind are in the piggy bank?
See solution
There are 2 five-cent coins, 6 ten-cent coins and 2 twenty-cent coins.
Let a, b and c be the number of 5-, 10- and 20-cent coins. We know a + b + c = 10 and 5a + 10b + 20c = 110, which simplifies to a + 2b + 4c = 22. Subtracting the first equation from this one gives b + 3c = 12. Since b and c must be at least 1, c can only be 1, 2 or 3 (c = 4 would make b = 0). If c = 1, then b = 9 and a = 0, which is invalid because there is at least one of each kind. If c = 2, then b = 6 and a = 2. If c = 3, then b = 3 and a = 4. The condition that there are more 10-cent coins than 5-cent coins rules out the last case (3 is not greater than 4), leaving only the second. Check: 2·5 + 6·10 + 2·20 = 10 + 60 + 40 = 110 cents, and 2 + 6 + 2 = 10 coins.