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 identify the hidden rebus in the image below?

Name the Coded Animal

Asked by Neha on 01 Feb 2021


A Car is crossing a bridge 2 miles long. The bridge can only hold 10000 lbs, which is the exact weight of the car. The Car makes it half way across the bridge and stops. A bird lands on the car. Does the bridge collapse? Explain.

Asked by Neha on 31 May 2024

Replace the (?) with the correct mathematical signs to make the expression equal to 59.

18 ? 12 ? 4 ? 5 = 59

Asked by Neha on 06 Mar 2024


If you paint a brown house white it will become a white house. If the stoplight changes from red to green, then the light is green. So, if you throw a white shirt into the Red Sea, what will it become?

Asked by Neha on 07 Jun 2025

using four eights (8) and a one (1) and one mathematical symbol , create the number 100

Asked by Neha on 31 Dec 2020

You can see three almost identical images below. Can you spot the odd one out from them?


Find the Odd One Out

Asked by Neha on 17 May 2021


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

I am five letter word that is under you.
If you remove my 1st letter, then I am over you.
If you remove my 1st and 2nd letters then I am all around you.

Who am I?

Asked by Neha on 19 Jan 2024

Solve the mathematical equation in the picture below.

Math Equation Picture

Asked by Neha on 16 May 2023


I have Rs.50 and I spend it in the way as below.

Fund and Spends

Asked by Neha on 01 Oct 2023

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.