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

How do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021


Peter wakes up daily to pick up his cycle and crosses the border between Spain and France daily with a bag on his shoulder. He is investigated daily by the officials but they don't find anything suspicious.

If we tell you that he is smuggling something what would it be?

Asked by Neha on 25 Jun 2024

While sitting in the Car, John suddenly finds that one of the wheels was missing. John noticed that a killer is approaching towards him. John cannot get out of the car.

How will John escape?

Asked by Neha on 14 Jan 2021


Solve the counting riddle by identifying the number of triangles in the given picture.

Count the Triangle Riddle

Asked by Neha on 26 Feb 2026

How can one talk without saying a single word?

Asked by Neha on 25 Nov 2023

How many times in a given day, minutes and hour clock comes in a straight line ?

Asked by Neha on 03 Mar 2023


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

You may enter, but you may not come in. I have space, but no room. I have keys, but open no lock. What am I?

Asked by Neha on 23 Oct 2021

The horse jumps over the king.
Strangely there is absolutely no scratch on him.

Can anyone explain, how is this possible?

Asked by Neha on 06 Mar 2023


What is more useful when it is broken?

Asked by Neha on 30 Mar 2022

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