The complement event is for all of them to have different birthdays. Suppose they are Tom, Dick and Harry. So we get the probability that they all have different birthdays. There are 365 possible birthdays for Tom. That leaves 364 possible birthdays for Dick. That leaves 363 possible birthdays for Harry. So the number of ways they can all have different birthdays isThe number of ways they can have ANY birthdays, different or not, is So the probability that all three have different birthdays is So the probability that at least two have the same birthday is Edwin