• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:22
CET 20:22
KST 04:22
  • 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
TL.net Map Contest #21: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!40$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
StarCraft, SC2, HotS, WC3, Returning to Blizzcon! Mech is the composition that needs teleportation t TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win RotterdaM "Serral is the GOAT, and it's not close"
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BW General Discussion [ASL20] Ask the mapmakers — Drop your questions [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[ASL20] Grand Finals [BSL21] RO32 Group A - Saturday 21:00 CET [Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 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
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1707 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
LAN Event
18:00
Stellar Fest: Day 2
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
ComeBackTV 834
UrsaTVCanada564
IndyStarCraft 181
EnkiAlexander 47
Liquipedia
IPSL
18:00
Ro24 Group B
dxtr13 vs OldBoy
Napoleon vs Doodle
Liquipedia
PSISTORM Gaming Misc
16:55
FSL teamleague IC vs RR week17
Freeedom28
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ROOTCatZ 272
IndyStarCraft 181
BRAT_OK 78
MindelVK 35
Railgan 13
StarCraft: Brood War
Sea 2410
EffOrt 323
Hyun 88
Backho 54
Rock 43
HiyA 16
Dota 2
qojqva3508
Dendi1271
League of Legends
KnowMe125
Counter-Strike
kRYSTAL_37
Heroes of the Storm
Khaldor451
Liquid`Hasu176
Other Games
Grubby963
Beastyqt785
Fuzer 223
ArmadaUGS135
goatrope56
Trikslyr34
mouzStarbuck8
Organizations
Other Games
gamesdonequick638
Counter-Strike
PGL159
Other Games
BasetradeTV59
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• printf 66
• davetesta13
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• Airneanach49
• HerbMon 25
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2646
• Ler71
• lizZardDota255
League of Legends
• Nemesis3506
• imaqtpie1625
Other Games
• Shiphtur272
• tFFMrPink 14
Upcoming Events
BSL 21
38m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
3h 38m
Sparkling Tuna Cup
14h 38m
WardiTV Korean Royale
16h 38m
LAN Event
19h 38m
IPSL
22h 38m
JDConan vs WIZARD
WolFix vs Cross
BSL 21
1d
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
1d 13h
Wardi Open
1d 16h
WardiTV Korean Royale
2 days
[ Show More ]
Replay Cast
3 days
Kung Fu Cup
3 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
4 days
RSL Revival
4 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
5 days
CranKy Ducklings
6 days
RSL Revival
6 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals 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.