• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:06
CET 14:06
KST 22:06
  • 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
TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation4Weekly 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
[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? SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
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
BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle Terran 1:35 12 Gas Optimization BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET [ASL20] Grand Finals [Megathread] Daily Proleagues
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
Nintendo Switch Thread Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile Dawn of War IV
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 Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine 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: 1148 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 1
herO vs CureLIVE!
Reynor vs GuMiho
ByuN vs ShoWTimE
RotterdaM400
TKL 174
Rex124
IntoTheiNu 89
SteadfastSC76
Liquipedia
OSC
11:30
Mid Season Playoffs
Spirit vs HarstemLIVE!
Cure vs TBD
Krystianer vs Percival
WardiTV409
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 400
TKL 174
Reynor 174
Rex 124
SteadfastSC 76
StarCraft: Brood War
Calm 5179
Rain 3048
Hyuk 2257
Bisu 2132
Horang2 1553
Backho 1091
Flash 679
Soma 424
Stork 315
Last 261
[ Show more ]
Rush 247
Pusan 191
Soulkey 123
hero 59
JulyZerg 57
Barracks 41
sSak 35
zelot 35
Aegong 31
Icarus 25
Killer 22
Hm[arnc] 9
Noble 7
Terrorterran 6
sas.Sziky 1
Dota 2
qojqva1099
Dendi1077
XcaliburYe187
BananaSlamJamma26
Gorgc1
Counter-Strike
olofmeister933
x6flipin618
allub170
Super Smash Bros
Mew2King166
Other Games
B2W.Neo886
Pyrionflax264
crisheroes257
DeMusliM192
Sick123
Fuzer 117
QueenE38
hiko30
ZerO(Twitch)14
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Adnapsc2 11
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 950
• WagamamaTV361
Upcoming Events
Tenacious Turtle Tussle
9h 54m
The PondCast
20h 54m
RSL Revival
20h 54m
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
22h 54m
WardiTV Korean Royale
22h 54m
PiGosaur Monday
1d 11h
RSL Revival
1d 20h
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
1d 22h
CranKy Ducklings
2 days
RSL Revival
2 days
herO vs Gerald
ByuN vs SHIN
[ Show More ]
Kung Fu Cup
2 days
IPSL
3 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
3 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
3 days
RSL Revival
3 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
3 days
WardiTV Korean Royale
3 days
BSL 21
4 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
4 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Wardi Open
4 days
Monday Night Weeklies
5 days
WardiTV Korean Royale
5 days
The PondCast
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
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
RSL Revival: Season 3
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.