Camel and Bananas Puzzle
The owner of a banana plantation has a camel. He wants to transport 3000 bananas to a market, which is located after the desert. The distance between his banana plantation and the market is about 1000 kilometer. So he decided to take his camel to carry the bananas. The camel can carry at the maximum of 1000 bananas at a time, and it eats one banana for every kilometer it travels.
Here’s what you have to find – What is the largest number of bananas that can be delivered to the market?
This solution is calculated programatically. I will highly appreciate if someone can provide mathematical explanation of the points calculated here.
- Initially 3000 bananas
- 1st mile the camel carries 1000 bananas forward and eats 1, it eats 1 banana on the way back.
- Again it carries 1000 bananas forward and eats 1, eats 1 going back.
- 1000 bananas forward and eats 1.
After 1 mile: (1000 – 1 – 1) + (1000 – 1 – 1) + (1000 – 1) = 2995 bananas left. So for every 1 mile camel eats 5 bananas. So the camel has to travel 200 miles, when the number of bananas left will be 3000 – 200*5 = 2000
- Now the camel has to make only 2 trips for every 1 mile
- 1st mile the camel carries 1000 bananas forward and eats 1, it eats 1 banana on the way back.
- 1000 bananas forward and eats 1.
After 1 mile: (1000 – 1 – 1) + (1000 – 1) = 1997 bananas left. So for every 1 mile camel eats 3 bananas.
So to consume next 1000 bananas, the camel has to travel 1000/3 = 333.33 miles. - Now the camel is left with 1000 bananas at 200 + 333.33 = 533.33 miles mark. Now
- The camel has to travel 1000 bananas forward and eat 1 per mile.
- The camel still has to travel 1000 – 533.33 = 466.66 miles. So the camel is going to consume another 466.66 bananas.
Therefore the final number of bananas left will be 1000 – 466.66 = 533.33 or 533 (who wants to eat a camel eaten banana anyway
Your Answer
More puzzles to try-
Moves between strings
It moves without wings, between silky strings, It leaves as you find, it’s substance behind. What is it ?Read More »Dog’s mom Name
A dog had three puppies, named Snophy, Topsy and Jorden. What was the mothers name?Read More »You see me once in June
You see me once in June, twice in November, and not at all in May. What am I?Read More »Next Number in the Series Puzzle
Next Number in the Series, 5, 16, 49, 104, ?Read More »Logical Thinking
Can you replace the question mark with the correct letter? 6 + 6 + 6 = N 7 + 7 ...Read More »Choose Men
A man is on a game show. He is presented with two doors, one on the left, and one on ...Read More »Feeling Smart
If you know it, you feel accomplished. If you don\’t know it, you feel stupid. What is it?Read More »Andrew Book’s math riddle
Andrew is writing a book. He starts on page 1. When he finished, he used a total of 228 digits. ...Read More »Catch the liar
There are two beautiful yet remote islands in the south pacific. The Islanders born on one island always tell the ...Read More »Always with you
It wear you down, yet you will mourn it once it flies. You can kill it, but it will never ...Read More »Akbar could not kill the man. Can you find Why?
A man was brought to Akbar‘s court and he found the man guilt of a little offense. He decided to ...Read More »train and Bridge riddle
John walks over a railway-bridge. At the moment that he is just ten meters away from the middle of the ...Read More »Sharpshooter hat riddle
A sharpshooter hung up his hat and put on a blindfold. He then walked 100 yards, turned around, and shot ...Read More »Tongue but no mouth, yet I can still make a statement riddle
I have a tongue but no mouth, yet I can still make a statement. What am I?Read More »Software Developer bounty prize puzzle
20 Software bug were given a bounty and assigned to a software developer. For each bug resolution, the software developer ...Read More »Last Letter
What is the last letter to this sequence and why JFMAMJJASON….?Read More »Maths equation Puzzle
5+3+2 = 151022 9+2+4 = 183652 8+6+3 = 482466 5+4+5 = 202541 THEN ; 7+2+5 =?Read More »I am a 7 letter word you read me daily riddle
I am a 7 letter word. You read me daily. My 5 6 7 letter increase every year. 3 & ...Read More »Colour Combination Probability
You have three orange, two pink and five purple balls in the drawer beside your bed. There is no electricity ...Read More »7th Baby Name puzzle
A pregnant woman is preparing to name her seventh child. Her children’s names so far are Giza, Babylon, Olympia, Ephesus, ...Read More »