Problem
A group of 50 people are comparing their birthdays (as usual, assume their birthdays are independent, are not February 29, etc.). Find the expected number of days in the year on which at least two of these people were born.
Solution
By linearity of expectation, the answer is 365 times the probability that at least two people were born on a given day. For a given day, there are 50 choose 2 or 1225 ways to choose two people who are born on that day and since the remaining people could be born on any day there are 365^48 choices for their birthdays. Dividing by 365^50, the number of possibilities with no restrictions, and multiplying by 365 yields, the expected number of days on which at least 2 people were born is 365(1225*365^48/365^50) = 1225/365, which is incorrect.
What is wrong about this approach?
There are indeed $1225$ ways to choose two people out of the $50$ to be born on January $1.$
One of those ways is to choose Alice and Bob. Another way is to choose Bob and Carol. Yet another way is to choose Alice and Carol.
Now for each of those three choices (and each of the $1222$ others), you say there are $365^{48}$ ways to distribute the other people's birthdays. And to get all the possible ways to have at least two people born on January $1,$ you add all $1225$ sets of $365^{48}$ ways together.
This is fine if each way to choose two people and then distribute the other $48$ birthdays is a distinct outcome from every other. You can add the probabilities of disjoint events.
But these are not disjoint events. The case where Alice, Bob, and Carol all are born on January $1$ is counted when you choose Alice and Bob, then again when you choose Bob and Carol, and again when you choose Alice and Carol.