friends who went on a sea voyage. Due to unforeseen circumstances, their ship wrecked and they reached a mysterious island. On that island, there were many monkeys.
There wereOn their first day they gathered as many coconuts as they could find into one big pile. They decided that, since it was getting dark, they would wait until the next day to divide the coconuts.
That night each man took a turn watching for rescue searchers while the others slept. The first watcher got bored so he decided to divide the coconuts into equal piles. When he did this, he found he had one remaining coconut. He gave this coconut to a monkey, took one of the piles, and hid it for himself. Then he jumbled up the remaining piles into one big pile again.
To cut a long story short, each of the men ended up doing exactly the same thing. They each divided the coconuts into equal piles and had one extra coconut left over, which they gave to the monkey. They each took one of the piles and hid those coconuts. They each came back and jumbled up the remaining piles into one big pile.
Let denote the smallest number of coconuts there could have been in the original pile, where is number of friends. And let . Find the sum of digits of .
As an explicit example: if , .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!