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 man dies of old age on his 25 birthday. How is this possible?

Asked by Neha on 17 May 2022


A girl has as many brothers as sisters, but each brother has only half as many brothers as sisters. How many brothers and sisters are there in the family?

Asked by Neha on 03 Mar 2022

If in a code language, DISTANCE is written as IDTUBECN and DOCUMENT is written as ODDVNTNE, the how will THURSDAY be coded as in the same language?

Asked by Neha on 17 May 2021


Find the Next Number in the Sequence

2 9 3 1 8 4 3 6 5 7 ?

Asked by Neha on 12 Sep 2024

There is a circular car race track of 10km. There are two cars, Car A and Car B. And they are at the exact opposite end to each other. At Time T(0), Both cars move toward each other at a constant speed of 100 m/seconds. As we know both cars are at the same speed they will always be the exact opposite to each other.
Note, at the center, there is a bug which starts flying towards Car A at time T(0). When the bug reaches car B, it turns back and starts moving towards the car A. The speed of bug is 1m/second. After 5 hours all three stop moving.
What is the total distance covered by the bug?

Asked by Neha on 03 Aug 2023

John was visiting his friend Jacob. He found out that his friend's wife had just killed a burglar in self-defense.
John asks Jacob about what happened and he told that "His wife was watching television when suddenly the bell rang. She thought that it is her husband Jacob but she found the burglar who attacked her instantly and she got so frightened that she killed the burglar immediately with the knife.
John asked the police to arrest his friend's wife. Why?

Asked by Neha on 10 Mar 2023


What does this simple rebus mean?

What does this mean

Asked by Neha on 18 Jun 2023

Can you decipher the two rows to find the hidden word?


Make the Word

Asked by Neha on 14 May 2021

Can you name an animal whose killing cannot be performed without spilling your own blood?

Asked by Neha on 28 Feb 2023


Below is the sum of symbols in each row and column in the figure. Analyzing the figure, can you find out the value of the symbols?

Value of the Symbols

Asked by Neha on 12 Aug 2023

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.