• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:25
CEST 16:25
KST 23:25
  • 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
Maestros of the Game: Week 1/Play-in Preview5[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris34Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Maestros of the Game: Week 1/Play-in Preview #1: Maru - Greatest Players of All Time Greatest Players of All Time: 2025 Update BoxeR's Wings Episode 2 - Fan Translation A Eulogy for the Six Pool
Tourneys
LiuLi Cup - August 2025 Tournaments $5,000 WardiTV Summer Championship 2025 Maestros of The Game—$20k event w/ live finals in Paris $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
Post ASL20 Ro24 discussion. Easiest luckies way to get out of Asl groups BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ No Rain in ASL20?
Tourneys
[ASL20] Ro24 Group F [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group E [ASL20] Ro24 Group D
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Path of Exile Mechabellum Nintendo Switch Thread Stormgate/Frost Giant Megathread
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
US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1037 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
SC Evo League
12:00
S2 Championship: Playoffs D1
ByuN vs CreatorLIVE!
MaNa vs Classic
SteadfastSC327
IndyStarCraft 190
3DClanTV 30
IntoTheiNu 10
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 327
IndyStarCraft 190
StarCraft: Brood War
Rain 3972
Bisu 2370
Horang2 1944
Flash 1931
Jaedong 1660
EffOrt 719
Mini 541
sSak 488
BeSt 410
ZerO 333
[ Show more ]
firebathero 309
actioN 305
Zeus 189
TY 150
Killer 118
Rush 114
Mong 73
Last 69
Backho 53
Aegong 49
Movie 45
ToSsGirL 33
zelot 31
Shuttle 30
sorry 29
soO 25
Terrorterran 24
yabsab 19
JulyZerg 17
Sacsri 15
Noble 13
Hm[arnc] 12
HiyA 11
Rock 10
SilentControl 8
NaDa 8
ivOry 6
Bale 4
Soulkey 0
Dota 2
Gorgc5095
qojqva2291
Dendi1439
420jenkins335
XcaliburYe317
KheZu126
League of Legends
Reynor19
Heroes of the Storm
Liquid`Hasu315
Other Games
singsing2180
B2W.Neo1727
Lowko345
Sick304
Hui .281
Happy131
Fuzer 118
KnowMe94
ZerO(Twitch)19
Organizations
Other Games
Algost 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH277
• iHatsuTV 1
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt550
Upcoming Events
Maestros of the Game
1h 35m
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
3h 35m
SC Evo League
21h 35m
Maestros of the Game
1d 1h
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
1d 4h
Team Bonyth vs Team Sziky
BSL Team Wars
1d 4h
Team Dewalt vs Team Sziky
Afreeca Starleague
1d 19h
Soulkey vs BeSt
Snow vs Light
Monday Night Weeklies
2 days
Replay Cast
2 days
Sparkling Tuna Cup
2 days
[ Show More ]
PiGosaur Monday
3 days
LiuLi Cup
3 days
Replay Cast
4 days
The PondCast
4 days
RSL Revival
4 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
5 days
Reynor vs Astrea
Classic vs sOs
BSL Team Wars
6 days
Team Bonyth vs Team Dewalt
CranKy Ducklings
6 days
RSL Revival
6 days
GuMiho vs Cham
ByuN vs TriGGeR
Cosmonarchy
6 days
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
Liquipedia Results

Completed

Acropolis #4 - TS1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 2
Maestros of the Game
SEL Season 2 Championship
Sisters' Call Cup
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
2025 Chongqing Offline CUP
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
EC S1
BLAST Rivals Fall 2025
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
FISSURE Playground #2
BLAST Open Fall 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.