What is the probability of 2 or more people having the same birthday in a class of 25?
The probability that none have the same birthday is (364/365)*(363/365)*(362/365)*...*(341/365) ≈ 0.431
So the probability that at least 2 have the same birthday is 1 - 0.431 = 0.569
.
It is 1- the probability that they all have different birthdays
=1−(365365∗364365∗363365∗362365∗361365∗......∗366−25365)=1−(365365∗364365∗363365∗362365∗361365∗......∗365−24365)=1−(365P2436525)
1−(365!(365−25)!)36525=0.5686997039694639
So P(2 or more have the same birthday) is approx 0.57 or 57%