Simultaneous Countably Infinitely Many Hats

Logic Level 3

Countably infinitely many mathematicians have been taken hostage. They are indexed by the positive integers (each mathematician knows their integer) and are standing in a line so that mathematician n n can see each mathematician m m for m > n m>n .

The mathematicians are each given a red or blue hat; they cannot see their own. Simultaneously , the mathematicians will each guess their own hat colors. All mathematicians who guess correctly may leave. The mathematicians are not allowed to communicate extra information other than their guess (e.g. by gesturing) on pain of death to all the participants - they must simply guess.

Beforehand, the mathematicians have agreed upon a strategy to minimize the number of mathematicians who might guess incorrectly. Ignoring problems like limited vision or finite memory capacity and assuming the axiom of choice holds , what is the greatest possible number of mathematicians that might guess incorrectly?

This problem is not original. It seems similar to the famous red/blue hat puzzle , but looks can be deceiving.
Infinitely many. 1 0 They can guarantee at most finitely are wrong, but can give no upper bound. 2

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Maggie Miller
Jul 16, 2015

First, we show that they can guarantee at most finitely many will be wrong. The mathematicians apply an equivalence relation to the set of all sequences of red and blue hats. They agree that two sequences are equivalent if they differ in at most finitely many places (I will not prove here that this is an equivalence relation, but it is very easy to check for yourself). By the axiom of choice, they may agree on a representative sequence from each equivalence class. When it is time to guess, the mathematicians look ahead of them and are able to tell in which equivalence class the actual sequence of hats belong. They then guess as if the actual sequence was the agreed upon representative - for example, if I am mathematician 100, and I know that the 100th hat in the representative sequence corresponding to the equivalence class containing the actual sequence is red, then I will guess red. Of course, by definition of the equivalence relation at most finitely mathematicians will be incorrect.

Now we must show that they cannot put an upper bound on the number of mathematicians who will be incorrect. Suppose otherwise, i.e. they can guarantee no more than n n mathematicians will be wrong (take n n to be sharp). Add a new mathematician (say, mathematician zero) to the back of the line behind mathematician one. This does not change the problem, so n n remains a sharp upper bound on the number of mathematicians who could guess correctly. However, the original mathematicians might as well not even know mathematician zero exists, as s/he can convey no new information - therefore, n n mathematicians not including mathematician zero might still guess incorrectly. Therefore, we must be guaranteed that mathematician zero will guess correctly. But of course, mathematician zero's knowledge does not change at all if their hat color changes, so the probability that they will guess correctly is 1/2. By contradiction, no upper bound can be given.

the addition of a new mathematician (0) to the sequence would mean, mathematician 0 should be the first to tell the color of his/her hat. he has, in any case, the probability of survival = 0.5 . so with the conditions given in the problem (countably infinite, ignoring extent of vision, finite memory,axiom of choice) this is just same as the common red/blue hat problem with the maximum number of mathematicians guessing wrong = 1. no?

Shubham Diwe - 5 years, 9 months ago

Log in to reply

No - these mathematicians all guess at the same time, so they cannot convey information to each other as in the normal problem. I do have another version of this posted in which they guess one at a time - the answer there is indeed 1.

Maggie Miller - 5 years, 9 months ago

Log in to reply

yeah i totally ignored the word 'simultaneously' . my mistake.....(Y)

Shubham Diwe - 5 years, 9 months ago

What is upper bound meaning?

Hafizh Ahsan Permana - 5 years, 11 months ago

Log in to reply

It means I can't tell you an integer and guarantee that no more mathematicians than that are incorrect. Like I can't guarantee that no more than 50 mathematicians will be wrong, or no more than 5,000 mathematicians will be wrong, or even that no more than 5,000,000 will be wrong. All I can tell you is that definitely the number of incorrect mathematicians will not be infinite!

Maggie Miller - 5 years, 11 months ago

I'm not quite convinced of your proof that there cannot be an upper bound. Each mathematician knows their integer; adding a mathematician "zero" would make all the integers shifted by one, so they might respond differently (they use the new index on the representative sequence).

Ivan Koswara - 5 years, 10 months ago

Log in to reply

But that's equivalent to relabeling the natural numbers. I referred to my mathematicians as 1,2,3,... while a computer scientist might have labeled them 0,1,2,....

Another way to think about it: The set of all sequences of red and blue hats is identical to the set of sequences minus the first element. By symmetry, shifting the mathematicians guesses one element forward is the same strategy - just redefine sequence.

Maggie Miller - 5 years, 10 months ago

Log in to reply

According to how I interpret the problem, a mathematician's number n n indicates the number of people behind him (that he can't see) is n 1 n-1 . According to how I interpret your solution, you say the color that a mathematician says depends on the sequence he can see and the value n n . Thus, it's reasonable to say that the color that a mathematician says depends on the sequence he can see and the number of people behind him. When we add mathematician zero, the number of people behind each mathematician changes, and thus the color said can change as well. I don't see why it must be the same.

Ivan Koswara - 5 years, 10 months ago

Log in to reply

@Ivan Koswara The new strategy is: the mathematicians relabel themselves 2,3,... then guess as if they are that element in the sequence. This is equivalent to the old strategy where we have relabeled the natural numbers 2,3,...

Maggie Miller - 5 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...