• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:13
CET 14:13
KST 22:13
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation12Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview [TLMC] Fall/Winter 2025 Ladder Map Rotation TL.net Map Contest #21: Winners
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion What happened to TvZ on Retro? Brood War web app to calculate unit interactions [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33 Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2249 users

[Recreational Math] round 1

Forum Index > General Forum
Post a Reply
1 2 Next All
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2008-06-23 22:46:29
June 23 2008 11:30 GMT
#1
So i think to spice up the stale(brain intensive wise) general forum w/ some recreational math.
I'll post new rounds once in awhile, but only when the answers are all clear and up.

Sometimes I would know the answer and sit out, other time I would not know the answer and I'll jump in and participate too :D

Today as first day, I know the answer, so I won't participate yet.

Enuf fluff, let's get to business:

This problem is simple algebra, and it is as follows:

How many coconuts?

[image loading]


Five men and a monkey were stranded on strangee island, where common sense may be false while math/logic is always true.
For food, they gather up a bunch of coconuts, then they all went to sleep.
For simplicity, let's call these five men A B C D E, perspectively.
In the middle of the night...
A wakes up, and he thinks he ought to divide up the coconuts. He looks at the pile of coconuts and he realizes that if he remove one coconut, the pile can be evenly divided into 5 equal parts.
So A takes a coconut, and gave it to the monkey. He then divides the rest of the coconut into equal 5 parts, and keeps one part for himself, and leaves the rest of the coconut out. He goes back to sleep.
B wakes up, and he thinks he ought to divide up the coconuts. He looks at the pile left out in the open, and he realizes that if he remove one coconut, the pile can be evenly divided into 5 equal parts.
So B took a coconut and gave it to the monkey. He then divides the rest of the coconut into equal 5 parts, and keeps one part for himself. He leaves the rest out and he goes back to sleep.
C, D, E each wakes up, divides, and goes back to sleep consecutively afterwards. Each of them finds that if you remove one coconut, the rest can be divided into 5 equal parts. So each of them does the same procedure as A and B.
Day break...
Monkey is happily dancing with his 5 coconuts, unknowing how they got there.
All men woke up, and saw still some coconuts left out.
Each man compares his own coconuts with each other, and they find that they have equal amount of coconuts for himself.

How many coconuts are there to begin with so this could happen?

+ Show Spoiler [rewording the problem, no spoiler here] +

So to reword the problem, it is like this:
in the beginning one pile of coconuts
each of the five men does this procedure on the one pile consecutively:
takes one from the pile and give it to monkey, divides rest into 5 equal parts, keep one part for himself, leave the rest and go to sleep.
As a result:
there are still some left in the one pile
the monkey ends up with 5 coconuts
the men all have equal number of coconuts


Good Luck!! I'll post hints and answers if nobody got them, in the mean time discuss and tackle it! Communicate ideas and let's work that brain muscle. try to tag spoilers if you feel your answer is right :p
i'll be sleepa now, checking back tomorrow, gl!

+ Show Spoiler [mysolution] +

We know all the men had equal coconuts, so let X be that number
We have five men, so then all the men have 5X coconuts total
Monkey has 5
There are some remaining, call that R
So total amount will be 5X + R + 5
Now, some funny property of this thing... the number, when subtracted by 1, can be divided by 5 evenly, and not just evenly, but equal to X(since all men ends up with equal number of coconuts). So:
5X + R + 5 - 1 = 5X
Now we cancle the 5X on each side and have
R = -4
After the first guy took his share of coconuts, and gave one to the monkey, the total pile is
4X + R + 4
The second guy realizes this also, when subtracted by 1, can divide by 5 evenly, and not only evenly, but equal to X as well. So:
4X + R + 4 = 5X + 1
R + 3 = X (since R = -4)
X = -1

And we have the total number of coconuts,
5X + R + 5 = 5(-1) + (-4) + 5 = -4

Now to see why it works, it's quite interesting:
The pile is -4, first man wakes up, he toss a positive coconut to the monkey, so the pile is not -5. The man divides the pile into 5 parts, so each part is -1. Man then takes a pile, so man gets -1, and the total pile remains -4, as if nothing ever happened.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
DanceCommander
Profile Blog Joined May 2008
United States1808 Posts
June 23 2008 11:34 GMT
#2
Recreational math, huh? Also synonymous with cruel and unusual punishment
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2008-06-23 12:01:56
June 23 2008 11:35 GMT
#3
On June 23 2008 20:34 DanceCommander wrote:
Recreational math, huh? Also synonymous with cruel and unusual punishment

Then sit out my friend, it is not for the faint minded.
edit: English is not first language here
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Ack1027
Profile Blog Joined January 2004
United States7873 Posts
June 23 2008 11:53 GMT
#4
On June 23 2008 20:35 evanthebouncy! wrote:
Show nested quote +
On June 23 2008 20:34 DanceCommander wrote:
Recreational math, huh? Also synonymous with cruel and unusual punishment

Then sit out my friend, it is not for the feint minded.


Brb making a [recreational english grammar] thread.
First challenge.
HOMONYMS
Faint vs Feint.
Beamo
Profile Joined March 2003
France1279 Posts
Last Edited: 2008-06-23 12:52:16
June 23 2008 12:50 GMT
#5
+ Show Spoiler +

At first I thought the phrasing was wrong and that it was impossible for the men to all have the same amount of coconuts at the end...
Then I did the math (trying to prove the phrasing was wrong) :
That would mean that (x-1)/5 = (4x-9)/25 = (16x-61)/125 etc...
Which works for x = -4

<<
on a strange island, where common sense may be false while math/logic is always true.
>>

So there are -4 coconuts in the stack. a men comes up gives one to the monkey which makes -5 coconuts. He takes on fifth and leaves the rest -> -4 coconuts left.
Second man does the same -> same result etc...

Am I right ?


ydg
Profile Blog Joined March 2008
United States690 Posts
Last Edited: 2008-06-23 12:56:58
June 23 2008 12:56 GMT
#6
+ Show Spoiler +
How can E have the same amount as A if the pile is always reduced before it gets to E? If the number is always divided by 5, E can't have the same amount as A.

haha just saw Beamo's. Clever.
The only courage that matters is the kind that gets you from one moment to the next.
Cobalt
Profile Joined April 2008
United States441 Posts
June 23 2008 13:05 GMT
#7
+ Show Spoiler +
Not to take away from the problem, because the answer appears to be quite clever, but...

"Common sense may be false while math/logic is always true."

Logic dictates that in a real-life scenario like this, you cannot have a negative number of anything tangible, like coconuts are. It might be better to reword it as something like "There is an island. On it, typical math is always true, but other aspects of reality might not be that way..." Now I'm sure someone could find fault with this, too, but I just came up with it in 10 seconds. I'm sure there's a much better way to phrase the statement.

But anyway, good job on the question. Just be careful if someone comes up and says "Alright, logic is true, so the people have to have -some- real coconuts."
aseq
Profile Joined January 2003
Netherlands3987 Posts
June 23 2008 13:22 GMT
#8
Seems impossible that they each take approx 1/5 off the entire stack, yet end up with the same amount of coconuts in the end...

var x = amount of coconuts left in the end;
for (i=0;i<5;++i)
x *= 1.25 + 1;
totalstack = x;

You're only using ints, so amount left in the end must be divisible by 4.
Doing x * 1.25 + 1 must yield a new number again divisible by 4, and this must be repeatable 5 times. Tryout:
4 -> 6 X
12 -> 16 -> 21 X
28 -> 36 -> 46 X
60 -> 76 -> 96 -> 121 X

Can't be arsed to go on, it'll be a big number. But still, not all of the guys will have the same number of coconuts, i don't see how that's possible? Or did you leave out the ninja in the story?
Guess i'm not smart enough to see through this. But if each guy eats half the pie that the last one left behind, no-one will eat the same amount of pie, right? Enlighten me, geniuses of TL!

aseq
Profile Joined January 2003
Netherlands3987 Posts
June 23 2008 13:31 GMT
#9
Ok lolz, if that is the correct answer, hats off to you. Would have never occurred to me...
Plexa
Profile Blog Joined October 2005
Aotearoa39261 Posts
June 23 2008 14:01 GMT
#10
On June 23 2008 21:50 Beamo wrote:
+ Show Spoiler +

At first I thought the phrasing was wrong and that it was impossible for the men to all have the same amount of coconuts at the end...
Then I did the math (trying to prove the phrasing was wrong) :
That would mean that (x-1)/5 = (4x-9)/25 = (16x-61)/125 etc...
Which works for x = -4

<<
on a strange island, where common sense may be false while math/logic is always true.
>>

So there are -4 coconuts in the stack. a men comes up gives one to the monkey which makes -5 coconuts. He takes on fifth and leaves the rest -> -4 coconuts left.
Second man does the same -> same result etc...

Am I right ?


Same method, same result
Administrator~ Spirit will set you free ~
ForAdun
Profile Joined August 2007
Germany986 Posts
June 23 2008 14:16 GMT
#11
I don't get why this is fascinating to some people. I'll close the topic in a few seconds and you rather crack your brain for a couple of hours/minutes with no use at all in your whole life, what the?
MoltkeWarding
Profile Joined November 2003
5195 Posts
June 23 2008 14:41 GMT
#12
As has already been posted, must be -4, as the human gain must in each partition be equal to the the one coconut given to the monkey.
Maenander
Profile Joined November 2002
Germany4926 Posts
Last Edited: 2008-06-23 15:13:37
June 23 2008 15:12 GMT
#13
On June 23 2008 23:16 ForAdun wrote:
I don't get why this is fascinating to some people. I'll close the topic in a few seconds and you rather crack your brain for a couple of hours/minutes with no use at all in your whole life, what the?

A few minutes of brain exercise can´t hurt, you know. My maths skills did decline a lot in recent years due to a lack of exercise. But I admit solving this riddle was rather boring.
Tacticas
Profile Joined July 2007
Israel74 Posts
Last Edited: 2008-06-23 15:26:10
June 23 2008 15:14 GMT
#14
hahaha, i got to the answer -4 but thought i was just wrong >_<
ForAdun
Profile Joined August 2007
Germany986 Posts
June 23 2008 15:31 GMT
#15
Well I don't see how it is brain exercise if you find the answer being -4 because -4 doesn't exist which takes about 1 brain cell to realize so when you realize that the answer is impossible after 1 minute of reading instead of saying the answer must be -4 you're way smarter and therefore you should have more brain capacity than anyone who gives the "correct" answer. Just my 50 cent.
Math is........ well, just not good for your health.
anotak
Profile Blog Joined March 2008
United States1537 Posts
June 23 2008 15:42 GMT
#16
i wonder if i'm the only one that read the title as "recreational meth"
XCetron
Profile Joined November 2006
5226 Posts
June 23 2008 15:50 GMT
#17
On June 24 2008 00:42 anotak wrote:
i wonder if i'm the only one that read the title as "recreational meth"


make a new thread about it.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
June 23 2008 22:36 GMT
#18
Well done folks! We have a rather small audience pool at the moment but I'll keep going with more later on today/this week when I find more funny ones.
I'll post my solution in the op now.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
DanceCommander
Profile Blog Joined May 2008
United States1808 Posts
June 23 2008 22:44 GMT
#19
On June 23 2008 20:53 Ack1027 wrote:
Show nested quote +
On June 23 2008 20:35 evanthebouncy! wrote:
On June 23 2008 20:34 DanceCommander wrote:
Recreational math, huh? Also synonymous with cruel and unusual punishment

Then sit out my friend, it is not for the feint minded.


Brb making a [recreational english grammar] thread.
First challenge.
HOMONYMS
Faint vs Feint.


ROFL
ieatkids5
Profile Blog Joined September 2004
United States4628 Posts
June 24 2008 01:02 GMT
#20
On June 23 2008 20:30 evanthebouncy! wrote:
+ Show Spoiler [mysolution] +

We know all the men had equal coconuts, so let X be that number
We have five men, so then all the men have 5X coconuts total
Monkey has 5
There are some remaining, call that R
So total amount will be 5X + R + 5
Now, some funny property of this thing... the number, when subtracted by 1, can be divided by 5 evenly, and not just evenly, but equal to X(since all men ends up with equal number of coconuts). So:
5X + R + 5 - 1 = 5X
Now we cancle the 5X on each side and have
R = -4
After the first guy took his share of coconuts, and gave one to the monkey, the total pile is
4X + R + 4
The second guy realizes this also, when subtracted by 1, can divide by 5 evenly, and not only evenly, but equal to X as well. So:
4X + R + 4 = 5X + 1
R + 3 = X (since R = -4)
X = -1

And we have the total number of coconuts,
5X + R + 5 = 5(-1) + (-4) + 5 = -4

Now to see why it works, it's quite interesting:
The pile is -4, first man wakes up, he toss a positive coconut to the monkey, so the pile is not -5. The man divides the pile into 5 parts, so each part is -1. Man then takes a pile, so man gets -1, and the total pile remains -4, as if nothing ever happened.

Do you mean 'now'?
cuz it makes a difference
actually, not that big of a difference cuz i could figure out what you meant

love this thread, interesting stuff, and im actually gonna try to do the next one
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Kung Fu Cup
12:00
2025 Monthly #3: Day 4
Classic vs herOLIVE!
RotterdaM779
TKL 360
IndyStarCraft 230
SteadfastSC104
IntoTheiNu 73
Liquipedia
CranKy Ducklings
10:00
Master Swan Open #98
CranKy Ducklings59
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 779
Tasteless 609
Reynor 335
IndyStarCraft 238
Rex 120
SteadfastSC 104
Railgan 26
TKL 0
StarCraft: Brood War
Britney 36599
Rain 4202
Horang2 1623
Jaedong 1151
Hyuk 1119
Mini 887
Shuttle 620
firebathero 518
Stork 456
EffOrt 409
[ Show more ]
BeSt 258
Last 235
Leta 192
Shinee 138
PianO 135
Barracks 86
Shine 79
Hyun 66
Hm[arnc] 61
Mong 58
JYJ52
ggaemo 40
JulyZerg 30
ToSsGirL 27
sorry 27
sas.Sziky 25
soO 23
Movie 23
Bale 19
Noble 13
HiyA 10
ajuk12(nOOB) 8
Sacsri 6
Dota 2
Gorgc5775
singsing2859
Dendi1140
qojqva923
XcaliburYe240
febbydoto15
Counter-Strike
zeus936
oskar81
Other Games
FrodaN4933
B2W.Neo1664
Fuzer 240
KnowMe210
Lowko203
Pyrionflax114
DeMusliM88
Mew2King74
MindelVK14
Organizations
Dota 2
PGL Dota 2 - Main Stream7050
PGL Dota 2 - Secondary Stream4031
Other Games
gamesdonequick560
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH149
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1889
League of Legends
• Stunt1094
Upcoming Events
IPSL
3h 47m
ZZZero vs rasowy
Napoleon vs KameZerg
OSC
5h 47m
BSL 21
6h 47m
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
20h 47m
RSL Revival
20h 47m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
22h 47m
Cure vs TBD
Reynor vs TBD
WardiTV Korean Royale
22h 47m
BSL 21
1d 6h
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
1d 6h
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d 9h
[ Show More ]
Wardi Open
1d 22h
Monday Night Weeklies
2 days
WardiTV Korean Royale
2 days
BSL: GosuLeague
3 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
5 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.