• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:57
CET 17:57
KST 01:57
  • 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 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14! StarCraft Evolution League (SC Evo Biweekly) RSL Offline FInals Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
BW General Discussion Which season is the best in ASL? Data analysis on 70 million replays BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET [BSL21] RO16 Group B - Sunday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread ZeroSpace Megathread Nintendo Switch Thread The Perfect Game Path of Exile
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 TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1356 users

Really hard puzzle 2 - Page 2

Blogs > gondolin
Post a Reply
Prev 1 2 All
gondolin
Profile Blog Joined September 2007
France332 Posts
May 12 2009 17:18 GMT
#21
On May 13 2009 02:06 travis wrote:
this shit is actually answerable?


Yup it is. But it's completely counter-intuitive.


hell, shouldn't this be unanswerable just given there are infinite numbers?


If you had a finite number of boxes, there is no way you could win. But you have an infinite number of boxes.



or can number values not exceed total boxes?


No they can be anything.

If you prefer, i can restate the problem like this (i should have done so at the beginning, because i was not clear that the probability of success does not depend on how the host chose the numbers):

construct n strategies, such that all of them win, except one.

For instance, suppose that you know that in box 42 there is a 0 or a 1. Then you have 2 strategies: i announce a 0 in box 42, and i announce a 1 in box 42. If you choose the strategy you use at random, you have 1/2 chance of winning (it does not depend on how the host chose the number he put in box 42). In practice your strategies will be more complicated, like "i open this infinite number of boxes, then from what i see i open this other infinite number, then from what i see, i chose a closed box and announce this number.
gondolin
Profile Blog Joined September 2007
France332 Posts
May 12 2009 17:36 GMT
#22
On May 13 2009 01:02 evanthebouncy! wrote:
I suppose we make functions again, let's call them f_1, f_2, f_3...
f_1(1) = number in box 1
f_1(2) = number in box 2
f_1(3) = number in box 3
and so on.


Yes, that's the idea

I suppose that f_i is the sequence associated to column i? So that if you split your boxes in n column, you have n sequences?


The total number of functions I suppose, are N^N.


Yes, the f_i can be anything in N^N.


I guess we can ask these questions, if u guys want to help me answer them:
Take all these functions, put them into a set, call it F.
is F complete?
if we think of each element in F as a vector of size NxN, can we find a "basis" of some sort for F?
is there a "standard" basis for F?
how do we "project" in F?


- Here i am not following anymore. What is F?
- You just need to use set theory for this puzzle, you don't need to use the structure of vector spaces, or convergent sequences.
Anyway N^N is not a vector space. Now R^N is, but a basis of this space would be uncountable.
- What you can do is define equivalence relations ~ on N^N, then use CHOICE to get a section of N^N -> N^N/~, like was needed for problem 1. (that is to every equivalence class associate a representative).
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
May 12 2009 17:39 GMT
#23
well then given that u have an infinite number of boxes, why does it matter what number u answer for them

hell, just answer the same number for every box


maybe im still not understanding this though


why does it matter what numbers you saw in previous boxes?
gondolin
Profile Blog Joined September 2007
France332 Posts
May 12 2009 17:55 GMT
#24
On May 13 2009 02:39 travis wrote:
well then given that u have an infinite number of boxes, why does it matter what number u answer for them

hell, just answer the same number for every box


maybe im still not understanding this though


why does it matter what numbers you saw in previous boxes?


No no, you only give *one* answer. But before you give your answer, you can see as many boxes as you wish. Then you choose a closed box, and give an answer.
Muirhead
Profile Blog Joined October 2007
United States556 Posts
May 12 2009 17:59 GMT
#25
This is very interesting. Please don't post anymore clues except in spoilers gondolin. Thanks!
starleague.mit.edu
drift0ut
Profile Blog Joined June 2004
United Kingdom691 Posts
Last Edited: 2009-05-12 18:49:40
May 12 2009 18:48 GMT
#26
so here's another easier puzzle which seams related, i don't know how to solve gondolin's one:

3 of you are at a dinner party and the host has black and white hats again (i love 'em). He gives them to the three guests at random so that you can't see which colour you have on.

Now you have the option to guess the colour you have on, if you or your mates are right, you win, if any of you guess wrong, you lose. If you say nothing, the hats are taken off and new ones are put on.

you can't ever be sure of wining but here's a strat that gets you about 3/4

how to win
+ Show Spoiler +

if you see black black, you guess white, if you see white white, guess black. if you see a mix, pass.

the odds of 3 the same colour is 1/4, hence if you see two the same there's a 3/4 chance you're a different colour.

apparently there's a strat that will give you better than 50% winning even if the host knows what you're doing and tries to counter it. I can't remember the exact statement, maybe he has to not know you know he knows... or something, if not it's sounds really promising.

idea for this puzzle using the same logic
+ Show Spoiler +

assume a random distribution to the numbers and guess your number to balance it? seems rubbish
odave
Profile Joined December 2008
United Kingdom4 Posts
Last Edited: 2009-05-12 21:32:07
May 12 2009 21:18 GMT
#27
On May 13 2009 03:48 drift0ut wrote:
you can't ever be sure of wining but here's a strat that gets you about 3/4

how to win
+ Show Spoiler +

if you see black black, you guess white, if you see white white, guess black. if you see a mix, pass.

the odds of 3 the same colour is 1/4, hence if you see two the same there's a 3/4 chance you're a different colour.



+ Show Spoiler +

I may be misunderstanding the problem, but that doesn't seem right. Even if you see two white hats, the probability of your hat being black is still 1/2 (I'm assuming each hat is chosen by coinflip)... http://en.wikipedia.org/wiki/Conditional_probability


--

I am unconvinced that a (correct) solution to this thread's problem exists (I was unconvinced by the solution to the original problem by drift0ut for a similar reason).

If the host picks the numbers in the boxes by rolling a die, the number in any one box is independent of the numbers in any of the other boxes. So the laws of probability tell us that you have 1/6 probability of getting the answer correct (assuming you pick a number in {1,2,3,4,5,6}) no matter how much prior information you have (from opening other boxes). I don't see how infinities change any of this? An infinite amount of useless information is still useless?
Muirhead
Profile Blog Joined October 2007
United States556 Posts
May 13 2009 00:03 GMT
#28
Haha... I've been talking to a lot of my friends and half of MIT is stuck on this problem now :/
starleague.mit.edu
qrs
Profile Blog Joined December 2007
United States3637 Posts
May 14 2009 01:43 GMT
#29
well if no one is going to give an answer, why not post the solution, gondolin? A lot of us had trouble believing that one could even exist.
'As per the American Heart Association, the beat of the Bee Gees song "Stayin' Alive" provides an ideal rhythm in terms of beats per minute to use for hands-only CPR. One can also hum Queen's "Another One Bites The Dust".' —Wikipedia
Muirhead
Profile Blog Joined October 2007
United States556 Posts
Last Edited: 2009-05-14 05:46:58
May 14 2009 05:41 GMT
#30
Here's a writeup for the case n=2. The general case is quite similar but much more annoying to writeup. Solved by a computer science grad student on my hall.
+ Show Spoiler +

Call two infinite integer sequences equivalent if they differ in finitely many places. We use choice to select a special element from each equivalence class.

Divide the boxes into two infinite columns of boxes, column 1 and column 2. For each finite subset of boxes in column 1, associate a unique box in column 2. We describe two strategies.

Strategy 1: Open all the boxes in column 1. Mark all boxes in column 1 which differ from the special element of column 1's equivalence class. Set aside the box in column 2 associated with the finite collection of marked boxes. Open the rest of the boxes in column 2, and guess that the unopened box has the same number as the special element of the equivalence class of column 2 does in that position.

Strategy 2: Open all boxes in column 2. Mark all boxes which differ from the equivalence class of column 2. For each marked box in column 2, mark the finite set of boxes in column 1 which correspond to that box. Set aside an unmarked box in column 1. Open the rest of the boxes in column 1, and guess that the unopened box has the same number as the special element of the equivalence class of column 1 does in that position.

Flip a coin to select your strategy. If one fails, the other must succeed.
starleague.mit.edu
Monoxide
Profile Blog Joined January 2007
Canada1190 Posts
May 14 2009 06:02 GMT
#31
On May 14 2009 14:41 Muirhead wrote:
Here's a writeup for the case n=2. The general case is quite similar but much more annoying to writeup. Solved by a computer science grad student on my hall.
+ Show Spoiler +

Call two infinite integer sequences equivalent if they differ in finitely many places. We use choice to select a special element from each equivalence class.

Divide the boxes into two infinite columns of boxes, column 1 and column 2. For each finite subset of boxes in column 1, associate a unique box in column 2. We describe two strategies.

Strategy 1: Open all the boxes in column 1. Mark all boxes in column 1 which differ from the special element of column 1's equivalence class. Set aside the box in column 2 associated with the finite collection of marked boxes. Open the rest of the boxes in column 2, and guess that the unopened box has the same number as the special element of the equivalence class of column 2 does in that position.

Strategy 2: Open all boxes in column 2. Mark all boxes which differ from the equivalence class of column 2. For each marked box in column 2, mark the finite set of boxes in column 1 which correspond to that box. Set aside an unmarked box in column 1. Open the rest of the boxes in column 1, and guess that the unopened box has the same number as the special element of the equivalence class of column 1 does in that position.

Flip a coin to select your strategy. If one fails, the other must succeed.



+ Show Spoiler +
wow.. thats only for n=2.... that solution is quite intense.. I had to read it like 5 times.
gondolin
Profile Blog Joined September 2007
France332 Posts
May 14 2009 16:09 GMT
#32
Congrats Muirhead! (by the way since your in MIT, do you know someone called Denis Auroux? I think he is a teaching assistant there, and he comes from the same school as me... I have heard he was quite popular there)

There is a solution a bit simpler:

+ Show Spoiler +

So you choose a choice function s on the sequences modulo cofinite equivalence like you did (the same function as for the hats problem).
You split the boxes into n sequences u1, u2, ..., un.

Now s(u1) is a sequence that is equal to u1 on a cofinite set. This mean there exist A1 such that s(u1)_n = u1_n if n >= A1. Define in the same way the numbers A2, ..., An.

Now you open all the boxes for u1, u2, ..., u(n-1). This allow you to find the numbers A1, ..., A(n-1). You take A=Max(A1, ..., A(n-1)), and you open all the boxes in the sequence un except (un)_A. Now you give s(un)_A as your answer, you win if An<=Max(A1,...,An-1).

So you have n strategies (depending on the column you don't open at the beginning), and only one may fail.

Muirhead
Profile Blog Joined October 2007
United States556 Posts
Last Edited: 2009-05-14 18:29:48
May 14 2009 18:29 GMT
#33
Nice solution!

Yes he is quite popular...

starleague.mit.edu
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
OSC
16:00
OSC Elite Rising Star #17
Demi vs Mixu
Nicoract vs TBD
Babymarine vs MindelVK
ForJumy vs TBD
Shameless vs Percival
SteadfastSC66
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko449
mouzHeroMarine 282
ProTech116
SteadfastSC 66
Codebar 22
MindelVK 12
StarCraft: Brood War
Britney 23038
Calm 2226
Jaedong 1232
Shuttle 729
GuemChi 652
EffOrt 587
Soulkey 239
Rush 190
firebathero 182
BeSt 168
[ Show more ]
Larva 131
Snow 126
Sharp 106
PianO 73
Dewaltoss 66
Hyun 59
Shinee 42
yabsab 33
Mong 26
Aegong 19
Sacsri 18
soO 17
Terrorterran 13
scan(afreeca) 10
HiyA 10
SilentControl 6
JulyZerg 3
NaDa 2
Dota 2
Gorgc7862
Dendi1001
syndereN493
420jenkins271
XcaliburYe194
Counter-Strike
fl0m4259
zeus504
chrisJcsgo9
Heroes of the Storm
Khaldor149
Other Games
Grubby2443
hiko838
Mlord504
DeMusliM295
ArmadaUGS105
Mew2King82
Livibee75
QueenE58
Trikslyr45
Organizations
StarCraft 2
WardiTV902
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• poizon28 19
• Reevou 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2590
• WagamamaTV520
Upcoming Events
Replay Cast
7h 3m
Korean StarCraft League
1d 10h
CranKy Ducklings
1d 17h
WardiTV 2025
1d 19h
SC Evo League
1d 19h
BSL 21
2 days
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
2 days
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
2 days
WardiTV 2025
2 days
OSC
2 days
[ Show More ]
BSL 21
3 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
3 days
Wardi Open
3 days
StarCraft2.fi
3 days
Monday Night Weeklies
4 days
Replay Cast
4 days
WardiTV 2025
4 days
StarCraft2.fi
4 days
PiGosaur Monday
5 days
StarCraft2.fi
5 days
Tenacious Turtle Tussle
6 days
The PondCast
6 days
WardiTV 2025
6 days
StarCraft2.fi
6 days
Liquipedia Results

Completed

Proleague 2025-11-30
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
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
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.