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

Which alphabet letter is a question?

Asked by Neha on 19 Apr 2023


Why is 6 afraid of 7?

Asked by Neha on 28 Oct 2024

On 26-01-2022, Juli was murdered at her house in a city in India in the afternoon. There were three suspects in the murder and the following are the statements that were given by them:

John: I visited my village that day.
Jacob: I was out to deposit my house tax in the municipality office at that time.
Jonny: I was at a friend's place having lunch at that time.

Can you find out who is the murderer?

Asked by Neha on 15 Dec 2023


Find The Next Number in this series.
1, 2, 6, 42, 1806 ?

Asked by Neha on 10 Jan 2025

Outside a massage parlour, there is a board that reads
"I only massage those who do not massage themselves."

Reading the above statement, does the masseur massage himself?

Asked by Neha on 14 Apr 2024

A family is trapped in a jungle. There is a bridge which can lead them to safety. But at one time, the bridge can only allow two people to pass through. Also, all of them are afraid of the dark and thus, they can't go alone.

Father takes 1 minute to cross, the mother takes 2 minutes, the son takes 4 and the daughter takes 5 minutes. While crossing the time taken will be according to the slower one. How can they all reach the other side in the minimum possible time?

Asked by Neha on 09 Aug 2024


Given that

(78)^9 = 6
And (69)^4 = 11

Can you find out

(99)^2 =?

(Note: This is Logical, not Mathematical)

Asked by Neha on 19 Apr 2024

Decode the below four famous ciphers:

8P of the SS
1M of the E
1S of the SS
60M in 1H

Asked by Neha on 17 May 2021

A solo dice game is played. In this game, upon each turn, a normal pair of dice is rolled and the score is calculated not by adding the numbers but multiplying them.

In a particular game, the score for the second roll is five more than what was achieved in the first roll. The score for the third roll is six less than what was completed in the second roll. The score for the fourth roll is eleven more than what was achieved in the third. The score for the fifth roll is eight less than what was completed in the fourth.

Can you calculate the score for each of the five throws?

Asked by Neha on 04 Jun 2024


500 women soldiers are arranged in an array of ten rows and fifty columns in accordance with their respective heights. Now, the tallest woman from each row is asked to move out in the front. From them, the shortest one is labelled as Alpha. They are then asked to resume their original position.

Now, the shortest woman in each column is asked to come out in front. The tallest among them is labelled as Beta.

Can you find out if Alpha will be taller or Beta?

Asked by Neha on 16 Sep 2025

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.