2014 people and 2015 hats (Analysis + Hints)

Day 2,441, 18:05 Published in Saudi Arabia Saudi Arabia by I-G-D

Hey, everyone.

You might remember this logical problem about 2014 people and 2015 hats. If you don’t, then you can read it and try to solve it before reading this…

Okay, so since nobody actually solved it, I’ve decided to write out the analysis of the problem, and the final result, without writing the strategy itself. I will only give you a few tips, and wait for someone to come up with the strategy (which is the most important part of the solution). If nobody succeeds, I will write it myself, but that won’t happen right away, maybe in a few days.

First of all, we know that person #1 sees everyone’s hat number, except his own. He sees 2013 numbers in front of him and he knows that the number on his hat is one of the remaining two. The most important thing here is the fact that he can never be sure what the number on his hat is. He can never know. He might guess it correctly out of pure luck (his chances are 50-50), but he can never be 100% sure about his guess. That means that the optimal strategy can’t guarantee all 2014 points.

The next possible number of points is 2013… It might sound impossible, but a strategy that guarantees 2013 points does exist… If everybody except person #1 somehow figures out their hat number and guesses it correctly, the team can earn at least 2013 points, no matter how the hats get distributed.

But how do they do that? I’ll give you a hint: it’s possible if person #1 says a fixed number out of the other two left, such that when the others hear it, they are able to figure out the hat combination. But how will they determinate the “code” for each combination of hats, so that they can always figure out the combination after they hear the code? That’s on you to figure out…

Good luck!

I-G-D