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

A father's child, a mother's child, yet no one's son.

Who am I?

Asked by Neha on 21 Mar 2022


If you read clockwise, you can form a word by inserting three missing letters in the picture given below. Can you do it?

English Clockwise

Asked by Neha on 10 Sep 2023

Where do fish keep their money?

Asked by Neha on 25 Nov 2025


A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 25 Mar 2022

When I asked a girl's name she told me her name is the date '07/09/2001'.

I thought for a few seconds and then I got her name. Do you?

Asked by Neha on 02 Dec 2025

I never was there, I am always to be.
You have never ever seen me, not ever you will.
Yet I am the confidence of everyone.

Who Am I?

Asked by Neha on 01 Feb 2024


Which is faster, Heat or Cold ? Explain.

Heat or Cold ?

Asked by Neha on 23 Mar 2021

What is the below Rebus indicate?

Read the Indication

Asked by Neha on 19 Sep 2023

Three people check into a hotel. They pay $60 for the rent of the room. After they check-in, the manager realize that the rent for the room is $55. So, he gives $5 to the bellboy and asks him to give it to them. The bellboy thinks that it will be difficult for the three people to share $5 among them and seeking the personal benefit, he pockets $2 and gives the remaining $3 to them.

Now, each person paid $20 and got back $1. In this manner, each of them paid just $19 which totals to the amount of $57. The bellboy has $2 with him and adding them, we get $59. So where is the remaining $1?

Asked by Neha on 02 Aug 2023


Living above a star, I do not burn
Eleven friends and they do not turn
I can just be visited in a sequence, not once or repeatedly
PQRS are my initials
Can you tell my name accurately?

Asked by Neha on 11 Jul 2021

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.