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

How can you leave a room with two legs and return with six legs?

Asked by Neha on 14 May 2021


Begin with a word, five letters to my name,
Remove the first and last but I am the same
Take out my middle and still, I remain.
What word am I?

Asked by Neha on 25 Jan 2025

Why is 6 afraid of 7?

Asked by Neha on 28 Oct 2024


A mathematics teacher took exams for his students. Out of the total students, 25% passed both the tests included in the exam. However, only 42% were able to clear the first test.

Can you find out the percentage of those students who passed the first test and also passed the second test?

Asked by Neha on 21 Jan 2025

You see a boat filled with people, yet there isn’t a single person on board. How is that possible?

Asked by Neha on 12 Feb 2022

Two guards were guarding the camp.Guard-1 was looking towards the south to make sure no threat is coming from the road.Guard-2 was looking at the north to make sure no threat is coming from the top. Suddenly Guard-1 ask the Guard-2 why he is smiling?How Guard-1 knows that Guard-2 is smiling?

Asked by Neha on 30 May 2023


Two friends decide to get together; so they start riding bikes towards each other. They plan to meet halfway. Each is riding at 6 MPH. They live 36 miles apart. One of them has a pet carrier pigeon and it starts flying the instant the friends start traveling. The pigeon flies back and forth at 18 MPH between the 2 friends until the friends meet.

How many miles does the pigeon travel?

Asked by Neha on 02 Aug 2021

Bay of Bengal is in which state?

Bay of Bengal

Asked by Neha on 12 Mar 2021

You need to pick one entry from pot A and one from pot B to have a perfect match. Can you do it?

Football World Cup 2014

Asked by Neha on 22 Aug 2021


In a town, there are four houses located at different distances from each other. Following are the distances:

The third house is 60 meters apart from the first house.
The fourth house is 40 meters apart from the second house.
The third house is 10 meters nearer to the fourth house than it is to the second house.

Can you find out the distance between the fourth and the first house?

Asked by Neha on 14 Sep 2024

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.