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 cat had three kittens: Snophy, Topsy and Jorden. What was the mother's name?

Asked by Neha on 27 Jun 2024


In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.

Can you identify the rule that the glass pane is following?

Asked by Neha on 18 Jul 2024

Only one colour, but not one size,
Stuck at the bottom, yet easily flies.
Present in sun, but not in rain,
Doing no harm, and feeling no pain.
What is it?

Asked by Neha on 17 May 2021


How can you make a TV, a bed, a dog, and a car liquid?

Asked by Neha on 27 Mar 2024

Can you count the number of lines in the below picture?

Count The Number Of Lines

Asked by Neha on 27 Dec 2023

You have two strings whose only known property is that when you light one end of either string it takes exactly one hour to burn. The rate at which the strings will burn is completely random and each string is different.

How do you measure 45 minutes?

Asked by Neha on 19 Feb 2025


What can jump higher than a building?

Asked by Neha on 24 Oct 2025

What number comes next in the series?

5 15 5 18 5 24 14 20 _

Asked by Neha on 15 Jun 2023

I look at you, you look at me I raise my right, you raise your left. What am I?

Asked by Neha on 24 Apr 2023


What month of the year has 28 days?

Asked by Neha on 08 May 2022

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.