Ask HN: What's your favorite math/logic puzzle?

https://news.ycombinator.com/item?id=32289261
by tomachello • 4 years ago
5 7 4 years ago

I personally am a fan of "hat" problems, such as the following: there are 100 inmates in a prison. Tomorrow the warden will assign each a number, from 1 to 100, that will be written on their hat. The numbers won't necessarily be different, and each prisoner will be able to see the numbers of all the other prisoners, but not their own number. The warden will free all the prisoners if one of them will correctly guess their own number. Of course, tomorrow they will not be allowed to communicate in any way, and each prisoner will be given only one chance to guess. How can they strategize today so as to be free tomorrow?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com