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

There's one "sport" in which neither the spectators nor the participants know the score or the leader until the contest ends.

What is it?

Asked by Neha on 10 Apr 2022


Find the value of "a" by solving the maths equation in the picture below:

Tactical Math Riddle

Asked by Neha on 04 Jul 2026

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


Which Number is the odd one out?

A) 7145
B) 2716
C) 5321
D) 4135

Asked by Neha on 10 Jan 2024

There are are five things wrong with this sentence; only geniuses will be able to to spot all of the mitstakes

Find the Mistakes

Asked by Neha on 12 Aug 2021

Can you find the key in the picture below?

Find the Key

Asked by Neha on 07 Apr 2024


Solve this tricky question. You are trapped in a forest. With you, you have a gun preloaded with two bullets in it. In front of you, there is a tiger, a leopard and a jaguar.

How do you survive?

Asked by Neha on 24 Mar 2024

I never stop running even when I standstill. If I am formed by joining two identical bodies together, can you guess who I am?

Asked by Neha on 28 Mar 2023

An exterior architect is asked by a builder to plant seven trees in a manner that there are exactly six rows of trees in a straight line and each row has three trees in particular.

How will he do it?

Math Figure Puzzle

Asked by Neha on 03 Apr 2023


Spot 5 differences in two Christmas tree below:

Christmas Tree

Asked by Neha on 06 Jul 2021

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.