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

Can you name four days which start with the letter 'T'?

Asked by Neha on 20 Nov 2024


0 0 0 = 6
1 1 1 = 6
2 2 2 = 6
3 3 3 = 6
4 4 4 = 6
5 5 5 = 6
6 6 6 = 6
7 7 7 = 6
8 8 8 = 6
9 9 9 = 6

You can use any mathematical symbols in the space provided to make all above algebraic expressions true.

Asked by Neha on 24 Jul 2021

You see a mathematical expression in the picture. Can you think of a movie that this expression refers to?

Movie in Maths

Asked by Neha on 05 Aug 2021


Count the number of squares in the picture below.

Count The Magic Squares

Asked by Neha on 14 Dec 2024

John was driving a bus and got stuck when passing through an underpass. Then came Jacob with a needle and got the bus out of the underpass.

What did the boy do?

Asked by Neha on 30 Mar 2025

The world's largest Thanksgiving turkey was on display at a fair. Everyone was admiring it when suddenly a woman ran up and shot the turkey and left. Everyone knew her yet nobody made any attempts to stop or report her. Why?

Asked by Neha on 24 Feb 2023


Can you find the thief by just looking at the picture below?

Find The Thief

Asked by Neha on 20 Apr 2024

There are forty elephants and they have forty-fore heads. How can this be possible?

Asked by Neha on 16 Apr 2024

Find the missing letter in the last circle logically in the given below picture.

Apply Logic in Alphabet

Asked by Neha on 02 Apr 2024


In a football game, Christina defeated Teresa by 2 - 0 but no man from either side scored. How can this be possible?

Asked by Neha on 08 Jan 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.