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

How many times can you subtract the number 5 from 25?

Asked by Neha on 05 Oct 2021


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

Asked by Neha on 31 Dec 2020

Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021


A bomb goes off.
Carnage.
One person, only a few feet away, survives! How can this be?

Asked by Neha on 19 Sep 2021

Four cars come to a four-way stop, each coming from a different direction. They can’t decide who got there first, so they all go forward at the same time. All 4 cars go, but none crash into each other. How is this possible?

Asked by Neha on 11 Aug 2025

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


He digs out tiny caves and stores gold and silver in them. He also built bridges of silver and made crowns of gold. They are the smallest you could imagine. Sooner or later everybody needs his help, yet many people are afraid to let him help them. Who is he?

Asked by Neha on 23 Dec 2025

The dirtier I get, the whiter I look. Who am I?

Asked by Neha on 12 Jan 2026

I am a word that begins with the letter “i.” If you add the letter “a” to me, I become a new word with a different meaning, but that sounds exactly the same. What word am I?

Asked by Neha on 19 Mar 2025


The first person saw the bridge step on it and crossed,
the second person saw the bridge did not step on it but crossed,
the third person did not see the bridge did not step on it but crossed.
Who are these people?

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Challenging

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