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

81 x 9 = 801. What must you do to make the this equation true?

Asked by Neha on 03 Oct 2021


A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023

You are in a room that has three switches and a closed door. The switches control three light bulbs on the other side of the door. Once you open the door, you may never touch the switches again. How can you definitively tell which switch is connected to each of the light bulbs?

Asked by Neha on 02 Jul 2025


What 5-letter word typed in all capital letters can be read the same upside down?

Asked by Neha on 20 Oct 2025

My sock drawer has 26 blue socks, 13 pink socks, 33 green socks, and 12 red socks, how many socks would I have to pull out in the dark to be sure I had a matching pair?

Asked by Neha on 13 May 2026

Find the last number in the series below:

voN luJ yaM raM ---

Asked by Neha on 05 Jun 2023


My thunder comes before lightning.
My lightning comes before my rain.
My rain dries up all the land it touches.

Who am I?

Asked by Neha on 14 Jul 2026

Readers with the eyes of a hunter can find the snake in the field. Can you? Test your puzzle-solving skills now!

spot a snake in the field

Asked by Neha on 06 Sep 2026

I know there are two methods by using three time the same number with a plus(+) operator , you can make sum as 60.

One of them is 20+20+20.

whats the other way ?

Asked by Neha on 28 May 2024


John can fit six large chocolate boxes or nine small chocolate boxes into a carton. How many cartons will he require to put sixty-six chocolate boxes into?

Asked by Neha on 25 May 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.