There is a box in which distinct numbered balls have been kept. You have to pick two balls randomly from the lot.
If someone is offering you a 2 to 1 odds that the numbers will be relatively prime, for example
If the balls you picked had the numbers 6 and 13, you lose $1.
If the balls you picked had the numbers 5 and 25, you win $2.
A man desired to get into his work building, however he had forgotten his code.
However, he did recollect five pieces of information
* Fifth number + Third number = 14
* The fourth number is one more than the second number.
* The first number is one less than twice the second number.
* The second number and the third number equals 10.
* The sum of all five numbers is 30.
A thief enters a store and threatens the clerk, forcing her to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code.†But the thief manages to guess the code on his own. How did he do it?