• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:04
CET 12:04
KST 20:04
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !3Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win3Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win ComeBackTV's documentary on Byun's Career ! Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Dawn of War IV Nintendo Switch Thread
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 950 users

Math Puzzle - 100 Guards

Blogs > Slithe
Post a Reply
Normal
Slithe
Profile Blog Joined February 2007
United States985 Posts
October 08 2010 08:41 GMT
#1
I have another puzzle to hopefully satisfy the intellectual appetite of the Team Liquid community. There are actually two versions of this puzzle, the easier one and the harder one. You could jump to the harder one if you don't want any hints, but for most people I think solving the easier one first is better.

+ Show Spoiler [Easier Version] +

There are 2 prisoners who have both been sentenced to life in prison. They are each going to be placed in solitary confinement(separate cells, they cannot communicate or see each other at all).

There are 100 guards working at this prison. Every day, each cell is guarded by one of the guards. If possible, both cells must be guarded. Also, a guard would prefer not to guard the same cell on consecutive days.

Lucky for the prisoners, there is a way for them to be released from prison.

Each prison cell's walls are painted either white or black. If either prisoner can successfully guess the color of the other prisoner's cell, then both will be freed. If either guesses wrong, they both die.

Every single day, the prisoners can do one of three things:
1) Talk to the guard. If the prisoner does this, the guard will be very offended and will never guard this prisoner's cell again.
2) Tell the guard what he thinks the color of the other prisoner's cell is. If the prisoner guesses correct, they both go free. Otherwise, they both die.
3) Do nothing.

As is usual with these kinds of problems, the prisoners have time beforehand to discuss their strategy. Can you think of a strategy that the prisoners can use to guarantee their freedom?

Clarifications
1) The priority of rules for the guards is as follows (first being highest priority):
----If a guard has been talked to, he will never guard that cell again
----If there is no other guard available to guard a cell, he will guard it.
----If the guard has guarded that cell the day before, he will not guard it today.
2) It is possible for a prisoner's cell to be completely unguarded on a day. For example, if the prisoner has talked to all 100 guards, then there will be no more guards left who are willing to guard him. This also means that the prisoner can no longer guess because there are no guards available to listen to him.


+ Show Spoiler [Harder Version] +

There are 2 prisoners who have both been sentenced to life in prison. They are each going to be placed in solitary confinement(separate cells, they cannot communicate or see each other at all).

There are 100 guards working at this prison. Every day, each cell is guarded by one of the guards. If possible, both cells must be guarded. Also, a guard would prefer not to guard the same cell on consecutive days.

Lucky for the prisoners, there is a way for them to be released from prison.

Each guard has an astrological sign (there are 12 astrological signs). If either prisoner can successfully guess the sign of the guard that is currently guarding them, then both will be freed. If either guesses wrong, they both die.

Every single day, the prisoners can do one of three things:
1) Ask the guard what his sign is. If the prisoner does this, the guard will tell you, but will also become very offended and will never guard this prisoner's cell again.
2) Guess the guard's astrological sign. If the prisoner guesses correct, they both go free. Otherwise, they both die.
3) Do nothing.

As is usual with these kinds of problems, the prisoners have time beforehand to discuss their strategy. Can you think of a strategy that the prisoners can use to guarantee their freedom?

Clarifications
1) The priority of rules for the guards is as follows (first being highest priority):
----If a guard has been asked his sign by a prisoner, he will never guard that prisoner's cell again.
----If there is no other guard available to guard a cell, he will guard it.
----If the guard has guarded that cell the day before, he will not guard it today.
2) It is possible for a prisoner's cell to be completely unguarded on a day. For example, if the prisoner has talked to all 100 guards, then there will be no more guards left who are willing to guard him. This also means that the prisoner can no longer guess because there are no guards available to listen to him.
3) A prisoner is only allowed to guess the sign of the guard that is currently guarding him.


*****
Crawler
Profile Blog Joined April 2010
Estonia248 Posts
October 08 2010 09:04 GMT
#2
<3 puzzles! Have to skip sc2 for a bit now tho ;(
Vinnesta
Profile Blog Joined April 2010
Singapore285 Posts
Last Edited: 2010-10-08 09:09:27
October 08 2010 09:07 GMT
#3
I am assuming the prisoners can differentiate between the different guards?

+ Show Spoiler [Easier version] +
Both prisoners talk to the guards for 49 days, thus chasing away 98 of the guards and leaving 2 of them.

On the 50th day, prisoner A will talk to the guard if his wall is white, but not talk if his wall is black. Prisoner B will do nothing.

On the 51st day, if prisoner B has no guard, he knows that A's wall is white, since A's guard on the 50th day will have ran off, and B's guard will go to A. If the guards changed, prisoner A's wall is black and B will know, thus freeing them.

If A's wall is white, B will tell the guard on the 52nd day.
Same difference is not an oxymoron!
madnessman
Profile Blog Joined May 2009
United States1581 Posts
October 08 2010 09:08 GMT
#4
Harder version is so difficult. I think I'm going to have to try working out the easier version first.
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2010-10-08 09:12:10
October 08 2010 09:10 GMT
#5
On October 08 2010 18:07 Vinnesta wrote:
I am assuming the prisoners can differentiate between the different guards?

+ Show Spoiler [Easier version] +
Both prisoners talk to the guards for 49 days, thus chasing away 98 of the guards and leaving 2 of them. On the 50th day, prisoner A will talk to the guard if his wall is white, but not talk if his wall is black. Prisoner B will do nothing. On the 51st day, if prisoner B has no guard, he knows that A's wall is white, since A's guard on the 50th day will have ran off, and B's guard will go to A. If the guards changed, prisoner A's wall is black, and B will know.

If A's wall is white, B will tell the guard on the 52nd day.


If a prisoner talks to a guard, that guard will only stop guarding that one prisoner, not both prisoners.
Sadir
Profile Blog Joined December 2005
Vatican City State1176 Posts
October 08 2010 09:11 GMT
#6
in the hard version, under clarification 1), what do you mean with
"----If there is no other guard available to guard a cell, he will guard it."

most likely not important, but still
Abenson
Profile Blog Joined December 2009
Canada4122 Posts
Last Edited: 2010-10-08 09:12:37
October 08 2010 09:11 GMT
#7
On October 08 2010 18:07 Vinnesta wrote:
I am assuming the prisoners can differentiate between the different guards?

+ Show Spoiler [Easier version] +
Both prisoners talk to the guards for 49 days, thus chasing away 98 of the guards and leaving 2 of them.

On the 50th day, prisoner A will talk to the guard if his wall is white, but not talk if his wall is black. Prisoner B will do nothing.

On the 51st day, if prisoner B has no guard, he knows that A's wall is white, since A's guard on the 50th day will have ran off, and B's guard will go to A. If the guards changed, prisoner A's wall is black and B will know, thus freeing them.

If A's wall is white, B will tell the guard on the 52nd day.


But I thought the prisoner's can't talk to each other?
+ Show Spoiler +
If I was the prisoner, I'll just randomly guess the other guy's colour because I really can't find a solution.
50% chance of being freed! :D

Edit: Nevermind, didn't really read the questions carefully XD
I think the dude go it though
Slithe
Profile Blog Joined February 2007
United States985 Posts
October 08 2010 09:14 GMT
#8
On October 08 2010 18:11 Sadir wrote:
in the hard version, under clarification 1), what do you mean with
"----If there is no other guard available to guard a cell, he will guard it."

most likely not important, but still


Suppose there's only 1 guard willing to guard prisoner A, while there are plenty of guards willing to guard prisoner B. In this scenario, the same guard will keep guarding prisoner A, even though he would prefer to switch.
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 09:17 GMT
#9
+ Show Spoiler +
so he could do nothing until he noticed a guard missing
one if by land (white!)
two if by sea (black!)
if he noticed two missing from his rotation, it's black
if he noticed one missing from his rotation, it's white
University of Kentucky Basketball #1
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 09:17 GMT
#10
no idea on the harder version whatsoever
please dont keep me up for hours
University of Kentucky Basketball #1
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 09:18 GMT
#11
On October 08 2010 18:07 Vinnesta wrote:
I am assuming the prisoners can differentiate between the different guards?

+ Show Spoiler [Easier version] +
Both prisoners talk to the guards for 49 days, thus chasing away 98 of the guards and leaving 2 of them.

On the 50th day, prisoner A will talk to the guard if his wall is white, but not talk if his wall is black. Prisoner B will do nothing.

On the 51st day, if prisoner B has no guard, he knows that A's wall is white, since A's guard on the 50th day will have ran off, and B's guard will go to A. If the guards changed, prisoner A's wall is black and B will know, thus freeing them.

If A's wall is white, B will tell the guard on the 52nd day.

this is assuming that they go in order
University of Kentucky Basketball #1
Ftrunkz
Profile Blog Joined April 2007
Australia2474 Posts
Last Edited: 2010-10-08 09:21:07
October 08 2010 09:19 GMT
#12
+ Show Spoiler +
easy version: the cellmates before going in (assuming they know all the rules) decide that one of them is the 'talker' whilst the other is the 'thinker'.

The talkers job is simple, he talks to 99 of the guards if his cell is white, if it is black he doesnt talk at all, the thinkers job is pretty easy too, he waits 100 days, and then talks to 99 guards.

What this accomplishes is that the 'talker' prisoner always has that 1 guard left if he's in a white room, and due to the 'rules' that one guard must always guard him despite his preferences, so after 'thinker' gets rid of his 99 after 200 days or w/e, this one guard begins swapping back and forth if 'talker' is in a white room, at which point thinker knows the colour of both rooms and gets them free.

If however 'talker' is in a black room, and has never talked, the one guard 'thinker' didnt talk to is always stationed at his room, allowing 'thinker' to realize that 'talker' must be in a black room, at which point he knows the colour of both rooms.
@NvPinder on twitter | Member of Gamecom Nv | http://www.clan-ta.com | http://www.youtube.com/user/ftrunkz | http://www.twitchtv.com/xghpinder
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 09:22 GMT
#13
i was just assuming that you could 98 or 99 it and then follow by the other guy talking to all 100
your method is pretty good, i didn't think about having to get two right
University of Kentucky Basketball #1
Slithe
Profile Blog Joined February 2007
United States985 Posts
October 08 2010 09:24 GMT
#14
On October 08 2010 18:17 Bill Murray wrote:
+ Show Spoiler +
so he could do nothing until he noticed a guard missing
one if by land (white!)
two if by sea (black!)
if he noticed two missing from his rotation, it's black
if he noticed one missing from his rotation, it's white


Clarification: You cannot assume anything about the order of the guards. For example, if there are 3 guards available to guard prisoner A, he could very easily see the following:

1 2 1 2 1 2 ....
Slithe
Profile Blog Joined February 2007
United States985 Posts
October 08 2010 09:26 GMT
#15
On October 08 2010 18:19 Ftrunkz wrote:
+ Show Spoiler +
easy version: the cellmates before going in (assuming they know all the rules) decide that one of them is the 'talker' whilst the other is the 'thinker'.

The talkers job is simple, he talks to 99 of the guards if his cell is white, if it is black he doesnt talk at all, the thinkers job is pretty easy too, he waits 100 days, and then talks to 99 guards.

What this accomplishes is that the 'talker' prisoner always has that 1 guard left if he's in a white room, and due to the 'rules' that one guard must always guard him despite his preferences, so after 'thinker' gets rid of his 99 after 200 days or w/e, this one guard begins swapping back and forth if 'talker' is in a white room, at which point thinker knows the colour of both rooms and gets them free.

If however 'talker' is in a black room, and has never talked, the one guard 'thinker' didnt talk to is always stationed at his room, allowing 'thinker' to realize that 'talker' must be in a black room, at which point he knows the colour of both rooms.


Congratulations. You have solved the easy version.
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2010-10-08 09:28:56
October 08 2010 09:28 GMT
#16
I'm going to sleep. Good luck with the hard version. I'll give clarifications when I wake up if necessary.

Edit: lol accidentally tripled posted.
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 09:29 GMT
#17
i hate you
University of Kentucky Basketball #1
Ftrunkz
Profile Blog Joined April 2007
Australia2474 Posts
Last Edited: 2010-10-08 09:35:49
October 08 2010 09:32 GMT
#18
omfg at hard version, braintstorming some ideas right now and not getting very far haha.

edit 1:OMG MY 2000TH POST NOOOOOOOO.

atleast im a sexy dt now.

edit 2: joke answer: if the a guard says leo he throws his show at their face hard enough to leave a bruise, allowing the other guy to say leo when he comes around.
@NvPinder on twitter | Member of Gamecom Nv | http://www.clan-ta.com | http://www.youtube.com/user/ftrunkz | http://www.twitchtv.com/xghpinder
anch
Profile Blog Joined June 2006
United States5457 Posts
October 08 2010 09:35 GMT
#19
argggggggggggggggggghhhhhh hard version.
nuts,
seems impossible cuz its 1 out of 12, and noway of knowing the guard's sign without asking.
going to think while sleep.
Ftrunkz
Profile Blog Joined April 2007
Australia2474 Posts
Last Edited: 2010-10-08 09:45:46
October 08 2010 09:40 GMT
#20
yeah, going completely round in circles and getting nowhere on hard, this is doing my head in, not enough IQ...

edit: I give up, im getting to that "its impossible fuck it" point in my head, haha. The thinking im up to is that one guy has to stop talking to guards at some point because a guard gives a certain answer, however I'm unsure as to how that helps the other guy, but its the only way of conveying any sort of information between the 2, which is what the problems all about... I just have no idea at what point logically makes sense for him to stop talking and to have the other guy figure it out based off that.

@NvPinder on twitter | Member of Gamecom Nv | http://www.clan-ta.com | http://www.youtube.com/user/ftrunkz | http://www.twitchtv.com/xghpinder
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 09:43 GMT
#21
i was thinking you could do something if a person got the same sign twice in a row, but there would be a % against that even happening
University of Kentucky Basketball #1
FatChicksUnited
Profile Joined August 2010
Canada214 Posts
October 08 2010 09:52 GMT
#22
Potential Hard Solution:
+ Show Spoiler +
  1. P1 and P2 devise a numbering scheme for each astrological sign, assigning each a value between 1 and 12 (inclusive).
  2. P1 eliminates 99 guys, sums up the values of each astrological signs and divides it by 12, remembering the remainder M1. If M1 is 0 he will remember 12 instead.
  3. At this point P1 now sees the same guard G1 every day. P2 will never again see G1 until P1 chooses.
  4. P2 waits 99 days from the beginning and begins his own purging, eliminating 98 guards and while summing and dividing similarly for M2.
  5. P1 and P2 will now each see their own guards each day, G1 and G2 respectively.
  6. P1, having waited 98 days after his own purging, now waits M1 days and finally eliminates G1. P2 does nothing now except count days. Note that P2 will be guaranteed to see G2 at least once in this time.
  7. P2 will see G1 the day after, due to the priority rules. Having seen G2 and being able to tell G1 and G2 apart, he will have figured out M1, having counted the days since his purging ended.
  8. Since S1 is the modulo sum of every guard's sign except G1, and S2 is the modulo sum sign of every guard's sign except G1 and G2, their difference (using modular arithmetic) is the number corresponding to G2's sign.
  9. Using this information P2 can correctly guess G2's sign the following day.


+ Show Spoiler +
First post!
Fat chicks need love too.
Ftrunkz
Profile Blog Joined April 2007
Australia2474 Posts
October 08 2010 09:58 GMT
#23
On October 08 2010 18:52 FatChicksUnited wrote:
Potential Hard Solution:
+ Show Spoiler +
  1. P1 and P2 devise a numbering scheme for each astrological sign, assigning each a value between 1 and 12 (inclusive).
  2. P1 eliminates 99 guys, sums up the values of each astrological signs and divides it by 12, remembering the remainder M1. If M1 is 0 he will remember 12 instead.
  3. At this point P1 now sees the same guard G1 every day. P2 will never again see G1 until P1 chooses.
  4. P2 waits 99 days from the beginning and begins his own purging, eliminating 98 guards and while summing and dividing similarly for M2.
  5. P1 and P2 will now each see their own guards each day, G1 and G2 respectively.
  6. P1, having waited 98 days after his own purging, now waits M1 days and finally eliminates G1. P2 does nothing now except count days. Note that P2 will be guaranteed to see G2 at least once in this time.
  7. P2 will see G1 the day after, due to the priority rules. Having seen G2 and being able to tell G1 and G2 apart, he will have figured out M1, having counted the days since his purging ended.
  8. Since S1 is the modulo sum of every guard's sign except G1, and S2 is the modulo sum sign of every guard's sign except G1 and G2, their difference (using modular arithmetic) is the number corresponding to G2's sign.
  9. Using this information P2 can correctly guess G2's sign the following day.


+ Show Spoiler +
First post!

whoa, this is pretty mathematical but i understand the idea behind what you've done here, that's pretty cool and i would've never figured this out, gj (asuming you're correct :D)
@NvPinder on twitter | Member of Gamecom Nv | http://www.clan-ta.com | http://www.youtube.com/user/ftrunkz | http://www.twitchtv.com/xghpinder
Sadir
Profile Blog Joined December 2005
Vatican City State1176 Posts
Last Edited: 2010-10-08 10:11:57
October 08 2010 10:03 GMT
#24

Potential Hard Solution:
+ Show Spoiler +
  1. P1 and P2 devise a numbering scheme for each astrological sign, assigning each a value between 1 and 12 (inclusive).
  2. P1 eliminates 99 guys, sums up the values of each astrological signs and divides it by 12, remembering the remainder M1. If M1 is 0 he will remember 12 instead.
  3. At this point P1 now sees the same guard G1 every day. P2 will never again see G1 until P1 chooses.
  4. P2 waits 99 days from the beginning and begins his own purging, eliminating 98 guards and while summing and dividing similarly for M2.
  5. P1 and P2 will now each see their own guards each day, G1 and G2 respectively.
  6. P1, having waited 98 days after his own purging, now waits M1 days and finally eliminates G1. P2 does nothing now except count days. Note that P2 will be guaranteed to see G2 at least once in this time.
  7. P2 will see G1 the day after, due to the priority rules. Having seen G2 and being able to tell G1 and G2 apart, he will have figured out M1, having counted the days since his purging ended.
  8. Since S1 is the modulo sum of every guard's sign except G1, and S2 is the modulo sum sign of every guard's sign except G1 and G2, their difference (using modular arithmetic) is the number corresponding to G2's sign.
  9. Using this information P2 can correctly guess G2's sign the following day.


+ Show Spoiler +
First post!


pretty damn impressive really, I got to the situation with the P1-G1 and P2-G2 (while G1 possible as well), but the information handling....puh...I couldnt think of how to solve this
pretty good
chapeau

EDIT: I have to rethink that, I am not sure any more if I get it =)
EDIT2: ok I definitely got it now hehe
garbanzo
Profile Joined October 2009
United States4046 Posts
Last Edited: 2010-10-08 10:13:56
October 08 2010 10:10 GMT
#25
Can the prisoners differentiate between the guards without talking to them? I assumed they can't since they are in solitary confinement.

If they can differentiate are they able to agree upon a unique way to number them in the strategy phase? I mean in a way that once they are imprisoned then they will know when they are guarded by guard #1 or guard #38.
Even during difficult times, when I sat down to play the game, there were times where it felt like god has descended down and played [for me].
FatChicksUnited
Profile Joined August 2010
Canada214 Posts
October 08 2010 10:15 GMT
#26
How I arrived at the solution:
+ Show Spoiler +
I can't take credit actually. A few months ago Slithe or someone else put another puzzle of similar nature up, and the solution also was to encode information using modular arithmetic. Reading about it a few months ago totally blew my mind my as well .


Fat chicks need love too.
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
Last Edited: 2010-10-08 10:46:26
October 08 2010 10:19 GMT
#27
they could both eliminate all but 2 guards
prisoner A could dismiss one, and depending on the sign, wait 1-12 days to dismiss the last guard. They would know when this was occuring, because the guards would have a gap in between when they guarded the prisoners.

They eliminate down to 2 guards. At that point it would be 1, 2, 1, 2, 1, 2, 1, 2 for them both
when the prisoner dismisses the last guard, it would go from 1, 0 , 1, 0, to 1, 1, 1, 1, and he could correspond it with days of the gap relating to sign, because he would go back to 1, 2, 1, 2. The other prisoner wouldn't have a guard to guess, and would therefore "not get it wrong"

When he dismisses one, where the guards switch, the other guard will be stuck at his cell everyday, though he doesn't want to be stuck there whatsoever. when he waits the corresponding amount of days to dismiss him, the other prisoner will actually gain a guard.

He would know said guard's sign based upon silent communication of days, and the other dude wouldn't even have a guard to guess and get wrong.

So when he dismisses the guard, they will both be locked on the prisoner
he waits 1 day for ares, 12 days for pisces
on the 13th day, prisoner 2 would know said guard was pisces, for instance, because he would be back in rotation at his cell with the other guard whose sign he doesn't know
University of Kentucky Basketball #1
Suspense
Profile Blog Joined August 2010
United States500 Posts
Last Edited: 2010-10-08 10:30:36
October 08 2010 10:25 GMT
#28
Hard solution perhaps (lacking mathematical explantion)
+ Show Spoiler +

If there are 100 guards and they must answer what their sign is the first time then that is a positive way of knowing one guards sign.
Also they are not to guard the same prisoners cell after that, unless no one else is available.


The prisoners would have to agree on a sign that when they heard it they would start the count.
This being said if on the first day one prisoners would ask the guards what their signs are and it was Leo.. Well heres and example on the first day to make things easier.

In the event that Leo is answered the day count starts at one. Now with 100 guards both guarding each cell when possible it will give you 54 days without a guard being repeated on that prisoner. On the 55th day the prisoner who did not ask the question on the first day would be guarded by the guard that guarded the other prisoner on the first day. Making the other prisoner positive that Leo is his sign.

Perhaps this only works if the sign is hit on the first day however.. but that would still give the prisoners a 1 and 6 shot I believe.

I'm not sure if the rotation I have in this solution is how it has to work, but i don't see it stated otherwise, so in this scenario it would

Either way I'm way too tired to try and work this out.. This was just what I initial thought I might read some of the other spoilers to see what other people have come up with



Bah nvm mine.. it relies on them speaking to each other
Call me Mr. Tripped-Fell-Landed-On-1-A
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 08 2010 10:33 GMT
#29
i hope my theory isn't swiss cheese
University of Kentucky Basketball #1
FiBsTeR
Profile Blog Joined February 2008
United States415 Posts
October 08 2010 14:21 GMT
#30
On October 08 2010 19:19 Bill Murray wrote:


They eliminate down to 2 guards. At that point it would be 1, 2, 1, 2, 1, 2, 1, 2 for them both


You can't guarantee that the same two guards are left for each prisoner. P1 could be left with G1 and G2 and P2 left with G3 and G4.
Slithe
Profile Blog Joined February 2007
United States985 Posts
October 08 2010 18:15 GMT
#31
On October 08 2010 18:52 FatChicksUnited wrote:
Potential Hard Solution:
+ Show Spoiler +
  1. P1 and P2 devise a numbering scheme for each astrological sign, assigning each a value between 1 and 12 (inclusive).
  2. P1 eliminates 99 guys, sums up the values of each astrological signs and divides it by 12, remembering the remainder M1. If M1 is 0 he will remember 12 instead.
  3. At this point P1 now sees the same guard G1 every day. P2 will never again see G1 until P1 chooses.
  4. P2 waits 99 days from the beginning and begins his own purging, eliminating 98 guards and while summing and dividing similarly for M2.
  5. P1 and P2 will now each see their own guards each day, G1 and G2 respectively.
  6. P1, having waited 98 days after his own purging, now waits M1 days and finally eliminates G1. P2 does nothing now except count days. Note that P2 will be guaranteed to see G2 at least once in this time.
  7. P2 will see G1 the day after, due to the priority rules. Having seen G2 and being able to tell G1 and G2 apart, he will have figured out M1, having counted the days since his purging ended.
  8. Since S1 is the modulo sum of every guard's sign except G1, and S2 is the modulo sum sign of every guard's sign except G1 and G2, their difference (using modular arithmetic) is the number corresponding to G2's sign.
  9. Using this information P2 can correctly guess G2's sign the following day.


+ Show Spoiler +
First post!


Congratulations, you have found the answer. It's also pretty much the fastest answer that you can have in terms of days.

I actually put a little bit of spread between this problem and the 7 hats problem because they use the similar trick of modular arithmetic, and I was trying to make sure people's brains would have to rediscover this neat idea.
Yukidasu
Profile Blog Joined September 2009
Australia125 Posts
October 08 2010 23:55 GMT
#32
That's what I got too, didn't thing of the summing/modulus though, so my solution would have taken up to 12^99 days :D.
Lost in a groundless dream. You can't fly if there's nowhere to fall.
Bill Murray
Profile Blog Joined October 2009
United States9292 Posts
October 09 2010 06:08 GMT
#33
On October 08 2010 23:21 FiBsTeR wrote:
Show nested quote +
On October 08 2010 19:19 Bill Murray wrote:


They eliminate down to 2 guards. At that point it would be 1, 2, 1, 2, 1, 2, 1, 2 for them both


You can't guarantee that the same two guards are left for each prisoner. P1 could be left with G1 and G2 and P2 left with G3 and G4.

easy. short, bald, brown eyes, etc
distinguishable
you can pre-game strategy
University of Kentucky Basketball #1
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2010-10-09 07:36:54
October 09 2010 07:35 GMT
#34
On October 09 2010 15:08 Bill Murray wrote:
Show nested quote +
On October 08 2010 23:21 FiBsTeR wrote:
On October 08 2010 19:19 Bill Murray wrote:


They eliminate down to 2 guards. At that point it would be 1, 2, 1, 2, 1, 2, 1, 2 for them both


You can't guarantee that the same two guards are left for each prisoner. P1 could be left with G1 and G2 and P2 left with G3 and G4.

easy. short, bald, brown eyes, etc
distinguishable
you can pre-game strategy


This is considered beyond the abilities of the prisoners. To make the problem more clear, I will say that all guards look the same, but they are arbitrarily numbered so that a prisoner can differentiate between them. However, they wear different numbers for each prisoner, so they cannot use number to jointly identify a guard.
Normal
Please log in or register to reply.
Live Events Refresh
The PondCast
10:00
Episode 76
CranKy Ducklings17
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 234
StarCraft: Brood War
Britney 25224
Rain 4319
GuemChi 1095
Horang2 910
Soma 378
Stork 365
Mini 251
Larva 219
actioN 209
ZerO 201
[ Show more ]
Light 191
EffOrt 177
Hyuk 172
Last 161
Pusan 154
Sharp 133
Zeus 91
Rush 79
hero 77
BeSt 63
Barracks 54
sorry 51
Hyun 47
JulyZerg 42
Mind 41
soO 30
Sacsri 26
yabsab 24
Movie 15
Shine 13
Mong 11
Noble 10
Terrorterran 4
Icarus 1
Dota 2
singsing345
XcaliburYe112
League of Legends
C9.Mang0352
JimRising 284
Counter-Strike
olofmeister5910
shoxiejesuss983
pashabiceps635
allub106
byalli26
Other Games
ceh9688
B2W.Neo314
crisheroes301
Livibee58
Mew2King51
Trikslyr27
QueenE23
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 1142
Other Games
gamesdonequick714
StarCraft: Brood War
UltimateBattle 83
lovetv 12
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH129
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota278
Upcoming Events
WardiTV 2025
1h 57m
Cure vs Creator
Solar vs TBD
herO vs Spirit
Scarlett vs Gerald
Rogue vs Shameless
MaNa vs ShoWTimE
Nice vs TBD
WardiTV 2025
23h 57m
ByuN vs TBD
Clem vs TBD
OSC
1d 2h
CranKy Ducklings
1d 22h
SC Evo League
2 days
Ladder Legends
2 days
BSL 21
2 days
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
2 days
Ladder Legends
3 days
BSL 21
3 days
StRyKeR vs TBD
Bonyth vs TBD
[ Show More ]
Replay Cast
3 days
Wardi Open
4 days
Monday Night Weeklies
4 days
WardiTV Invitational
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.