Prisoner to be freed

The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.

"In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.

"After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.

"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.

"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'

"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"

What is the strategy they come up with so that they can be free?




Similar Riddles

Below toothpicks/matchsticks indicate the group of fishes moving from west to east direction. Can you make them move from east to west by just moving three toothpicks/matchsticks?


Floating Fish

Asked by Neha on 14 May 2021


You are presented with three boxes. One of them has a red ball inside and the other two have a black ball inside each of them. You are asked to pick up the one with red ball and you pick one. Now, one of the other boxes is opened and it is found to have a black ball.

You are presented with a chance to change your box with the one that is left closed. Will you change your box? Why or why not?

Asked by Neha on 15 Apr 2023

John was piloting a plane behind a car but was never able to overtake it. Why?

Asked by Neha on 04 Dec 2023


Why is the Hole below a Lock?

Hole in Lock

Asked by Neha on 23 Jul 2023

Can you replace the question mark with the correct number in the below table sequence?

Complete the table Sequence

Asked by Neha on 23 Feb 2025

There was an aeroplane crash, every single person died, but two people survived. How is this possible?

Asked by Neha on 28 Dec 2023


A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 07 Apr 2022

What does this rebus means ?

PROG WORKRESS

Asked by Neha on 20 Feb 2021

With the help clues provided in the image, can you find the 5 digit key?

Find the Key

Asked by Neha on 14 May 2021


Replace the question mark with the correct number.

2 + 2= 4
3 + 3= 18
4 + 4= 48
5 + 5= ?

Asked by Neha on 15 Aug 2023

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.