There are 1 million closed school lockers in a row, labeled 1 through 1,000,000.
You first go through and flip every locker open.
Then you go through and flip every other locker (locker 2, 4, 6, etc...). When you're done, all the even-numbered lockers are closed.
You then go through and flip every third locker (3, 6, 9, etc...). "Flipping" mean you open it if it's closed, and close it if it's open. For example, as you go through this time, you close locker 3 (because it was still open after the previous run through), but you open locker 6, since you had closed it in the previous run through.
Then you go through and flip every fourth locker (4, 8, 12, etc...), then every fifth locker (5, 10, 15, etc...), then every sixth locker (6, 12, 18, etc...) and so on. At the end, you're going through and flipping every 999,998th locker (which is just locker 999,998), then every 999,999th locker (which is just locker 999,999), and finally, every 1,000,000th locker (which is just locker 1,000,000).
At the end of this, is locker 1,000,000 open or closed?
Locker 1,000,000 will be open.
If you think about it, the number of times that each locker is flipped is equal to the number of factors it has. For example, locker 12 has factors 1, 2, 3, 4, 6, and 12, and will thus be flipped 6 times (it will end be flipped when you flip every one, every 2nd, every 3rd, every 4th, every 6th, and every 12th locker). It will end up closed, since flipping an even number of times will return it to its starting position. You can see that if a locker number has an even number of factors, it will end up closed. If it has an odd number of factors, it will end up open.
As it turns out, the only types of numbers that have an odd number of factors are squares. This is because factors come in pairs, and for squares, one of those pairs is the square root, which is duplicated and thus doesn't count twice as a factor. For example, 12's factors are 1 x 12, 2 x 6, and 3 x 4 (6 total factors). On the other hand, 16's factors are 1 x 16, 2 x 8, and 4 x 4 (5 total factors).
So lockers 1, 4, 9, 16, 25, etc... will all be open. Since 1,000,000 is a square number (1000 x 1000), it will be open as well.
Two men are in a desert. They're both wearing backpacks. One of the men is dead. The man who is alive, has his pack open. The dead man's pack is closed. What is in their packs?
Three playing cards in a row. Can you name them with these clues? There is a two to the right of a king. A diamond will be found to the left of a spade. An ace is to the left of a heart. A heart is to the left of a spade. Now, identify all three cards.
Once upon a time, in the West Lake village, a servant lived with his master. After service of about 30 years, his master became ill and was going to die.
One day, the master called his servant and asked him for a wish. It could be any wish but just one. The master gave him one day to think about it. The servant became very happy and went to his mother for discussion about the wish. His mother was blind and she asked her son for making a wish for her eye-sight to come back. Then the servant went to his wife. She became very excited and asked for a son as they were childless for many years. After that, the servant went to his father who wanted to be rich and so he asked his son to wish for a lot of money. The next day he went to his master and made one wish through which all the three (mother, father, wife) got what they wanted. You have to tell what the servant asked the master.
The servant said, "My mother wants to see her grandson swinging on a swing of gold."
Four people come to an old bridge in the middle of the night. The bridge is rickety and can only support 2 people at a time. The people have one flashlight, which needs to be held by any group crossing the bridge because of how dark it is.
Each person can cross the bridge at a different rate: one person takes 1 minute, one person takes 2 minutes, one takes 5 minutes, and the one person takes 10 minutes. If two people are crossing the bridge together, it will take both of them the time that it takes the slower person to cross.
Unfortunately, there are only 17 minutes worth of batteries left in the flashlight. How can the four travellers cross the bridge before time runs out?
The two keys here are:
You want the two slowest people to cross together to consolidate their slow crossing times.
You want to make sure the faster people are set up in order to bring the flashlight back quickly after the slow people cross.
So the order is:
1-minute and 2-minute cross (2 minute elapsed)
1-minute comes back (3 minutes elapsed)
5-minute and 10-minute cross (13 minutes elapsed)
2-minute comes back (15 minutes elapsed)
1-minute and 2-minute cross (17 minutes elapsed)
You're standing in front of a room with one lightbulb inside of it. You cannot see if it is on or off. Outside the room, there are 3 switches in the off positions. You may turn the switches any way you want to. You stop turning the switches, enter the room and know which switch controls the lightbulb. How?
You turn 2 switches "on" and leave 1 switch "off" and wait about a minute. Then enter the room, but just before you enter, turn one switch from "on" to "off". Once in the room, feel the lightbulb - if it is warm, but off, it has to be the last switch you turned off. If it is on, it has to be the switch left on. If it is cold and is off, it has to be the switch you left in the off position.
For thousands of years,
Seen only in tale.
The wind as a sail,
For one thunderous gale.
Shiny stores rich in lore,
The burning temper, like Earth's core.
What am I?
A woman who lived in Germany during World War II wanted to cross the German/Swiss border in order to escape Nazi pursuers. The bridge which she is to cross is a half mile across, over a large canyon. Every three minutes a guard comes out of his bunker and checks if anyone is on the bridge. If a person is caught trying to escape German side to the Swiss side they are shot. If caught crossing the other direction without papers they are sent back. She knows that it takes at least five minutes to cross the bridge, in which time the guard will see her crossing and shoot her. How does she get across?
She waits until the guard goes inside his hunt, and begins to walk across the bridge. She gets a little more than half way, turns around, and begins to walk toward the german side once more. The guard comes out, sees that she has no papers, and sends her "back" to the swiss side.
Swaff was traveling in an elevator, being cool, when he suddenly heard the cord supporting the elevator snap. Being the cool guy that he is, he knew of a myth where if you could jump at the right time, you could possibly be able to survive a plunge in an elevator.
Now, when Swaff was a boy, he spent all of his math classes making fun of his female teacher's moustache. He never paid attention, so he was a tad bit slow in his mathematical calculations. He did, however, have a very bizarre talent, in which he could tell the exact speed he was traveling. That came in pretty lucky today.
Swaff knew he was falling at an even rate of 50 miles per hour. When the cord snapped, he was exactly 110 feet above the ground. He knew that he must jump at the right time to have any hopes of surviving.
Now, after doing the math, please tell me when Swaff jumped.
He never did. By the time Swaff figured out that he would have to jump in 1.5 seconds, he would already be dead. Not even the best of mathematicians could do all the math needed in 1 and half seconds. Swaff fell to his death.
A man and woman run through a field holding hands. They bound toward the sunset, happy as can be. Suddenly, the man moves off of his straight-line course and starts veering to his left. At the same time, the woman begins running off to her right.
They continue this for a full minute, but never let go of each others' hands. How is this possible?
The man was facing forward, but the woman was running backwards. The man's right hand was holding the woman's right hand. They both veered in the same geographic direction, but it was the man's left and the woman's right because the woman was running backwards.