The monkey and the coconuts

The monkey and the coconuts is a mathematical puzzle in the field of Diophantine analysis involving five sailors and a monkey on a desert island who divide up a pile of coconuts.

History

The problem became notorious when American novelist and short story writer Ben Ames Williams modified an older problem and included it in a story in the October 9, 1926 issue of The Saturday Evening Post.[1] Here is how the problem was stated by Williams:

Five men and a monkey were shipwrecked on an island. They spent the first night gathering coconuts. During the night, one man woke up and decided to take his share of the coconuts. He divided them into five piles. One coconut was left over so he gave it to the monkey, then hid his share and went back to sleep.
Soon a second man woke up and did the same thing. After dividing the coconuts into five piles, one coconut was left over which he gave to the monkey. He then hid his share and went back to bed. The third, fourth, and fifth man followed exactly the same procedure. The next morning, after they all woke up, they divided the remaining coconuts into five equal shares. This time no coconuts were left over.
What is the smallest number of coconuts there could have been in the original pile?

The magazine was inundated by more than 2,000 letters pleading for an answer to the problem. The Post editor, Horace Lorimer, famously fired off a telegram to Williams saying: "FOR THE LOVE OF MIKE, HOW MANY COCONUTS? HELL POPPING AROUND HERE". Williams continued to get letters asking for a solution for the next twenty years.[2]

Williams had modified an older problem to make it more confusing. In the older version there is a coconut for the monkey on the final division. In Williams's version the final division in the morning comes out even.[3]

Martin Gardner featured the problem in his April 1958 Mathematical Games column in Scientific American. He once told his son Jim that it was his favorite problem.[4] So much so that he later chose to make it the first chapter of his "best of columns" collection, The Colossal Book of Mathematics.[2] He said that the Monkey and the Coconuts is "probably the most worked on and least often solved" algebraic puzzle.[1] Since that time the Williams version of the problem has become a staple of recreational mathematics.[5] The original story containing the problem was reprinted in full in Clifton Fadiman's 1962 anthology The Mathematical Magpie,[6] a book that the Mathematical Association of America recommends for acquisition by undergraduate mathematics libraries.[7]

Solution

A complete analysis of both the original problem and William's version was presented by Martin Gardner when he featured the problem in his Mathematical Games column. Gardner begins by solving the original problem because it is less confusing than the Williams variation. Let N be the size of the original pile and F be the number of coconuts received by each sailor after the final division into 5 equal shares in the morning. This leads to the Diophantine equation:[2]

1024 N = 15625 F + 11529

Gardner points out that this equation is much too difficult to solve by trial and error.[8] Moreover, it has an infinite number of solutions. In fact, if (N, F) is a solution then so is (N + 15625 t, F + 1024 t) for any integer t. This means that the equation also has solutions in negative integers. Trying out a few small negative numbers it turns out N = -4 and F = -1 is a solution.[9] This involves the absurd notion of negative coconuts; so we add 15625 to -4 and add 1024 to -1 to get the smallest positive solution (15621, 1023).[10] Gardner then generalizes this case and gets 55 - 4 = 3121 for the number of coconuts in the original pile in the Williams version.

References

  1. 1 2 Pleacher (2005)
  2. 1 2 3 Gardner (2001)
  3. Antonick (2013)
  4. Antonick(2013): "I then asked Jim if his father had a favorite puzzle, and he answered almost immediately: The monkeys and the coconuts. He was quite fond of that one."
  5. Wolfram Mathworld
  6. KIRKUS REVIEW of The Mathematical Magpie July 27, 1962
  7. The Mathematical Magpie, by Clifton Fadiman, Mathematical Association of America, Springer, 1997
  8. Gardner (2001) p. 4: "The equation is much too difficult to solve by trial and error, and although there is a standard procedure for solving it by an ingenious use of continued fractions, the method is long and tedious."
  9. Bogomolny (1996)
  10. Gardner (2001) p. 5: "This solution is sometimes attributed to the University of Cambridge physicist P.A.M. Dirac (1902-1984), but in reply to my query Professor Dirac wrote that he obtained the solution from J.H.C. Whitehead, professor of mathematics (and nephew of the famous philosopher). Professor Whitehead, answering a similar query, said that he got it from someone else, and I have not pursued the matter further."

Sources

  • Antonick, Gary (2013). Martin Gardner’s The Monkey and the Coconuts in Numberplay The New York Times:, October 7, 2013
  • Pleacher, David (2005). Problem of the Week: The Monkey and the Coconuts May 16, 2005
  • Gardner, Martin (2001). The Colossal Book of Mathematics: Classic Puzzles, Paradoxes, and Problems W.W. Norton & Company; ISBN 0-393-02023-1
  • Pappas, Theoni (1993). Joy of Mathematics: Discovering Mathematics All Around| Wide World Publishing, January 23, 1993, ISBN 0933174659
  • Wolfram Mathworld: Monkey and Coconut Problem
  • Kirchner, R. B. "The Generalized Coconut Problem." Amer. Math. Monthly 67, 516-519, 1960.
  • Fadiman, Clifton (1962). The Mathematical Magpie, Simon & Schuster
  • Bogomolny, Alexander (1996) Negative Coconuts at cut-the-knot
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.