In a group of 8 people what are the chances of at least 2 people getting the same number if they're rolling from 1 to 99 on a uniform distribution?
I've tried working this out by finding out the probability of no one in the group getting the same number then taking that from 1.
My initial calculation was thus $$1 - (98 \times 97 \times 96 \times 95 \times 94\times 93\times 92)/99^7 = 0.252 (3sf)$$ which seems way too high.
The other way of solving this is to find the probability of exactly 1<x people rolling the same number then adding them together, in which I got 0.00821 (3 sf) which is way too small since the probability must be greater than 1/99.
The calculation being $\sum_{i=1}^7 \frac{98!}{99^7 \times (91+i)!}$ Can someone point out where I've gone wrong?
This is a variant of the famous birthday problem, which has various answers on this site and on the Internet; you may want to do a quick search.
Let's focus on the simplicity of the solution. It is easiest to find the probability that the eight people avoid getting matching numbers 1 through 99. $$P(\mathrm{No\,Match}) = \frac{99}{99}\frac{98}{99}\cdots\frac{92}{99} = \frac{{}_{99}P_8}{99^8} =0.7481.$$ S0, the probability of at least one match is $1-0.7481 = 0.2519.$
In the actual birthday problem (ignoring leap years) the issue arises that not all 365 days of the year may be equally likely. One can check using actual birthday frequencies in the US where the distribution being simulated is not exactly uniform.
For your problem, a simulation of a million plays of the 8-person game can be done in R as shown below. With a million iterations one can expect 2 or 3 place accuracy; the result is $0.252\pm 0.001.$
Simulation also allows us to get the expected number of matches among the eight players (about $0.28).$
In the R code
uis a vector of a million numbers of uniquely different results among the eight players.