• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:50
CEST 21:50
KST 04:50
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed18Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
Heaven's Balance Suggestions (roast me) Who will win EWC 2025? Esports World Cup 2025 - Brackets Revealed Crumbl Cookie Spoilers – August 2025 The Memories We Share - Facing the Final(?) GSL
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Soulkey Muta Micro Map? BW General Discussion [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier CSL Xiamen International Invitational Cosmonarchy Pro Showmatches
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Movie Discussion! [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 732 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
Netherlands3977 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
Netherlands3977 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 States9617 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
Netherlands3977 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
RotterdaM Event
17:00
$100 Stream Ruble
RotterdaM804
Liquipedia
CSO Contender
17:00
#43
Liquipedia
PSISTORM Gaming Misc
15:55
FSL Team League: PTB vs RR
Liquipedia
Epic.LAN
12:00
Epic.LAN 45 Playoffs Stage
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 804
BRAT_OK 92
JuggernautJason74
CosmosSc2 31
StarCraft: Brood War
Mini 1041
Larva 599
firebathero 200
ZZZero.O 161
TY 115
Aegong 59
yabsab 17
GoRush 14
Stormgate
TKL 115
Dota 2
qojqva4228
monkeys_forever360
canceldota12
League of Legends
Grubby4635
Counter-Strike
fl0m2426
Stewie2K1142
Heroes of the Storm
Liquid`Hasu387
Other Games
summit1g1960
Beastyqt743
ToD198
Skadoodle179
Trikslyr149
Hui .127
ArmadaUGS111
Sick40
Organizations
Other Games
gamesdonequick2181
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• printf 77
• tFFMrPink 18
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21682
Other Games
• imaqtpie1636
• WagamamaTV168
Upcoming Events
Sparkling Tuna Cup
14h 11m
Online Event
20h 11m
Esports World Cup
2 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
3 days
Esports World Cup
4 days
Esports World Cup
5 days
CranKy Ducklings
6 days
BSL20 Non-Korean Champi…
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Liquipedia Results

Completed

CSL Xiamen Invitational: ShowMatche
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
2025 ACS Season 2
Championship of Russia 2025
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 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.