• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:17
CEST 20:17
KST 03:17
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL55Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event19Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap The GOAT ranking of GOAT rankings
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL Replays question BW General Discussion Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 563 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
FEL
16:00
Cracov 2025: Qualifier #1
RotterdaM825
IndyStarCraft 241
CranKy Ducklings188
Liquipedia
PSISTORM Gaming Misc
15:55
FSL team league: ASP vs PTB
Freeedom8
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 825
IndyStarCraft 241
ProTech71
JuggernautJason55
StarCraft: Brood War
Calm 5125
Mini 641
firebathero 282
actioN 200
BRAT_OK 68
TY 67
Mind 61
Rock 40
Dota 2
monkeys_forever144
League of Legends
Dendi1497
Grubby300
Counter-Strike
fl0m1509
Super Smash Bros
Westballz51
Heroes of the Storm
Khaldor407
Other Games
Gorgc3562
FrodaN1717
Mlord588
KnowMe130
Hui .124
Trikslyr49
Organizations
Other Games
EGCTV966
StarCraft 2
angryscii 8
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• printf 48
• tFFMrPink 18
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• intothetv
• IndyKCrew
StarCraft: Brood War
• Azhi_Dahaki19
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3008
• WagamamaTV686
• masondota2408
• Ler99
League of Legends
• Nemesis6117
• Jankos1370
Other Games
• imaqtpie862
• Shiphtur537
Upcoming Events
RSL Revival
15h 43m
Clem vs Classic
SHIN vs Cure
FEL
17h 43m
WardiTV European League
17h 43m
BSL: ProLeague
23h 43m
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
FISSURE Playground #1
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.