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 quarter is one-fourth of a dollar but Mr. John has changed the equation as below :

DOLLAR * 4 = QUARTER

Can you replace each letter with a digit to make the above solution correct?

Asked by Neha on 15 Mar 2026


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

There are a number of books on a shelf. If one book is the 4th from the left and 6th from the right, how many books are on the shelf?

Asked by Neha on 28 Sep 2021


What is a word made up of 4 letters, yet is also made up of 3. Sometimes is written with 9 letters, and then with 4. Rarely consists of 6, and never is written with 5.

What has 4 Letters

Asked by Neha on 15 Mar 2024

The more of this there is, the less you see. What is it?

Asked by Neha on 19 May 2022

What does below chemistry rebus means?

What does this say

Asked by Neha on 02 Feb 2024


You are an expert on paranormal activity and have been hired to locate a spirit haunting an old resort hotel. Strong signs indicate that the spirit lies behind one of four doors. The inscriptions on each door read as follows:

Door A: It's behind B or C
Door B: Its behind A or D
Door C: It's in here
Door D: It's not in here

Your psychic powers have told you three of the inscriptions are false, and one is true. Behind which door will you find the spirit?

Asked by Neha on 23 Oct 2023

how come the second man dies?

How come the second man dies Riddle

Asked by Neha on 28 Feb 2026

What is the next shape from answers A, B, C, and D figure?

Next Shape Riddle

Asked by Neha on 20 Jan 2024


I possess a head

I flaunt a tail

But I don't have mouth or legs

Can you find out who I am?

Asked by Neha on 05 Feb 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.