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 is the below Rebus indicate?

Read the Indication

Asked by Neha on 19 Sep 2023


The measurement of time, That can't be found on a clock, But can be looked upon on a map.

Who is He ?

Asked by Neha on 30 Jan 2021

You’re out on the water and see a boat filled with people. You look away for a second and look back again, but this time you don’t see a single person on the boat. Why? Hint: The boat did not sink.

Asked by Neha on 15 Jun 2025


The Federal bank of London is abducted by the robbers. The head of the robbers asked the cashier to empty their money vault to them and when suddenly cashier got a call from her father. To avoid any suspicion, the robber asked the cashier to pick the call and reply her father in the shortest manner possible.

The cashier told her father "Is there an emergency father, Call me when you are free and I will help you in your furnishing" and then the cashier hung up the phone.

After 10 minutes, police arrived at the crime scene.

How did the police know about the robbery?

Asked by Neha on 15 May 2021

There are people and strange monkeys on this island, and you can not tell who is who (Edit: until you understand what they said - see below). They speak either only the truth or only lies.
Who are the following two guys?
A: B is a lying monkey. I am human.
B: A is telling the truth.

Asked by Neha on 12 Jul 2023

A new Engineering building containing 100 offices had just been completed. John was hired to paint the numbers 1 to 100 on the doors. How many times will John have to paint the number nine (9)?

Asked by Neha on 24 Feb 2024


I have teeth but i don't bite. Who Am I ?

Teeth for showpiece

Asked by Neha on 29 Mar 2021

Replace the letters of words with a number so that the below equation holds true

BASE +
BALL
---------
GAMES
----------

Asked by Neha on 10 Oct 2023

What question can you never answer yes to?

Asked by Neha on 09 May 2022


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

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.