• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:34
CEST 23:34
KST 06:34
  • 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
Team TLMC #5: Winners Announced!0[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists4Team TLMC #5: Vote to Decide Ladder Maps!0
Community News
5.0.15 Patch Balance Hotfix (2025-10-8)12Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition245.0.15 Balance Patch Notes (Live version)118$2,500 WardiTV TL Map Contest Tournament 152
StarCraft 2
General
5.0.15 Patch Balance Hotfix (2025-10-8) 5.0.15 Balance Patch Notes (Live version) The New Patch Killed Mech! Weekly Cups (Sept 29-Oct 5): MaxPax triples up Team TLMC #5: Winners Announced!
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) $2,500 WardiTV TL Map Contest Tournament 15 RSL Offline Finals Dates + Ticket Sales! Tenacious Turtle Tussle Stellar Fest
Strategy
Custom Maps
External Content
Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive
Brood War
General
ASL20 General Discussion BW General Discussion Question regarding recent ASL Bisu vs Larva game [BSL21] - How to Qualify to Each League ? RepMastered™: replay sharing and analyzer site
Tourneys
[ASL20] Ro8 Day 4 Small VOD Thread 2.0 [Megathread] Daily Proleagues [ASL20] Ro8 Day 3
Strategy
Current Meta TvZ Theorycraft - Improving on State of the Art Proposed Glossary of Strategic Uncertainty 9 hatch vs 10 hatch vs 12 hatch
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread The Games Industry And ATVI
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion 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
Recent Gifted Posts The Automated Ban List BarCraft in Tokyo Japan for ASL Season5 Final
Blogs
What your "aura" says about…
Peanutsc
Mental Health In Esports: Wo…
TrAiDoS
Try to reverse getting fired …
Garnet
[ASL20] Players bad at pi…
pullarius1
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2342 users

[Math Puzzle] Day4 - Page 2

Blogs > evanthebouncy!
Post a Reply
Prev 1 2 All
Nytefish
Profile Blog Joined December 2007
United Kingdom4282 Posts
April 30 2009 13:01 GMT
#21
On April 30 2009 20:35 freelander wrote:
Show nested quote +
On April 30 2009 20:23 raiame wrote:
Why am I still up...
+ Show Spoiler +
n colors, assign each color a different number from 1 to n. also, assign each person a number from 1 to n. have each person add up the values of the colors of each hat he sees, and we'll call this number s(k), where k is the number of the prisoner. Have prisoner k say the color corresponding to k - s(k) (mod n). This works because for each person, s(k) plus the color of their own hat is the same total sum, so subtracting s(k) from this total sum gives your own hat. You make sure that each possible total sum (mod n) is accounted for by assigning each prisoner a different number to subtract from.


but they can't communicate at all


I think when he said "say" he meant "write".
No I'm never serious.
raiame
Profile Joined December 2007
United States421 Posts
April 30 2009 14:46 GMT
#22
On April 30 2009 21:13 stenole wrote:
Show nested quote +
On April 30 2009 20:23 raiame wrote:
Why am I still up...
+ Show Spoiler +
n colors, assign each color a different number from 1 to n. also, assign each person a number from 1 to n. have each person add up the values of the colors of each hat he sees, and we'll call this number s(k), where k is the number of the prisoner. Have prisoner k say the color corresponding to k - s(k) (mod n). This works because for each person, s(k) plus the color of their own hat is the same total sum, so subtracting s(k) from this total sum gives your own hat. You make sure that each possible total sum (mod n) is accounted for by assigning each prisoner a different number to subtract from.


I bet the warden didn't see that one coming. Sounds like you've been in this situation before prisoner raiame.

I have! Except we didn't have the wonderful hats last time.
Also, the last time I was the one who correctly guessed my own. I hope to do so again.
Bebop Berserker
Profile Joined April 2009
United States246 Posts
Last Edited: 2009-04-30 17:13:51
April 30 2009 17:11 GMT
#23
+ Show Spoiler +

On April 30 2009 20:23 raiame wrote:
Why am I still up...
+ Show Spoiler +
n colors, assign each color a different number from 1 to n. also, assign each person a number from 1 to n. have each person add up the values of the colors of each hat he sees, and we'll call this number s(k), where k is the number of the prisoner. Have prisoner k say the color corresponding to k - s(k) (mod n). This works because for each person, s(k) plus the color of their own hat is the same total sum, so subtracting s(k) from this total sum gives your own hat. You make sure that each possible total sum (mod n) is accounted for by assigning each prisoner a different number to subtract from.



+ Show Spoiler +

Maybe I don't understand but that's isn't right at all. Example: there are three hats red blue and white(1 2 and 3 respectively.) There are three prisoners(1 2 and 3.) 1 is wearing white 2 is wearing white and 3 is wearing blue. Now your theory states I should take 3 -5 % n. so, prisoner 1 is blue prisoner 2 is red and prisoner 3 is white. Therefore they all die.




+ Show Spoiler +

Rhaegar99 is who i agree with. Everyone chooses a different color beforehand and everyone memorizes everyone's color. Then they pick an interval(10 or 15 seconds is more realistic) Then we warden says go they wait 10 seconds everyone who doesn't see their color writes down their color. Everyone who does see their color waits 10x seconds were x is the the number of hats their color. Now out of the people who are left they have to watch to make sure everyone remaining doesn't write down at the same time(i.e. the warden doesn't put one of every color hat on the persons head who doesn't have that color.(there are more examples.) If he sees everyone writing down at the same time he can see tell what color hat he has on and he writes that down.(for example there are 4 prisoners and two have blue and two have red. the blue and red would wait thirty seconds and then write down both their colors. since the other two wrote down their colrs at ten seconds they know their are no other colors. they then know there are 2 red and 2 blue. so they write down the color they see only one of.)
Whatever happens, happens.
Nytefish
Profile Blog Joined December 2007
United Kingdom4282 Posts
Last Edited: 2009-04-30 17:45:47
April 30 2009 17:42 GMT
#24
Doesn't waiting to see when people start writing count as communicating though?

And to above poster, + Show Spoiler +
It's n - 5 (mod 3) so I think person 2 writes the correct colour.
No I'm never serious.
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
OSC
16:00
Mid Season Playoffs
ArT vs sebesdesLIVE!
SteadfastSC193
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft321
SteadfastSC 222
ForJumy 25
StarCraft: Brood War
Britney 21497
hero 146
yabsab 14
Hm[arnc] 10
NaDa 7
Counter-Strike
Stewie2K727
Foxcn281
Super Smash Bros
Liquid`Ken83
Heroes of the Storm
Liquid`Hasu578
Other Games
Grubby2813
summit1g2640
FrodaN2021
Sick182
C9.Mang0102
ZombieGrub66
UpATreeSC48
JuggernautJason8
Organizations
Other Games
BasetradeTV27
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• musti20045 55
• Hupsaiya 43
• davetesta36
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Doublelift1490
Other Games
• imaqtpie1583
• WagamamaTV395
• Shiphtur201
Upcoming Events
Tenacious Turtle Tussle
1h 27m
The PondCast
12h 27m
Map Test Tournament
13h 27m
OSC
18h 27m
Map Test Tournament
1d 13h
OSC
1d 15h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
Map Test Tournament
2 days
OSC
2 days
[ Show More ]
[BSL 2025] Weekly
2 days
Safe House 2
2 days
Sparkling Tuna Cup
3 days
Map Test Tournament
3 days
OSC
3 days
IPSL
3 days
Bonyth vs Art_Of_Turtle
Razz vs rasowy
Liquipedia Results

Completed

Acropolis #4 - TS2
Maestros of the Game
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
WardiTV TLMC #15
EC S1
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

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 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.