Back to Brain Tonic
Number TheoryhardBT-077

#77 The Monkey and the Coconuts

Five sailors and a monkey collect a pile of coconuts. During the night, one sailor wakes, divides the pile into 5 equal parts, gives one to the monkey, hides his share, and goes back to sleep. Each of the other four does the same in turn. In the morning, they divide the remaining coconuts into 5 equal parts (this time none for the monkey). Find the minimum number of coconuts originally.

Answer options
© 2026 FrontendX. All rights reserved.