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

What has no start, end, or centre?

Asked by Neha on 02 Sep 2023


What three numbers, none of which is zero, give the same result whether they’re added or multiplied?

Asked by Neha on 26 Feb 2022

When you say goodbye, I am what you need to tie.
I come as a couple and go wherever you run.
Who am I?

Asked by Neha on 12 Oct 2025


Why do people go to bed?

Asked by Neha on 08 Jan 2024

What can you see in the middle of March and April that you can never see in any other month?

Asked by Neha on 13 Oct 2021

Is the statement valid that it does not matter how much older a sibling is, eventually the younger one will be half as old as the older one?

Asked by Neha on 23 Feb 2023


Rahul decided to meet Simran so he boards a local train from Bombay station. Just after the station, there is a 1km long tunnel. The train starts and is now accelerating. Rahul is a claustrophobic guy, so what is the best position for him to sit?

Asked by Neha on 25 Mar 2023

When can we add 2 to 11 and get 1 as the correct answer?

Asked by Neha on 16 Oct 2023

Sachin bought a car with a strange 5 digit numbered plate.The water image of the number is 78633 more than my car number. All the digits of car number are distinct.

What is the original number on number plate?

Car Number Riddle

Asked by Neha on 13 Mar 2021


What am I?

Asked by Neha on 10 Apr 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