Monkey and the coconut puzzle is an ancient puzzle. Wiki has a detailed article on the puzzle with several different solutions and a list of references - but also note what Wiki says:
"The problem is notorious for it confounding difficulty .... has become a staple in recreational mathematical collections"
There are two versions of the puzzle that are widely discussed. Solving either version algebraically or through trial & error quickly leads to endless cycles and logical dead ends - it can be a frustrating exercise.
In this feature, I present a simpler, manageable version of the puzzle that is more tractable but still retains all the infuriating aspects of the original puzzle. The change I have made is to reduce the number of men to three from five.
The puzzle (version 1) is now stated as in the following:
Three sailors and a monkey, shipwrecked on a desert island, spent the first day gathering coconuts. During the night, one sailor woke up and decided to take his share. He divided the coconuts into three equal piles but had one coconut left over that he gave to the monkey. He hid his pile and put the rest all back together. Soon after, the second sailor woke up and did the same thing; he also had one coconut left over that he gave to the monkey. The third sailor woke up next and did the same thing, also giving the extra coconut to the monkey. In the morning, the sailors divided the coconuts that were left into three equal shares with one coconut left over for the monkey. They all knew that a good number of coconuts were missing, but each sailor was guilty as the others and they kept quiet. How many coconuts were present in the beginning?
In the alternate statement of the puzzle (version 2), the division in the morning results in the coconuts divided exactly among the three sailors with no coconut left for the monkey.
In the following, we shall solve the puzzle using algebra and then try a couple of ingenious methods that have been used for the standard five sailor version. The three sailor problem is more realistic in terms of the number of coconuts collected in a day - the five sailor version requires several thousand coconuts at the start.
Method 1: (A Numerical Approach)
Slide 1:
Slide 3:
Slide 4:
Version2_ Coconuts divide equally in the morning with none left over
In fact, our analysis of version1 is applicable up to the point when the third sailor had his turn to divide the coconuts - the analysis from equations 1 to 5 is totally valid but equation 6 is now different as there is no leftover coconut for the monkey in the morning division. This is discussed in slide 6.
Slide 6:
Slide 7:
Slide 8:
Some Observations from the Above Discussion:
Let us call the number of sailors as n.
We notice for n = 3, version2 with no coconuts left over in the morning division could be solved as easily as version1 where there was a coconut left for the monkey.
Slide 9:
Appendix: For completeness, I give a calculation of the division of the coconuts for 5 sailors. Both versions 1 and 2 of the puzzle with 5 sailors are discussed in slides 5.1 to 5.4
Slide 5.1:
Slide 5.2:
Slide 5.3:
Slide 5.4:









No comments:
Post a Comment