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

If an earthquake is 1 point higher on the Richter Scale than another earthquake which is actually 10 times stronger, how much stronger would an earthquake be if it was just half a point higher on the Richter scale?

Asked by Neha on 23 Jun 2024


Why did Buffon take the goal with him after every Juventus match?

Asked by Neha on 24 Apr 2025

who is silent in the parliament?

Asked by Neha on 29 Apr 2024


There are 2 cops parked along a one-way street looking for traffic violations. They spot a taxi driver going in the wrong direction, yet they do nothing.

Why?

Asked by Neha on 17 May 2021

They are the five precious gems of an everyday sort and all can be found on a Tennis Court. Who are they?

Asked by Neha on 21 Apr 2024

There are three boxes which are labeled as Rs100, Rs150, and Rs200. One box contains two notes of Rs. 50. The second box contains one note of Rs50 and one note of Rs100 The third box contains two Rs. 100 notes. All boxes are labeled incorrectly.

What is the minimum number of boxes you must check in order to label all boxes correctly?

Asked by Neha on 02 Feb 2021


Let's play a word game. Following are some meaningless words that can be completed by adding random letters on either side of the word.

For example, the word "rdo" can be formed into "pardon".

Using the same technique, can you complete the given words?
ecalc
airb
rinci
tibac
uidel
gorit
igna
eyho

Asked by Neha on 17 Feb 2025

What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024

Two boys were admitted to a school. When the headmaster asks them about their parents, they tell him that they have same parents (father and mother). On further inquiry, it turns out that they both share the same date for their birthday.

"Are you twins," ask the headmaster.
"No," replies the boys.

Is it possible?

Asked by Neha on 22 Feb 2024


In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.