Problem:
Let be the set of divisors of . Let be the set of integers between and , inclusive. Mark chooses an element of and an element of uniformly at random. What is the probability that divides ?
Problem:
Let be the set of divisors of . Let be the set of integers between and , inclusive. Mark chooses an element of and an element of uniformly at random. What is the probability that divides ?
Solution:
The answer is .
As , there are divisors of , so there are possible pairs of and that can be chosen.
If is chosen, then there are possible values of such that divides , so the total number of valid pairs of and is .
The answer is therefore .