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 number when divided in half becomes zero?

Asked by Neha on 20 Jul 2024


Solve the counting riddle by identifying the number of triangles in the given picture.

Count the Triangle Riddle

Asked by Neha on 26 Feb 2026

Can you solve the tricky chess rebus puzzle below by ciphering the hidden meaning?

Chess Rebus Riddle

Asked by Neha on 19 Dec 2020


what one word does the below rebus identifies?

Read Picture Rebus

Asked by Neha on 15 May 2025

A wealthy man lives alone in a small cottage. Being partially handicapped he had everything delivered to his cottage. The mailman was delivering a letter one Thursday when he noticed that the front door was ajar. Through the opening he could see the man's body lying in a pool of dried blood. When a police officer arrived he surveyed the scene. On the porch were two bottles of warm milk, Monday's newspaper, a catalog, flyers, and unopened mail. The police officer suspects it was foul play. Who does he suspect and why?

Murder Mystery Puzzle

Asked by Neha on 07 Apr 2021

Two natural numbers have a sum of less than 100 and are greater than one.

John knows the product of the numbers and Jacob knows the sum of numbers.

The following conversation takes place between them:
John: 'I am not aware of those numbers.'
Jacob: 'I knew you wouldn't be. I am not aware myself.'
John: 'Now I know them!'
Jacob: 'Now I know them, too!'

What are the two numbers?

Asked by Neha on 07 Feb 2026


Take away the whole and some still remain. What is it?

Asked by Neha on 19 Dec 2024

In a jungle where there are no street lights or any other artificial source of lights, I notice a black snake crossing the road.
How did I get sight of the snake?

Asked by Neha on 15 Oct 2023

Christina is older than Kareena and Karishma. Katrina is older than Karishma and younger than Kareena. If Kareena has a brother named John, who is older than Christina, who's the youngest?

Asked by Neha on 10 Jul 2024


Below the four parts have been reorganised. The four partitions are exactly the same in both arrangements. Why is there a hole?

Missing Piece Riddle

Asked by Neha on 03 Apr 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.