Looking at each part of this lottery problem:
(a) Probability that L includes no consecutive integers
To count r-element subsets with no consecutive integers, imagine placing r numbers on a line where adjacent numbers must have gaps. If we select numbers a₁ < a₂ < ... < aᵣ with no consecutive pairs, then aᵢ₊₁ ≥ aᵢ + 2.
Using a bijection: map (a₁, a₂, ..., aᵣ) to (a₁, a₂-1, a₃-2, ..., aᵣ-(r-1)). This transforms our constraint into selecting r numbers from {1, 2, ..., n-r+1}.
Therefore: P(no consecutive integers) = C(n-r+1, r) / C(n, r)
(b) Probability that L includes exactly one pair of consecutive integers
This is more complex. We need to count r-subsets containing exactly one consecutive pair. One approach involves:
- Choosing which consecutive pair (i, i+1) to include
- Selecting r-2 additional numbers that form no consecutive pairs with each other or with the chosen pair
The exact formula involves careful inclusion-exclusion counting. The result depends on the specific values of n and r.
(c) Probability the numbers in L are drawn in increasing order
If the lottery draws r numbers sequentially without replacement, there are r! possible orderings of any r-subset, and exactly one is increasing.
Therefore: P(drawn in increasing order) = 1/r!
(d) Probability your choice matches L exactly
Since the lottery randomly selects one of the C(n,r) possible r-subsets:
P(your choice = L) = 1/C(n,r)
(e) Probability exactly k of your numbers match members of L
For exactly k matches:
- Choose k of your r numbers to match: C(r,k) ways
- L must include these k numbers
- L must choose its remaining r-k numbers from the n-r numbers you didn't choose: C(n-r, r-k) ways
Therefore: P(exactly k matches) = C(r,k) × C(n-r, r-k) / C(n,r)
This formula is symmetric in the sense that P(k matches) equals the hypergeometric probability of drawing exactly k successes when sampling r items without replacement from a population of n items containing r successes.