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 wealthy man lives alone in a small cottage. Being partially handicapped he had everything delivered to his cottage. The mailman was delivering a letter one Thursday when he noticed that the front door was ajar. Through the opening he could see the man's body lying in a pool of dried blood. When a police officer arrived he surveyed the scene. On the porch were two bottles of warm milk, Monday's newspaper, a catalog, flyers, and unopened mail. The police officer suspects it was foul play. Who does he suspect and why?

Murder Mystery Puzzle

Asked by Neha on 07 Apr 2021


A girl was sitting in her hotel room when she heard a knock on the door. She opened the door and found that a man was standing outside. The man said, "Oh! I am really sorry, I thought this was my room." He then walked through the corridor to the elevator. The girl did not know the man. She closed her door and called security asking them to apprehend the man. What made her suspicious of that man? He might have been genuinely mistaken.

Asked by Neha on 27 Jan 2024

You can find some missing letters in the picture. By placing two particular letters in the spaces, you can form a nine lettered word beginning from one of the corners and going clockwise direction to the middle. Can you find out the letters and the word?

Make the Word

Asked by Neha on 06 Oct 2023


A generous owner of a company decided to give a bonus of $45 to every man and $60 to every woman on his birthday. But only one-ninth of the men and one-twelfth of the women were present to take the bonus.

Can you calculate the amount of money the owner spent if there were 3552 employees?

Asked by Neha on 26 Nov 2024

John is asked to stand behind Jacob and Jacob is asked to stand behind John. Both of them feel confused about it and don't know what to do?

But it is quite possible, do you know how?

Asked by Neha on 28 Jan 2021

What is both possible and impossible at the same time?

Asked by Neha on 15 Apr 2022


In a Society, there are over 100 flats.

Flat 1 is named the first flat.
Flat 2 is named the second flat.
Flat 3 is named the third flat. And So On.....

A visitor decides to walk through all the flats, and he finds all the flats except flat 62.
Anmol later founds that the locals of the town have given it another name.

What is the name of the Flat?

Asked by Neha on 05 Jun 2024

If a shopkeeper can only place the weights on one side of the common balance. For example, if he has weights 1 and 3 then he can measure 1, 3 and 4 only. Now the question is how many minimum weights and names of the weights you will need to measure all weights from 1 to 1000? This is a fairly simple problem and very easy to prove also.

Asked by Neha on 29 Oct 2023

A large water tank has two inlet pipes (a large one and a small one) and one outlet pipe. It takes 3 hours to fill the tank with the large inlet pipe. On the other hand, it takes 6 hours to fill the tank with the small inlet pipe. The outlet pipe allows the full tank to be emptied in 9 hours.

What fraction of the tank (initially empty) will be filled in 0.64 hours if all three pipes are in operation? Give your answer to two decimal places (e.g., 0.25, 0.5, or 0.75).

Asked by Neha on 08 Jan 2026


A person is found murdered in his Chamber. When the crime scene is investigated, the Investigator find out that there is a calendar on which the victim has written a few numbers with his blood. The numbers are 4, 11, 11 and 4.

There are four suspects in the murder, John, Jacob, Anna and Lee. Can you find out who is the murderer?

Asked by Neha on 29 Jan 2026

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.