Omnium Gatherum
Praemissa propositio .
Consider
k
threads independently selecting one item each from a collection of
n
items. The probability that at least one thread selects a particular item is one minus the probability that every thread selects an item other than that:
Utile theorema .
When
, this is approximately
.
Ratio demonstrandi .
When
k
= 1, this is exact:
Considering
k
= 2 and
k
= 3 gives the general idea of an argument. We first reärrange
and then expand:
Here we can see the origin of the
term,
and it appears that simply applying the binomial theorem will suffice.
to-do finish proof and remark this can be used to calculate chance of collision
(the size of the error term relative to k/n can be made as small as desired, less than ε, by choosing a sufficiently small k/n)