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 can see each mathematician for .
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 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.
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 mathematicians will be wrong (take 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 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 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.