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

Two batsman each on 94 runs. Seven runs needed to win in last 3 balls. Both make 100*. How?

Asked by Neha on 09 Apr 2023


A man and his wife were doing missionary work near the city of Nairobi in the country of Kenya in eastern Africa. Their housing had not yet been completed, so the man, the woman, and their six year old daughter were spending a few nights in the jungle in three small pup tents. During their third night there, the woman was awakened by the call of a hyena passing by, so she got out of her tent to see if her young daughter had been frightened by the noise. As she peered into her daughter's tent she was surprised to see the dark figures of lion, a panther, and a cheetah which were curled up next to her daughter. Seeing her daughter was asleep and unharmed, the woman slowly and quietly withdrew from the tent, and simply returned to her own tent and went back to bed. How could this child's mother leave her daughter in such a dangerous situation, and simply ignore what she had just witnessed without intervening in some way? How can such emotional coldness ever be explained; or is there something here we are missing?

Asked by Neha on 04 Apr 2022

What does this simple rebus mean?

What does this mean

Asked by Neha on 18 Jun 2023


Jenifer and Jesica are having a conversation.

Jenifer: I am definitely not over 30.
Jesica: I am 28 and you are surely 5 years older to me at least.
Jenifer: No, you are at least 29.

You are told that both of them are lying throughout in the conversation. Can you find their respective ages?

Asked by Neha on 18 Jul 2021

There was a blind beggar living on the footpath of a street. Suddenly one day, the beggar's brother died. What was the relation of the blind beggar with the person who died?

PS: Brother is not the answer.

Asked by Neha on 20 Mar 2026

Complete the following series. It.s very logical:

1, 4, 5, 6, 7, 9, 11, __?

Asked by Neha on 02 May 2024


What does Alexander the Great and Winnie the Pooh have in common?

Asked by Neha on 17 Jul 2025

As easy as you can get into me, it is as hard to get out of me.

Do you know what I am?

Asked by Neha on 23 Apr 2023

Cristina leaves home and then she makes exactly 3 left turns and returns home where she found 2 girls wearing the mask.

Who are these two masked girls?

Asked by Neha on 01 Mar 2021


If you’ve got me, you want to share me; if you share me, you haven’t kept me. What am I?

Asked by Neha on 18 Feb 2022

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.