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

What is the fewest number of coins that would be required in order to make sure each and every coin touches exactly three other coins?

Asked by Neha on 09 Feb 2025


Six glasses are in a row. The first three are filled with milk and the last three are empty. By moving only one glass, can you arrange them so that the full and the empty glasses alternate?

Asked by Neha on 23 Sep 2023

Next Number in the Series,

5, 16, 49, 104, ?

Asked by Neha on 31 Dec 2025


A horse was tied to a rope 5 meters long and the horses food was 15 meters away from the horse. How did the horse reach the food?

Asked by Neha on 17 May 2021

The more you take me, the more you leave me behind.
Who Am I?

Asked by Neha on 15 Jan 2025

What have one eye but still cannot see?

Asked by Neha on 27 Dec 2025


What begins with T, ends with T, and has T in it?

Asked by Neha on 15 Oct 2021

A deaf and mute man goes to the train station. Tickets for the train are 50 cents each. The man goes to the ticket booth and hands the man inside just a dollar. The man in the booth hands him two tickets.

How did the man in the booth know to give him two tickets without even looking at him?

deaf and mute man at train station riddle

Asked by Neha on 14 Mar 2021

The cream is heavier than Milk. True or False?

Asked by Neha on 18 Sep 2024


Prove that the below maths equation is true.

8 + 8 = 91

Asked by Neha on 16 Aug 2021

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.