Because Oct 31 represents the octal (base 8) number 31, which, when converted to decimal, is 25. Dec 25 is short for Decimal 25, thus the two are equal.
A tornado or a hurricane. The calm area in the middle of such a storm is called the eye and wind speeds can reach up to 300 mph in an extreme tornado. Neither one have any arms or legs, but that doesn’t stop them from moving, does it?
You are a cook in a remote area with no clocks or other way of keeping time other than a four-minute and a seven-minute hourglass. On the stove is a pot of boiling water. Jill asks you to cook a nine-minute egg in exactly 9 minutes, and you know she is a perfectionist and can tell if you under cook or overcook the egg by even a few seconds. How can you cook the egg for exactly 9 minutes?
1. Flip both hourglasses over and drop the egg into the water.
2. When the 4-minute timer runs out, flip it over (4 minutes elapsed, 3 remaining on the 7-minute timer).
3. When the 7-minute timer runs out, flip it over. (7 minutes elapsed, 1 remaining in the 4-minute timer)
4. When the 4-minute timer runs out, flip the 7-minute timer over. (8 minutes elapsed. 6 minutes remained in the 7-minute timer, but flipping it over leaves one minute’s worth of sand on top. When it runs out exactly nine minutes will have elapsed.)
You’re in a room with two doors. There’s a guard at each door. One door is the exit, but behind the other door is something that will kill you. You’re told that one guard always tells the truth and the other guard always lies. You don’t know which guard is which. You are allowed to ask one question to either of the guards to determine which door is the exit.
Ask either guard what door the other guard would say is the exit, then choose the opposite door.
If you ask the guard who always tells the truth, he knows the other guard would lie, so he’ll point you to the door leading to death. If you ask the guard who always lies, he knows the other guard would truthfully show you the exit, so he’ll lie and point you to the door leading to death.
An alternate solution is to ask a guard what they would answer if you were to ask them which door was the exit, then choose that door. The truthful guard will point to the correct exit, but the lying guard will too. Here’s why. If you asked him what door was the exit, he would normally lie and point to the death door, but you asked him what he would say if you asked what door was the exit, and in order to lie to that question, he will point you to the exit.