Tom K. answered 02/19/21
Knowledgeable and Friendly Math and Statistics Tutor
Normally, we ask what is the probability that at least two have the same birthday. The assumption is made that all birthdays are equally likely and we have 365 days.
Then, it is 1 - P(all have different birthdays) = 1 - P(365,20)/365^20, as P(365,20) gives the number of possible orders when you can select 20 items from 365 without replacement. P stands for permutation.
In Excel, we get
1 - Permut(365,20)/365^20 = 0.4114
If we want exactly two, that is a slightly different question.
The number of single matches among the 20 people would be C(20,2) to choose the matching pair, then Permut(365,19) to select first the day for the pair, then the days for the 18 remaining.
C(20,2)*Permut(365,19)/365^20 = 0.3232
Terese R.
Thanks! Assuming n=20...What is the asterisk supposed to be?02/19/21