Logic Puzzles vs. Hat Problem II

Feb 05, 2010 18:19

This is closer to the unsolved hat problem I have previously discussed than the solved hat problem I discussed. It made the rounds on a "Math Enthusiasts" mailing list I'm on today ( Read more... )

hat puzzle, logic, puzzles, hat, logic puzzles

Leave a comment

Comments 10

mikasaur2000 February 6 2010, 05:31:29 UTC
I'm assuming the participants know what the possible colors are...?

Reply

mikasaur2000 February 6 2010, 05:46:07 UTC
Oh. Might help to read the whole thing.

Reply


ext_227579 March 11 2010, 19:49:14 UTC
Suppose the challenger chooses the hat colors randomly and independently.
Because they're independent, the information a participant gets on the other hats' colors has no bearing on their own hat's. Because there's no communication, they have no other information on their hat's color.
Because its color is random, any choice they make is incorrect with P=(n-1)/n. So by using this randomness strategy, the challenger ensures there is a ((n-1)/n)^n > 0 probability that the group fails -- by being random the challenger has washed away all effects of the group's strategy.

What am I missing?

Reply

big_bad_al March 11 2010, 20:24:00 UTC
Your train of thought is correct, but the solution does not involve random guessing.

Reply

ext_227579 March 11 2010, 21:37:18 UTC
My argument didn't posit random guessing. :-) It applies to an arbitrary strategy by the participants.

Reply

big_bad_al March 11 2010, 21:52:32 UTC
Any given person will only guess correctly 1/n of the time. However, there is a way to evenly distribute correct guesses and to ensure that at least one person always guesses correctly. Quick corollary: since we need 1 person to always guess correctly and on average only 1/n guesses can be correct, the solution must guarantee 1 correct guess and n-1 incorrect guesses for any hat combination.

As a quick example, here's the solution for n=2 people: person A guesses he's wearing the same color hat as person B, but person B guesses that she's wearing a different color hat than person A. Exactly one of them will be right every time. Now, extrapolate to n people. :-)

Reply


ext_227579 March 11 2010, 22:20:30 UTC
(rot13 for spoiler protection. Is there a way to do on-click on on-highlight spoiler protection in LJ comments?)

Rapbqr gur pbybef nf gur ahzoref 0, ..., a-1. Cnegvpvcnag v pubbfrf v zvahf gur fhz bs nyy gur ung ahzoref gurl frr zbq a. Yrg gur fhz bs nyy gur ung ahzoref zbq a or k va [0, a-1]. Cnegvpvcnag k pubbfrf gurve bja ung ahzore.

Reply

big_bad_al March 11 2010, 22:22:23 UTC
Bingo.

Reply

ext_227579 March 11 2010, 22:35:19 UTC
Very nice puzzle. The dependence used is quite subtle, but makes all the difference. Could be useful in probability class about how careful you have to be when making independence arguments! :-)

Reply


Leave a comment

Up