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

There is a hypothetical state between the USA and Mexico border 'Tango'.
Here 70 percent of the population have defective eyesight, 75 percent are hard of hearing, 80 percent have Nose trouble and 85 percent suffer from allergies, what percentage (at a minimum) suffer from all four ailments?

Asked by Neha on 17 May 2024


Can you solve this picture maths equation?

Easy Maths

Asked by Neha on 09 Jun 2023

I am the beginning of everything, the end of everywhere. I'm the beginning of eternity, the end of time and space. What am I?

Asked by Neha on 21 Mar 2025


Can you complete the sequence?

192, 021, 222, 324, 252, 627, 2__, 9__?

Asked by Neha on 07 Nov 2025

Find the mistake in the below maths equations

A = 2
A(A-1) = 2(A-1)
A2-A = 2A-2
A2-2A = A-2
A(A-2) = A-2
A = 1

Asked by Neha on 15 Oct 2024

Five teams were competing in cricket where they faced each other exactly once. After the tournament, the following is the point table.

DareDevils 6
SuperKings 5
Royals 4
Sunrisers 2
Riders ?

How many points did Riders end up with?

Asked by Neha on 14 Nov 2025


Jim and Sarah are in a long-distance relationship. Jim buys an engagement ring for Sarah and wants to mail it to her. Unfortunately, the only way to ensure the ring will be received is to place a lock on the package. Jim has locks and Sarah has locks, but neither has keys for each other’s locks. How can they make sure the ring isn’t stolen?

Asked by Neha on 17 Jun 2025

What is the next number in this matchsticks series riddle?

Next Number In Matchstick Series

Asked by Neha on 27 Apr 2021

A word I know,
Six letters contain,
Subtract just one,
And twelve is what remains.

Asked by Neha on 18 Feb 2024


If a wheel has 54 spokes, how many spaces are there between the spokes?

Asked by Neha on 27 Sep 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.