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

The husband and wife were jogging in the morning. To match every two steps of the husband, the wife required three steps. If Both of them start with the here right foot. After how many steps do their left foot be together?

Asked by Neha on 08 Feb 2025


Create a number using only the digits 4,4,3,3,2,2,1 and 1. So i can only be eight digits. You have to make sure the ones are separated by one digit, the twos are separated by two digits the threes are separated with three digits and the fours are separated by four digits

Asked by Neha on 16 Sep 2021

Assume there are approximately 5,000,000,000 (5 billion) people on Earth. What would you estimate to be the result, if you multiply together the number of fingers on every person's left hand? (For the purposes of this exercise, thumbs count as fingers, for five fingers per hand.) If you cannot estimate the number then try to guess how long the number would be.

Asked by Neha on 24 Sep 2025


Spot what is wrong here in below Picture?

Spot the wrong in Picture

Asked by Neha on 11 Feb 2023

Find The Next Number In The Sequence

30 10 15 13 0 16 -15 ?

Asked by Neha on 20 Aug 2024

A Man gave one of his sons 10 cents and another son was given 15 cents. What time is it?
Hint: Figure out the relation between time and number, is not so easy..:)

Asked by Neha on 02 Nov 2023


You have two buckets of 11 liters and 6 litres.
How can you measure exactly 8 litres?

Asked by Neha on 17 Jan 2025

John needs to purchase 100 chocolates from three different shops and he has exactly 100 rupees to do that which he must spend entirely. He must buy at least 1 Chocolate from each shop.

The first shop is selling each chocolate at 5 paise, the second is selling at 1 rupee and the third is selling at 5 rupees.

How many chocolates should he buy from each shop?

Asked by Neha on 23 Aug 2023

A girl has as many brothers as sisters, but each brother has only half as many brothers as sisters. How many brothers and sisters are there in the family?

Asked by Neha on 03 Mar 2022


If,

A = 1

B = 2

C = 3

...

...

Z = 26.

Based on above rule, you need to find an eleven letter word whose letter sum is equal to 52.

Asked by Neha on 12 Feb 2021

Hot Articles

Amazing Facts

Word ladder puzzle

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