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

A woman shoots her husband.

Then she holds him under water for over 5 minutes.

Finally, she hangs him.

But 5 minutes later they both go out together and enjoy a wonderful dinner together.

How can this be?

Shoot to Kill

Asked by Neha on 20 Mar 2021


I always drive my customer away.

Who am I?

Asked by Neha on 29 Oct 2024

Replace the question mark with the correct number in the below-given picture?

Number Riddle

Asked by Neha on 08 Sep 2023


Find the next number in the series.
1 10 24 43 67 ?

Asked by Neha on 26 Jun 2024

Replace the 'X' with any mathematical symbol to make the expression equal to 111.

18 X 12 X 2 X 3 = 111

Asked by Neha on 27 Jul 2024

I am the black child of a white father, a wingless bird, flying even to the clouds of heaven. I give birth to tears of mourning in pupils that meet me, even though there is no cause for grief, and at once on my birth, I am dissolved into air. What am I?

Asked by Neha on 20 Apr 2023


Why do you find that most of the buildings are deprived of the 13th floor?

Asked by Neha on 11 Jan 2025

Take number 1000 and then add 20 to it.
Now add 1000 one more time.
Now add 30.
Now add 1000 one more time.
Now add 40.
Now add 1000 one more time.
Now add 10.

What is the total?

Asked by Neha on 18 Jan 2024

If a shopkeeper can only place the weights on one side of the common balance. For example, if he has weights 1 and 3 then he can measure 1, 3 and 4 only. Now the question is how many minimum weights and names of the weights you will need to measure all weights from 1 to 1000? This is a fairly simple problem and very easy to prove also.

Asked by Neha on 29 Oct 2023


French Police inspects a room where there are no windows, no doors, no tables and is almost empty expect there is just a puddle of water. They found a dead man who obviously hung herself from the ceiling, but they are not able to figure out how this had happened.

John and Jacob entered the crime scene and easily able to solve the case.

How did the man die?

Asked by Neha on 09 Sep 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.