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 six children and two dogs were under an umbrella, how come none of them got wet?

Asked by Neha on 07 Mar 2022


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

A murder has been committed in a house. You are a detective and have to find out the murderer.

You investigate by asking three questions to each of the six suspects. Out of those six suspects, four are liars. It is not necessary that they speak everything a lie. But in their answers, there must be at least one lie. One of the six is the murderer.

There are eight rooms in the house in which the murder has been committed: Kitchen, Living Room, Bathroom, Garage, Basement, 3 Bedrooms.

At the time of the murder, only the murderer was present in the killing room. Any number of people can be present in any of the other rooms at the same time.

Can you identify the murderer and the four liars? Also, can you find out who was in which room?

The responses of all the suspects are mentioned below.

Joseph:
Peter was in the 2nd bedroom.
So was I.
David was in the bathroom.

Mandy:
I agree with Joseph that David was in the bathroom and Peter was in the 2nd bedroom.
But I think that Joseph was in the living room, OH MY GOD!

Peter:
Mandy was in the kitchen with Christopher.
But I was in the bathroom.

David:
I still say Peter was in the 2nd bedroom and Jennifer was in the bathroom.
Joseph was in the 1st bedroom.

Jennifer:
Peter was in the bathroom with Christopher.
And Mandy was in the kitchen.

Christopher:
David was in the kitchen.
And I was in the 2nd bedroom with Peter.

PS: The corpse was found in the Living Room.

Asked by Neha on 22 May 2023


Two men play a dice game involving roll of two standard dice. Man X says that a 12 will be rolled first. Man Y says that two consecutive 7s will be rolled first. The men keep rolling until one of them wins.

What is the probability that X will win ?

Asked by Neha on 13 Apr 2023

A number can be multiplied by multiple of nine
i.e 9 18 27 36 45 ...

and the resulting number consist of only one digit.

Can you identify the number ?

Asked by Neha on 07 May 2023

Decode this picture on T-Shirt and tell what it says ?

Learn Decoding

Asked by Neha on 11 Mar 2021


When Jack was six years old he hammered a nail into his favourite tree to mark his height. Ten years later at age sixteen, Jack returned to see how much higher the nail was. If the tree grew by five centimetres each year, how much higher would the nail be?

Asked by Neha on 17 May 2021

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

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 have one of the three numbers: 1, 2, or 3 in my mind. I speak only truth. You can ask me just one question for which I will only reply in yes or no or don't know. What question will you ask from me so that you are able to know the number?

I Speak only the Truth

Asked by Neha on 15 May 2023

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.