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

If a wheel has 54 spokes, how many spaces are there between the spokes?

Asked by Neha on 27 Sep 2021


A rain drop fell from one leaf to another leaf and lost 1/4th of its volume. It then fell to another leaf and lost 1/5th of the volume. It again fell on another leaf and lost 1/5th of the volume.



This process kept repeating till it fell on the last leaf losing 1/75th of its volume.



Can you calculate the total percentage of loss from the initial volume when the drop has fallen to the last leaf accurate up to two decimal places?

Asked by Neha on 16 Feb 2021

Can you count the number of triangles in the given figure?

Count the Triangles

Asked by Neha on 03 Jan 2021


In a town, there are four houses located at different distances from each other. Following are the distances:

The third house is 60 meters apart from the first house.
The fourth house is 40 meters apart from the second house.
The third house is 10 meters nearer to the fourth house than it is to the second house.

Can you find out the distance between the fourth and the first house?

Asked by Neha on 14 Sep 2024

A deaf and mute man goes to the train station. Tickets for the train are 50 cents each. The man goes to the ticket booth and hands the man inside just a dollar. The man in the booth hands him two tickets.

How did the man in the booth know to give him two tickets without even looking at him?

deaf and mute man at train station riddle

Asked by Neha on 14 Mar 2021

What time is it when an elephant sits on a fence?

Asked by Neha on 10 Jul 2025


The person who makes it has no need for it; the person who buys it has no use for it. The person who uses it can neither see nor feel it. What is it?

Asked by Neha on 11 Mar 2025

Find the missing number in the image below.

Find the missing

Asked by Neha on 11 May 2025

A four-digit number (not beginning with 0) can be represented by ABCD. There is one number such that ABCD=A^B*C^D, where A^B means A raised to the B power. Can you find it?

Asked by Neha on 31 Jul 2023


If you were to put a coin into an empty bottle and then insert a cork into the neck, how could you remove the coin without taking out the cork or breaking the bottle?

Asked by Neha on 08 Oct 2025

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki