Puzzling Asked on September 1, 2021
Here is a variation of the hat-guessing logicians problem.
100 logicians are given hats. They know that:
As usual, each logician can see everyone else’s hat but not their own. The logicians may discuss strategy before they are given hats, but may not talk to each other afterwards. Once every five minutes after they’ve been given hats, any logicians who want have a chance to state what they believe their hats to be like (black or white, striped or not, with or without a pompom.) If all the logicians eventually figure out what their hats are like, they win. But if any of them are ever wrong about their hats, they all lose. What strategy should they use to all figure out their hat type in the shortest amount of time?
I do have a solution to this, but I don’t know if it’s the optimal one.
Also, bonus if anyone can come up with a strategy that works even without the logicians knowing 4).
Well, the first step will have to be
with an extra modification to encode information in the timing of the guess.
To include information in the guess timing, the logician calculates
Then, whenever a logician knows their own hat colour, they
which is how the information gets conveyed.
Once a guess with this information has been taken, every logician can instantly deduce their own hat type (there's only one hat type they can have that makes all the parities match), so we only need to ensure the first guess is correct:
This is slow, because the first guess will only happen after
but I couldn't come up with a more efficient approach off the top of my head. (Hehe.)
EDIT: Here's what I believe to be the quickest possible guaranteed-win strategy:
How to read it:
Timing:
Situation:
Who should guess:
(Decide beforehand, who is "John", and arrange the logicians to a circle before the game starts.)
On any tick, the dedicated guessers know which guesser they are. (This is the important bit that allows a solution to exist in the first place.)
From the guesser information, and the tick number, everyone can work out which situation they are in, and from the situation, everyone can deduce their own hat type.
Since this method enumerates every possible case, it will always work. It is also optimal in the sense that apart from correct guesses, no other information can be passed, and this scheme uses all the possible guess patterns to mean something different. (I'm assuming that a logician isn't allowed to "cheat the system" by guessing correctly more than once, which could shave off another couple of rounds.)
With this method, the logicians will win no later than on round N+11, where N is the total number of the special Black-Stripes-Pompom hats.
Correct answer by Bass on September 1, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP