Another puzzle ...
#21
Posted 2007-November-21, 13:04
#22
Posted 2007-November-21, 13:48
A: All other hats have the same color
B: One of the other hats has a different color than the other 2
If the distribution of colors is 3-1, they succeed if they guess the other color in A. They also succeed if the guess the majority color in B. Only one of these strategies is needed; they could well pass in the other case.
If the distribution of colors is 2-2, they succeed if they guess the minority color in B. If one sees A he knows it cannot be 2-2.
If the distribution is 4-0, the succeed if the guess the same color in A. If somebody sees B, he knows it cannot be 4-0.
The last 2 strategies can be combined, thereby winning in all 2-2 cases and in both 4-0 cases. But they can also agree on one of the 3-1 strategies. No matter on what they decide, they have always a 50% probability to get it right.
If the 3-1 strategy and the 2-2 strategy could be combined in some way, they might achieve a success rate of 87.5%, but I doubt that that is possible given they have to guess simultaneously.
Karl
#23
Posted 2007-November-21, 17:28
Blofeld, on Nov 21 2007, 09:58 AM, said:
I understood the problem, just not the solution. I know the solution to the 4-person problem now but I haven't had a chance to really think about it. I haven't thaught about the n-person problem yet so please don't give away the solution to that Owen.
- hrothgar
#24
Posted 2007-November-30, 20:50
- hrothgar
#25
Posted 2007-December-01, 11:40
Do unto others as you would have others do unto you.
"Mediocrity knows nothing higher than itself, but talent instantly recognizes genius".
#26
Posted 2007-December-01, 12:12
Hannie, on Dec 1 2007, 03:50 AM, said:
I've seen this problem before, and I think I was told it hadn't been solved for general n. Though your observations are clearly true.
#27
Posted 2007-December-01, 13:26
I tell the guard in advance "I'm guessing whatever Max guesses", while Max isn't in the room.
Max comes out, and announces the color of my hat.
I have, simultaneously, guessed the same color.
I will always be right.
#28
Posted 2007-December-01, 14:07
#29
Posted 2007-December-01, 19:30
Challenge: What's the best you can do with three people, and three possible hat colours?
#30
Posted 2007-December-03, 06:57
Blofeld, on Dec 2 2007, 02:30 AM, said:
Let p ( win ) / p ( someone guesses wrong ) = R. Then
(i) R can be made arbitrarily large, as n goes to infinity. (Strategy: if you don't see anyone with a hat of a certain colour, then guess that colour. Otherwise don't guess. A bit boring to check that this works, but it "obviously" does.)
(ii) Given a strategy for n people with a certain value of R, there is an obvious strategy for s.n people which has the same ratio R, such that p ( no-one guesses ) goes to 0 as s goes to infinity.
Of course, the bound that you get is awful, but ...
Quote