Brain Teasers
Random Numbers with Constraints
Probability
Probability puzzles require you to weigh all the possibilities and pick the most likely outcome.Probability
Generate two random numbers from 1 to 9, inclusive. Call them n1 and n2. What is the probability that | n1 - n2 | > 5?
Answer
12/81Since you are making two choices of 9 numbers each, there are 81 total possible combinations (9 x 9).
The only combinations that have a difference greater than 5 are:
9 and 1, 2, or 3
8 and 1 or 2
7 and 1
This makes six combinations, but you also have to take them in the reverse order (i.e. 1 and 9 is a different combination than 9 and 1). This makes a total of 12 possibilities, making the probability 12 in 81.
Hide Answer Show Answer
What Next?
View a Similar Brain Teaser...
If you become a registered user you can vote on this brain teaser, keep track of which ones you have seen, and even make your own.
Solve a Puzzle
Comments hidden to avoid spoilers.
Follow Braingle!