## Random Numbers with ConstraintsProbability puzzles require you to weigh all the possibilities and pick the most likely outcome.
Generate two random numbers from 1 to 9, inclusive. Call them n1 and n2. What is the probability that | n1 - n2 | > 5?
## Answer12/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 ## What Next?
Tweet
See another brain teaser just like this one...Or, just get a random 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. Back to Top |