Skip to content
Get started

Five sailors, a monkey and the coconuts

HardBrainteasers8 min

Five sailors gather a pile of coconuts and go to sleep. During the night each sailor in turn wakes up, divides the pile into 5 equal shares with exactly one coconut left over (which he gives to a monkey), hides his share, and pushes the remaining four shares back into one pile. In the morning the remaining pile divides evenly into 5 shares with nothing left over. What is the smallest possible number of coconuts in the original pile?

Show hints (3)+
  1. Write the pile after one sailor as a function of the pile before: 45(x−1)\tfrac45(x - 1).
  2. Find a constant cc so that x+cx + c is simply multiplied by 45\tfrac45 each night.
  3. Then N+cN + c must be divisible by 555^5; check the morning condition.

Answer

Reveal answer →

3121

Create a free account to see the full worked solution and track your progress.

Interview format: Hedge Fund Quant, Numerical Reasoning Tests

Related questions