Quote:
Solution to the first problem:
(I am assuming that counterfeit coins weigh less than the good ones.)
The solution is to divide the 12 coins in groups of 3 coins each. You now have 4 such groups, let's call them Group1, Group2, Group3 and Group4.
Now on the scale, weigh Group1 and Group2 (Weight1).
If both Group1 and Group2 are equal in weight, it means Group1 and Group2 both contain good coins. Now weigh Group3 and Group4(Weight2). One of these groups contains the fake coin. Let's say Group3 contains the counterfeit. So Group3 will weigh less than Group4.
Now Group3 contains the counterfeit. Out of the three coins (let's say Coin1, Coin2 and Coin3) in this group, take two coins and weigh them. Let's say Coin1 weighs less than Coin2. So Coin1 is the counterfeit. In the opposite case of Coin2 weighing less, Coin2 would be the counterfeit coin. And if both Coin1 and Coin2 have the same weight, it's the Coin3 which is counterfeit.
Apply the same logic for the possibility of the counterfeit coin being in any of the groups. I think this solution will work only if you know for sure that the counterfeit weighs less than the real one (or more than the real one).
Solution to the second problem
Assuming that you know for sure if the counterfeit weighs less/more than the real coins, you can solve this in one weighing itself.
Let's call the coin bags as Bag1 (From the first king paying tribute), Bag2, Bag3, Bag4 and so on up to Bag15. Now take 1 coin from Bag1, 2 coins from Bag2, 3 coins from Bag3 and so on till you take 15 coins from Bag15. Now you have 120 coins. Weigh them all at the same time on the weight. Compare the weight taken to that of the equal number of good coins. The difference will give you the number of coins that are counterfeit. Also this number corresponds to the bag number and you can identify the king. For e.g. the weight of 120 good coins is 120gm. If the actual weight of the 120 coins taken from the bags is 110gm, you are short by 10gm. This value means Bag10 contains counterfeit coins, so King no. 10 is the culprit.
Solution to the third problem:
Not much of a mathetician myself, and also pretty sure that I have got some of the basic assumptions wrong, so I shall not try to solve this one, although it must be on the lines of the second problem. I would like to see the right solutions to them ...
That was my last night's work, all ruined now. :(