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

John killed hundreds of people mercilessly and yet the police were not able to put her behind the bars. Why?

Asked by Neha on 02 Nov 2024


Here is a mathematical expression that also secretly tells a movie name. What movie is that?

Guess Movie Name

Asked by Neha on 14 Feb 2021

A newspaper is supposed to have 60 pages.Pages 14 and 21 are missing from the newspaper.

Can you tell me , Which other pages won't be there as well ?

Asked by Neha on 07 Feb 2023


These types of puzzles are known as charades. What you have to do is to find two words that are referred to in the first stanza and the second stanza and put them together to form the third word in the third stanza.

Just for example, if my first refers to 'off' and my second refers to 'ice', then my whole will be the 'office'.

My first is present - future's past -
A time in which your lot is cast.

My second is my first of space
Defining people's present place.

My whole describes a lack of site -
A place without length, breadth, or height.

Asked by Neha on 07 Dec 2024

Three friends decide to distribute the soda cans they had among them. When all of them had drunk four cans each, the total number of cans that remained was equal to the cans each one of them had after they had divided the cans.

Can you calculate the total number of cans before distribution?

Asked by Neha on 12 May 2025

Replace the question mark in the picture below.

Fill the Required Number Puzzle

Asked by Neha on 07 Jan 2026


What type of tree can I carry in my hand?

Asked by Neha on 04 Apr 2025

Mr Black, Mr Gray, and Mr White are fighting in a truel. They each get a gun and take turns shooting at each other until only one person is left. Mr Black, who hits his shot 1/3 of the time, gets to shoot first. Mr Gray, who hits his shot 2/3 of the time, gets to shoot next, assuming he is still alive. Mr White, who hits his shot all the time, shoots next, assuming he is also alive. The cycle repeats. If you are Mr Black, where should you shoot first for the highest chance of survival?

Asked by Neha on 18 Feb 2025

Below rebus represent famous DiCaprio movie. Can you name it?

Decode the Rebus

Asked by Neha on 27 May 2021


John and Jenni are a married couple. They have two kids, one of them is a girl. Assume safely that the probability of each gender is 1/2.
What is the probability that the other kid is also a girl?

Hint: It is not 1/2 as you would first think.

Asked by Neha on 14 Jun 2024

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.