Skip to main content

Questions tagged [hat-guessing]

Cooperative games where a team of players must try to guess the color of their hat, but can only see their teammates' hats.

24 votes
5 answers
8k views

N logicians wearing hats of N colors

N logicians are wearing hats which can be of N different colors (each hat has one color; there can be multiple hats with the same color). Each logician can see the colors of all hats except his own. ...
Gilles 'SO- stop being evil''s user avatar
45 votes
6 answers
34k views

Hats and Aliens

Here's a neat little puzzle taken from a Google interview question: 10 humans are abducted by aliens; each represents 10% of the entire human population. The aliens give each abductee either a purple ...
arshajii's user avatar
  • 2,198
11 votes
1 answer
2k views

Of men and hats

There's an obvious generalization of this problem: There are a rather large number of prisoners, each of them seeing the color of the hat of all the following sad fellows bot not their; the hats may ...
mau's user avatar
  • 2,095
14 votes
2 answers
3k views

10 prisoners and 10 lists of numbers [duplicate]

10 prisoners are held captive by a cruel warden. One day he gathers them in the prison hall and tells them about a new game he wants to play: "Tomorrow, I will assign each one of you a random ...
yotabyte's user avatar
  • 151
23 votes
12 answers
187k views

Four prisoners wearing black and white hats

There are four prisoners. All four prisoners will be freed, if at least one of them correctly guesses the color of the hat on his head. They can't speak to each other, and they can't touch each other. ...
Danny's user avatar
  • 351
17 votes
9 answers
4k views

Red and Blue in the Chocolate Fountain Room

Where: Hackanoogie Prison. When: Who cares? The Master Key Keeper had had a really good day and in a fit of insanity and niceness decided to let all the inmates to go free if they manage to carry ...
Ben's user avatar
  • 2,617
24 votes
5 answers
7k views

Infinitely many dwarves wearing hats of 2 colours

I have heard of the puzzle with 100 or 10 dwarves wearing a hat of a color, either red or blue, and standing in a straight line, and having to guess the color of their own hat - it's quite easy. The ...
Imago's user avatar
  • 648
39 votes
7 answers
11k views

Guessing hat colors. 4 prisoners

This is a variant about guessing hat colors. You may want to try Hats and alien or Guessing hat colors or Four prisoners wearing black and white hats. Statement 4 prisoners are to be executed. The ...
Untitpoi's user avatar
  • 2,700
23 votes
2 answers
2k views

Alternating Hat Colors

A prison warden offers his inmates a game for their freedom. He will secretly write a number on each of their foreheads, with no two foreheads having the same number. The inmates get to look around, ...
Mike Earnest's user avatar
  • 32.5k
19 votes
6 answers
3k views

Cooperative guessing game: no incorrect guesses

There are 15 players who will play a cooperative game. They begin by closing their eyes. A referee will place either a black hat or a white hat (chosen by fair coin flip) on each player's head. The ...
Julian Rosen's user avatar
  • 14.3k
8 votes
3 answers
741 views

Guess your hat color, but you don't have to

Here is the puzzle: N hats are put on N logicians, each hat color is selected randomly: black or white. As usual, every logician doesn't see the hat on his own head, but sees the rest. They cannot ...
klm123's user avatar
  • 16.3k
7 votes
3 answers
536 views

Guessing game with infinity coin flips

Evan and Ollie are going to play a game as a team. The two friends placed in separate rooms, and then a coin is flipped infinitely many times*. Evan is told the results of the even numbered flips, ...
Mike Earnest's user avatar
  • 32.5k
5 votes
1 answer
749 views

Five Hats and Three Logicians

Three logicians were seated around a table. They were blindfolded and a colored hat was placed on each of their heads. They were told a true statement The hats on your heads were chosen among 3 ...
Oray's user avatar
  • 30.4k
40 votes
13 answers
9k views

6 prisoners, 2 colors, one mute

Just like the classic 4 prisoners hats riddle, here we have 6 prisoners buried to their necks in the ground. They can only look straight ahead so that A only sees B, C, D, E while B sees C, D, E, and ...
tyobrien's user avatar
  • 3,663
23 votes
3 answers
4k views

3 Numbers on Hats, A = B + C

This feels like it should be a common puzzle, but I haven't found anything exactly like it searching online, so here goes. Apologies if it's a duplicate. Three logicians, person 1, 2, and 3, along ...
Max Wang's user avatar
  • 397

15 30 50 per page