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

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

Asked by Neha on 26 Jun 2024


If 1+9+8=1, what is 2+8+9?

Asked by Neha on 02 Oct 2021

This was asked in an interview with Coa-Cola.

The interviewer has given me 100 marbles(50 white and 50 black) and two empty boxes.
He then told me that he will leave the room and i need to place all the marbles in two boxes.

And When he come back, he will draw a marble from any of the two box and if the marble is white I will be hired.

Also
* No box can be empty.
* All 100 marbles must be placed in one of the two boxes.

So what should I have done?

Asked by Neha on 29 Nov 2024


What numbers should go on the bottom line?
3 6 9 15
8 2 10 12
11 8 19 27
19 10 29 39
? ? ? ?

Asked by Neha on 29 Apr 2022

Outside a tattoo artist's shop, there was a signboard which read 'I make tattoos on only them who do not tattoo themselves'.

Reading it what do you think, does the tattoo artist tattoo himself?

Asked by Neha on 22 Nov 2025

It has five wheels, though often think four, You cannot use it without that one more, You can put things in it, you can strap things on top, You can't find it in the market, but you can still go shop. What is it?

Asked by Neha on 17 May 2021


Can you find out which number multiplied by itself will give the output as 12345678987654321?

Asked by Neha on 27 Mar 2023

Manish and Manoj play 5 games of chess.
Both Manish and Manoj win the exact same number of games. There is no tie at all.

How?

Asked by Neha on 11 Feb 2024

There are two arch enemies Messi and Ronaldo who hate each other to an extreme. One day both were going together and a Jeanie appeared in front of them. Jeanie grants 3 wishes to Ronaldo and one to Messi.

Messi replied smartly 'Give me twice whatever Ronaldo demands'.

Ronaldo asked his 1st wish 'Give me 10000 billion dollars. Soon Messi gets 2000 billion dollars.
Ronaldo asked for his 2nd wish 'Give me one mansion in every country in the world. Soon Messi gets two mansions in every country of the world?

What should be Ronaldo's third wish?

Asked by Neha on 02 Mar 2024


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

Asked by Neha on 24 Apr 2025

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.