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

As shown in the picture below, we can see a boy hanging on the tree branch to save his life. There are various ways in which he can die like1. A snake hanging toward the right waiting to bite the boy.2. A roaring Lion near the tree.3. Two crocodiles are ready to attack if the boy reaches near water. The tree is chopped to some extent, so can fall as if he moves a lot. Can you give this boy an escape plan?

The Escape Plan

Asked by Neha on 06 Jul 2023


I am a mother. However, I never give birth.

I am a father. However, I never nurse my children.

Wandering is not possible for me, but standing still happens occurs rarely.

Who am I?

Asked by Neha on 30 Oct 2024

I am quite hot but become too cold if you remove the first two letters. What am I?

Asked by Neha on 24 May 2023


This is a picture puzzle. You have to guess the name of the movie that can be related to the picture.

Doctor

Asked by Neha on 20 Jun 2024

Mr Red Lives in the red house.
Mr Green Lives in the greenhouse.
Mr Yellow Lives in the yellow house.

Who lives in the Whitehouse?

Asked by Neha on 26 Apr 2024

How far can you walk into the woods?

Asked by Neha on 21 Jul 2025


Six glasses are in a row. The first three are filled with milk and the last three are empty. By moving only one glass, can you arrange them so that the full and the empty glasses alternate?

Asked by Neha on 23 Sep 2023

I am a prime number.
The double of myself is equal to the square of me.

which number am I?

Asked by Neha on 18 Jan 2025

I am a type of word that is spelt incorrectly or used differently, on purpose for humour. What am I?
Hint 1: You can find me in a joke.
Hint 2: I am a play on words.

Asked by Neha on 28 Sep 2025


There is an ancient kingdom where every married woman keeps information regarding the fidelity of other men. However, what they don't know is the fidelity of their own husbands. Also, there is an ancient belief that they don't tell each other about the fidelity of their husbands.

On a certain day, the queen of the kingdom declares that she has identified at least one unfaithful man in the kingdom. She allows the wives to identify and gives them authority to kill their husbands if they are unfaithful at midnight.

How will the wives manage it?

Asked by Neha on 03 Oct 2023

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.