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

Two trains start at the same time, one from Bangalore to Mysore and the other from Mysore to Bangalore. if they arrive at their destinations one hour and four hours respectively after passing one another, how much faster is one train running than the other?

Asked by Neha on 19 Apr 2022


In the given picture, you can find two letters missing. When two particular letters are placed in the missing spots, you get an eight-letter word while reading in the anti-clockwise direction. Can you find out the missing letters and the missing word eventually?

Picture Puzzle

Asked by Neha on 23 Dec 2024

Can you count the number of triangles in the given picture?

Count The Triangles <br />

Asked by Neha on 29 Dec 2024


Find the Odd One Out?
84129
32418
47632
36119
67626
72927

Asked by Neha on 05 Feb 2026

What does below Rebus mean ?

esgg sgeg gegs gsge

Asked by Neha on 10 May 2021

Thomas has missed an excessive number of days of school, so he must meet with Principal Davis. Mr. Davis asks him "Why on Earth have you missed so many days?" Thomas replies "There just isn't enough time for school. I need 8 hours of sleep a day, which adds up to about 122 days a year. Weekends off is 104 days a year. Summer vacation is about 60 days. If I spend about an hour on each meal, that's 3 hours a day or 45 days a year. I need at least 2 hours of exercise and relaxation time each day to stay physically and mentally fit, adding another 30 days. Add all of that up and you get about 361 days. That only leaves 4 days for school." The principal knows Thomas is full of it, but can't figure out why. Where is Thomas going wrong?

Asked by Neha on 03 Feb 2026


A father is locked up in jail. His wife has gone bankrupt. Their male child has to sell his hotel in order to gain some money. Yet their girl child does not care and is quite happy.

How can someone be so rude?

Asked by Neha on 30 Nov 2023

If you read clockwise, you can form a word by inserting three missing letters in the picture given below. Can you do it?

English Clockwise

Asked by Neha on 10 Sep 2023

Below, you will find the mathematical proof that 10 equals 9.99999?. But is that possible or there is something wrong about it? Can you find the error?

x = 9.999999...
10x = 99.999999...
10x - x = 90
9x = 90
x = 10

Asked by Neha on 27 Aug 2021


A man was gazing through the window of the 23rd floor of the building. He suddenly opened the window and jumped on the other side of the window. On landing on the floor, there was not a sheer mark of injury on him.

How can that be possible if he did not use any kind of parachute and did not land on a soft surface?

Asked by Neha on 12 Feb 2025

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.