Skip to main content

Puzzle 13 - Alibaba's cave

Solution to puzzle 12:

I am using brute force algorithm here.

  • Let us start from the divisibility of 5.
  • If two cards remain after dealing them for 5, the largest value less than 52 will be 47
  • If there are 47 cards and they are dealt to 3 people, 2 cards are left
  • If they are dealt to 4 people 47 - 44 = 3 cards are left
  • So 47 is the correct answer.

Puzzle 13 : Alibaba's cave

This puzzle is from mrbartonmaths

Ali Baba found a cave full of gold and diamonds. A bag full of gold weighs 200 kilograms, a bag full of diamonds weighs 40 kilograms. Ali Baba can carry only 100 kilograms at a time. A kilogram of gold costs $20, and a kilogram of diamonds costs $60. What is the greatest amount of money Ali Baba can earn for the gold and diamonds he can carry out at once (in one attempt in one bag)?

Popular posts from this blog

Puzzle 15 : All but two

Solution to puzzle 14 Huh, sending more money would have been much easier than this puzzle.      SEND     MORE   MONEY We have to find values for S,E,N,D,M,O,R,Y (8 digits out of 10).  Now, we're adding two 4-digits numbers.  Since 9999+9999 < 20000, M cannot be >=2. And by the "usual rules" for this kind of question, it can't be 0. So M=1 . Now, looking at the fourth (left-most) column, we have either S+1>=10 (if there's no carry) or 1+S+1>=10 (if there's carry). So S=8 or 9 , and O=0 or 1 . Since 1 is already taken, O=0   In the third column, we can't have E+0=N (no carry), so E+1=N and there's carry from the second column.   So in the second column either N+R=10+E=9+N, and R=9, or there's carry and 1+N+R=10+E=9+N, and R=8. So R=8 or 9 , just like S. IF S=8 and R=9,we're looking at 8END + 109E ====== 10NEY But this cannot possibly work: we need to get either E+0=10+N or 1+E+0=10+N i...

Puzzle 47

  Solution: First and last chests have treasure in them. Explanation : Message 1 says that middle chest has treasure. Since all messages are false, middle chest has no treasre. Message 2 says that all these chests have treasure. Which means at least one of them does not have treasure (and has poison). Which is middle chest. Message 3 says that only one of the chests has treasure. As this is false, more than one of the chests have treasure. As middle one has no treasure, the other two - first and last have treasure.

Puzzle 19 : Water, water everywhere

 I know I have been greatly missed all this time. ;) Any ways, let us have some more fun with numbers and logic.  Water, water everywhere   This is an interesting puzzle from the website mathisfun. The cold tap in my bath lets the water in at the rate of 15 litres per minute. The hot tap fills the bath at the rate of 10 liters per minute. The plug hole lets the water out of the bath at the rate of 12 liters per minute. The bath holds a maximum of 520 liters. I turn both taps on, but forget to put the plug in. How many minutes does it take for the bath to overflow? Let me reiterate the statement by the original author here. Don't try this at home. Water is precious. Find the solution here