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

What is always in front of you but can’t be seen?

Asked by Neha on 10 May 2022


A mother bought three dress for her triplets daughters(one for each) and put the dresses in the dark. One by one the girls come and pick a dress.
What is the probability that no girl will choose her own dress?

Asked by Neha on 03 Jul 2021

Andrew sees a very rare bird named "Ruppell's vulture". Soon Andrew was dead. Can you explain the mystery, Mr. Sherlock?

Asked by Neha on 13 Dec 2025


Some friends went on a vacation to a resort. It was raining heavily and it kept raining for thirteen days.

When it rained in the morning, the afternoon was beautiful and when it rained in the afternoon, the day was blessed with a clear morning.

Overall, the friends experienced eleven nice mornings and twelve nice afternoons. Can you find out the number of days they spent on vacation?

Asked by Neha on 08 Jun 2024

Find three whole, positive numbers that have the same answer when multiplied together as when added together.

Asked by Neha on 01 Jan 2021

what does the below math rebus puzzle mean?

Find the Rebus Meaning

Asked by Neha on 13 Nov 2023


our enemy challenges you to play Russian Roulette with a 6-cylinder pistol (meaning it has room for 6 bullets). He puts 2 bullets into the gun in consecutive slots, and leaves the next four slots blank. He spins the barrel and hands you the gun. You point the gun at yourself and pull the trigger. It doesn't go off. Your enemy tells you that you need to pull the trigger one more time, and that you can choose to either spin the barrel at random, or not, before pulling the trigger again. Spinning the barrel will position the barrel in a random position.

Assuming you'd like to live, should you spin the barrel or not before pulling the trigger again?

Asked by Neha on 04 May 2022

Which wheel of car does not rotate when you turn your car right?

Asked by Neha on 08 Aug 2021

If 2 workers can complete painting 2 walls in exactly 2 hours.

How many workers would be needed to paint 18 walls in 6 hours?

Asked by Neha on 09 Feb 2026


With the help clues provided in the image, can you find the 5 digit key?

Find the Key

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.