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

Rumel, A detective who was mere days from cracking an international smuggling ring has suddenly gone missing. While inspecting his last-known location, you find a note:

710 57735 34 5508 51 7718

Currently, there are 3 suspects: Bill, John, and Todd. Can you break the detective's code and find the criminal's name?

Crack the Detective Code

Asked by Neha on 15 Mar 2021


10+10 and 11+11 can give you the same answer.

Explain how?

Asked by Neha on 07 Aug 2021

Pronounced as 1 letter, And written with 3, 2 letters there are, and 2 only in me. I’m double, I’m single, I’m black blue and grey, I’m read from both ends, and the same either way. What am I?

Asked by Neha on 08 Aug 2025


You order chicken wings at KFC in the boxes of 6, 9 and 20. What is the largest number of wings that you cannot obtain by buying in any combination of the boxes?

Asked by Neha on 10 Jul 2021

The following question it puts forth you:

25 - 55 + (85 + 65) = ?

Then, you are told that even though you might think it's wrong, the correct answer is actually 5!

Whats your reaction to it? How can this be true?

Asked by Neha on 07 Jun 2024

Five teams were competing in cricket where they faced each other exactly once. After the tournament, the following is the point table.

DareDevils 6
SuperKings 5
Royals 4
Sunrisers 2
Riders ?

How many points did Riders end up with?

Asked by Neha on 14 Nov 2025


In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024

Replace the question mark with the correct number in below Picture:

Replace the Number

Asked by Neha on 30 May 2021

You have $100 with you and you have to buy 100 balls with it. 100 is the exact figure and you can't go below or above the numbers and you have to use the entire $100. If there is no kind of tax applied how many of each of the following balls will you be able to buy:

Green Balls costing $6
Yellow Balls costing $3
Black Balls costing $0.10

Now, how many of each must you buy to fulfil the condition given?

Asked by Neha on 30 Jul 2023


Before reading ahead, you must know the fact that only one of the people here is telling the truth.

A says that B is lying.
B says that C is lying.
C says both A and B are lying.

Can you find out who is speaking the truth?

Asked by Neha on 26 Dec 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.