An Interesting Combinatorics Problem
June 17th, 2023
The Motivation
A few weeks ago, I was preparing for my pharmacology subject examination and stumbled across a combinatorics problem with a rather interesting solution. I had completed the online question bank and wanted to repeat all of the questions again as a final review in the 10 days before the exam. However I had no way of resetting the question bank without buying another subscription, so I settled on the next best thing: generating tests that were maximum-sized random samples of 40 questions from the bank while wondering how many of these tests I would need to complete such that I could be reasonably certain that I would see every question in the question bank.
After a bit of searching on the internet, I stumbled across this
question posted on a
mathematics forum and realized that my question and the question posed on the
forum are materially equivalent. In both cases we ask how many samples of
Deriving a Formula
Suppose there are
The probability that you have managed to avoid at least one question during the
first
Using the tail sum for expectation
formula,
we are able to derive an expression for the expectation of
Using the above derived formula on the problem posed in the forum post
(