• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:47
CET 14:47
KST 22:47
  • 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 A & B Preview1TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation10Weekly 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
RSL Season 3 - RO16 Groups A & B Preview [TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t Weekly Cups (Nov 3-9): Clem Conquers in Canada Craziest Micro Moments Of All Time?
Tourneys
RSL S3 Round of 16 Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2) Sparkling Tuna Cup - Weekly Open Tournament
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 [ASL20] Ask the mapmakers — Drop your questions BW General Discussion Terran 1:35 12 Gas Optimization BGH Auto Balance -> http://bghmmr.eu/
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
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Should offensive tower rushing be viable in RTS games? Nintendo Switch Thread Stormgate/Frost Giant Megathread EVE Corporation Path of Exile
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 Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! 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: 1768 users

[Recreational Math] round 1

Forum Index > General Forum
Post a Reply
Normal
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
brian
Profile Blog Joined August 2004
United States9629 Posts
June 24 2008 03:22 GMT
#21
+ Show Spoiler +
logically its impossible, you cannot take a fifth of a number, leave 4/5-1 and then break up 4/5 into fifths and have it be equal to the original 1/5.


1/5X + 4/5X=X+1

where the 1 is to the monkey

you cannot then take out the 1/5X, leaving 4/5X, with the monkey also having one

then, with the 4/5X, subtract one, 4/5X -1 and divide it into five parts


going on this way you cannot have equal stacks in the end of each man takes his portion out at the time he separates them

if math and logic are true, math always says you cannot have negative length or negative objects :|
Frits
Profile Joined March 2003
11782 Posts
June 24 2008 13:25 GMT
#22
On June 24 2008 00:31 ForAdun wrote:
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.


Hey thanks Im gonna write that in my math tests from now on.
aseq
Profile Joined January 2003
Netherlands3987 Posts
June 24 2008 13:44 GMT
#23
On June 24 2008 12:22 Gene wrote:
+ Show Spoiler +
logically its impossible, you cannot take a fifth of a number, leave 4/5-1 and then break up 4/5 into fifths and have it be equal to the original 1/5.


1/5X + 4/5X=X+1

where the 1 is to the monkey

you cannot then take out the 1/5X, leaving 4/5X, with the monkey also having one

then, with the 4/5X, subtract one, 4/5X -1 and divide it into five parts


going on this way you cannot have equal stacks in the end of each man takes his portion out at the time he separates them

if math and logic are true, math always says you cannot have negative length or negative objects :|


You're not making yourself too clear.
To me it seems the idea is that X = (X - 1) * 4/5
Which is true for -4.
And everyone gets the same (negative) amount of coconuts.
Normal
Please log in or register to reply.
Live Events Refresh
Kung Fu Cup
12:00
2025 Monthly #3: Day 2
Classic vs CureLIVE!
Reynor vs ShoWTimE
RotterdaM558
IntoTheiNu 105
SteadfastSC102
Liquipedia
RSL Revival
10:00
Group A
Solar vs ZounLIVE!
Crank 1284
ComeBackTV 689
Tasteless671
IndyStarCraft 168
Rex145
3DClanTV 76
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1284
Tasteless 671
RotterdaM 558
Lowko239
Reynor 229
IndyStarCraft 168
Rex 145
SteadfastSC 102
StarCraft: Brood War
Calm 5293
JYJ3490
Free 1937
Sea 1732
Bisu 1710
Horang2 949
firebathero 371
Rush 190
Leta 154
Last 151
[ Show more ]
Soulkey 125
hero 86
Yoon 75
Barracks 71
Aegong 59
ToSsGirL 56
sSak 47
Backho 47
zelot 24
Terrorterran 14
ajuk12(nOOB) 12
Dota 2
qojqva1906
Dendi1221
BananaSlamJamma285
XcaliburYe160
febbydoto15
Counter-Strike
x6flipin401
allub226
Other Games
B2W.Neo1016
crisheroes344
hiko226
Sick122
QueenE33
Fuzer 12
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1385
League of Legends
• Stunt565
• HappyZerGling118
Other Games
• WagamamaTV251
Upcoming Events
PiGosaur Monday
11h 13m
RSL Revival
20h 13m
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
22h 13m
herO vs TBD
CranKy Ducklings
1d 20h
RSL Revival
1d 20h
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
1d 22h
IPSL
2 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
2 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
2 days
RSL Revival
2 days
Reynor vs sOs
Maru vs Ryung
[ Show More ]
Kung Fu Cup
2 days
WardiTV Korean Royale
2 days
BSL 21
3 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
3 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
4 days
WardiTV Korean Royale
4 days
The PondCast
5 days
Replay Cast
6 days
RSL Revival
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
RSL Revival: Season 3
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
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
META Madness #9
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.