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

Pronounced as one letter,
And written with three,
Two letters there are,
And two only in me.
I am double, I am single,
I am black blue and grey,
I am read from both ends,
And the same either way.

Asked by Neha on 01 Oct 2024


Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021

1 rabbit saw 9 elephants while going to the river. Every elephant saw 3 monkeys going toward the river. Each monkey had 1 parrot in each hand. How many animals are going towards the river?

Asked by Neha on 30 Aug 2025


A journalist was investigating a sacred cult in the jungles of Africa when he was caught by one of the person. He was confined in a cave till the leader arrived. The leader told him that he need to tell him a statement. If he thinks the statement is true, then the journalist head will be chopped off. If he thinks that the statement is false, his head will be smashed with a hammer.

What statement did the journalist make to survive?

Survive in Jungle

Asked by Neha on 19 Mar 2021

In a classic wine shop, the list of three most popular wines are:
- The cost of 1 French wine bottle: 500$
- The cost of 1 German wine bottle: 100$
- The cost of 20 Dutch wine bottles: 100$

John entered the wine shop and he needs to buy
- All three types of wine bottles.
- Needs to buy Dutch wine bottles in multiples of 20.
- Need to buy 100 wine bottles in total.

John has only 10000$. How many wine bottles of each type, John must buy?

Asked by Neha on 19 Aug 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


How many words can a pen with half refill write?

Asked by Neha on 03 Feb 2025

Solve below popular number sequence
314 159 265 358 979 323 846 ?

Asked by Neha on 09 Nov 2025

Known by all without exception, Forever here, for your protection, Sometimes strong, sometimes weak, Right after the night I come - hot and chic. And while millions of miles away, I always get to you, I find my way. No life around could do without me, Can you guess what I might be?

Asked by Neha on 05 Apr 2022


There is one thing that goes round the house and also inside the house but never even share a brief touch. What is it?

Asked by Neha on 28 May 2021

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.