multichoose-with-replacement

Functions to compute the probability that two players who randomly choose k items with replacement from n distinct items will choose the same items (where order doesn't matter). The included PDF derives these expressions, while the Rust code calculates their value.