• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:42
CET 16:42
KST 00:42
  • 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
Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)38
StarCraft 2
General
StarCraft 2 not at the Esports World Cup 2026 Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win Oliveira Would Have Returned If EWC Continued herO wins SC2 All-Star Invitational PhD study /w SC2 - help with a survey!
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 510 Safety Violation Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained
Brood War
General
Potential ASL qualifier breakthroughs? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Bleak Future After Failed ProGaming Career [ASL21] Potential Map Candidates
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Azhi's Colosseum - Season 2 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Simple Questions, Simple Answers Zealot bombing is no longer popular? Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Battle Aces/David Kim RTS Megathread Path of Exile Nintendo Switch Thread Mobile Legends: Bang Bang Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
BIG STICK PENIS ENLARGEMENT CREAM+27 74 676 7021
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread YouTube Thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Esports Advertising Shap…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1555 users

Math Puzzle - 100 Guards - Page 2

Blogs > Slithe
Post a Reply
Prev 1 2 All
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.
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
Next event in 20h 19m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech8
StarCraft: Brood War
Rain 8073
Flash 3128
Jaedong 1074
Soulkey 1031
Larva 896
Mini 607
ZerO 557
Soma 509
BeSt 451
EffOrt 405
[ Show more ]
Mong 190
Rush 188
Snow 120
Hyun 88
ggaemo 70
Mind 47
sorry 35
Shuttle 30
910 23
Movie 22
Terrorterran 22
Rock 20
scan(afreeca) 18
Shine 10
Dota 2
singsing2613
Dendi586
syndereN356
Fuzer 163
XcaliburYe141
Counter-Strike
fl0m3379
olofmeister2032
Heroes of the Storm
Khaldor171
Other Games
B2W.Neo1238
hiko769
DeMusliM417
crisheroes258
QueenE181
Mew2King154
ArmadaUGS39
ZerO(Twitch)26
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 11
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• poizon28 86
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 5381
• WagamamaTV380
League of Legends
• Jankos3418
• TFBlade1446
Upcoming Events
HomeStory Cup
20h 19m
Korean StarCraft League
1d 11h
HomeStory Cup
1d 20h
Replay Cast
2 days
HomeStory Cup
2 days
Replay Cast
3 days
Replay Cast
4 days
Wardi Open
4 days
WardiTV Invitational
5 days
The PondCast
6 days
[ Show More ]
WardiTV Invitational
6 days
Liquipedia Results

Completed

Proleague 2026-01-27
OSC Championship Season 13
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Rongyi Cup S3
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025

Upcoming

Escore Tournament S1: W6
Escore Tournament S1: W7
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
LiuLi Cup: 2025 Grand Finals
HSC XXVIII
Nations Cup 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
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 © 2026 TLnet. All Rights Reserved.