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 is the son of Jacob.
So,
Jacob is the_____of John's father?

Asked by Neha on 17 Dec 2024


This is a picture puzzle. You have to guess the name of the movie that can be related to the picture.

Doctor

Asked by Neha on 20 Jun 2024

Using four sevens (7) and a one (1) create the number 100. Except for the five numerals, you can use the usual mathematical operations (+, -, x, :), root and brackets ()

Asked by Neha on 26 May 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

What number do you get when you multiply all of the numbers on a telephone's number pad?

Asked by Neha on 17 Jul 2024

Mr Red Lives in the red house.
Mr Green Lives in the greenhouse.
Mr Yellow Lives in the yellow house.

Who lives in the Whitehouse?

Asked by Neha on 26 Apr 2024


There are five people. One of them shot and killed one of the other five.
We know following clues:
1. Dan ran in the NY City Marathon yesterday with one of the innocent men.
2. Mike consider being a farmer before he moved to the city.
3. Jeff is a top notch computer consultant and wants to install Ben new computer next week.
4. The murderer had his leg amputated last month.
5. Ben met Jack for the first time six months ago.
6. Jack has been in seclusion since the crime.
7. Dan used to drink heavily.
8. Ben and Jeff built their last computers together.
9. The murderer is Jack's brother. They grew up together in Seattle.

Consider yourself to be a famous detective "Sherlock Homles", Can you find the killer?

Asked by Neha on 10 Dec 2024

What does below science rebus mean?

Ag Ag Ag
Ag SPOON Ag
Ag Ag Ag

Asked by Neha on 11 Oct 2023

A finger goes in me. You fiddle with me when you're bored. The best man always has me first. What am I?

Asked by Neha on 06 Oct 2025


How much will a 38° angle measure when looked at under a microscope that magnifies ten times?

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

Word ladder puzzle

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