logicThere are 3 switches outside of a room, all in the 'off' setting. One of them controls a lightbulb inside the room, the other two do nothing.
You cannot see into the room, and once you open the door to the room, you cannot flip any of the switches any more.
Before going into the room, how would you flip the switches in order to be able to tell which switch controls the light bulb?

Flip the first switch and keep it flipped for five minutes. Then unflip it, and flip the second switch. Go into the room. If the lightbulb is off but warm, the first switch controls it. If the light is on, the second switch controls it. If the light is off and cool, the third switch controls it.

## Similar riddles

See also best riddles or new riddles.

logicA man worked for a high-security institution, and one day he went in to work only to find that he could not log in to his computer terminal. His password wouldn't work. Then he remembered that the passwords are reset every month for security purposes. So he went to his boss and they had this conversation:
Man-"Hey boss, my password is out of date."
Boss-"Yes, that's right. The password is different, but if you listen carefully you should be able to figure out the new one: It has the same amount of letters as your old password, but only four of the letters are the same."
Man: "Thanks boss."
With that, he went and correctly logged into his station.
What was the new password?
BONUS: What was his old password?
HINT: It is nine letters long. Also, a "password" can be more than one word...

The old one was: Out of date
The new one is: Different
He said: My password is "Out of date." And the boss told him the new one when he said: "The password is different."

logicscaryshortThe person who built it sold it. The person who bought it never used it. The person who used it never saw it. What is it?

It's a coffin.

logicIn a small town in the United States, a teenage boy asked his parents if he could go to a friend's party. His parents agreed, provided that he was back before sunrise. He left the house that evening clean-shaven and when he returned just before the following sunrise his parents were amazed to see that he had a fully grown beard. What happened?

The small town was Barrow in Alaska, the northernmost town in the United States. When the sun sets there in the middle of November, it does not rise again for 65 days. That allowed plenty of time for the boy to grow a beard before the next sunrise.

logicmathThere are 5 pirates in a ship. Pirates have hierarchy C1, C2, C3, C4 and C5.C1 designation is the highest and C5 is the lowest. These pirates have three characteristics : a. Every pirate is so greedy that he can even take lives to make more money. b. Every pirate desperately wants to stay alive. c. They are all very intelligent.There are total 100 gold coins on the ship. The person with the highest designation on the deck is expected to make the distribution. If the majority on the deck does not agree to the distribution proposed, the highest designation pirate will be thrown out of the ship (or simply killed). The first priority of the pirates is to stay alive and second to maximize the gold they get. Pirate 5 devises a plan which he knows will be accepted for sure and will maximize his gold. What is his plan?

To understand the answer,we need to reduce this problem to only 2 pirates. So what happens if there are only 2 pirates. Pirate 2 can easily propose that he gets all the 100 gold coins. Since he constitutes 50% of the pirates, the proposal has to be accepted leaving Pirate 1 with nothing.
Now let’s look at 3 pirates situation, Pirate 3 knows that if his proposal does not get accepted, then pirate 2 will get all the gold and pirate 1 will get nothing. So he decides to bribe pirate 1 with one gold coin. Pirate 1 knows that one gold coin is better than nothing so he has to back pirate 3. Pirate 3 proposes {pirate 1, pirate 2, pirate 3} {1, 0, 99}. Since pirate 1 and 3 will vote for it, it will be accepted.
If there are 4 pirates, pirate 4 needs to get one more pirate to vote for his proposal. Pirate 4 realizes that if he dies, pirate 2 will get nothing (according to the proposal with 3 pirates) so he can easily bribe pirate 2 with one gold coin to get his vote. So the distribution will be {0, 1, 0, 99}.
Smart right? Now can you figure out the distribution with 5 pirates? Let’s see. Pirate 5 needs 2 votes and he knows that if he dies, pirate 1 and 3 will get nothing. He can easily bribe pirates 1 and 3 with one gold coin each to get their vote. In the end, he proposes {1, 0, 1, 0, 98}. This proposal will get accepted and provide the maximum amount of gold to pirate 5.

logicmathshort2+3=8,
3+7=27,
4+5=32,
5+8=60,
6+7=72,
7+8=?
Solve it?

98
2+3=2*[3+(2-1)]=8
3+7=3*[7+(3-1)]=27
4+5=4*[5+(4-1)]=32
5+8=5*[8+(5-1)]=60
6+7=6*[7+(6-1)]=72
therefore
7+8=7*[8+(7-1)]=98
x+y=x[y+(x-1)]=x^2+xy-x

cleanlogicshortIt is impossible to keep it until you give it someone else. What is that?

A promise.

cleanlogicshortIf a boy is 12 and his brother is 13, how is the 12 year old older than his brother?

His brother is 13 months.

logicmathEvery day, Jack arrives at the train station from work at 5 pm. His wife leaves home in her car to meet him there at exactly 5 pm, and drives him home. One day, Jack gets to the station an hour early, and starts walking home, until his wife meets him on the road. They get home 30 minutes earlier than usual. How long was he walking? Distances are unspecified. Speeds are unspecified, but constant. Give a number which represents the answer in minutes.

The best way to think about this problem is to consider it from the perspective of the wife. Her round trip was decreased by 30 minutes, which means each leg of her trip was decreased by 15 minutes. Jack must have been walking for 45 minutes.

logicmathshortFind three positive whole numbers that have the same answer added together or when multiplied together.

1,2, & 3.
1 x 2 x 3 = 6 and 1 + 2 + 3 = 6

logicmysteryscaryA man was found dead with a cassette recorder in one hand and a gun in the other. When the police came in, they immediately pressed the play button on the cassette. He said "I have nothing else to live for. I can't go on," then the sound of a gunshot. After listening to the cassette tape, the police knew that it was not a suicide, but a homicide. How did they know?

If the man shot himself while he was recording, how did he rewind the cassette tape?