Regarding the problem: choosing 23 people randomly, show that there is greater than a $50$ percent chance that at least two of them will have the same birthday. What is the error in the way I'm trying to calculate this probability:
The equation one must of couse be familiar is that any probability expresses the ratio of the number of favorable outcomes to the number of total outcomes. The number of total outcomes is easily seen to be $365^{23}$. The number of favorable outcomes should be calculated then. What we favor is "at least two people with the same birthday"; and this could mean either exactly $2$ people, or exactly $3$ people, or ..., exactly $23$ people. Nevertheless, we severally count them. For exactly $2$ people (and similarly for all other counts), we break the counting procedure into two tasks: how many ways can $2$ people be combined, and how many ways can two people have the same birthday. The first task is evident to be $23\choose 2$, and the second $365$. Hence, by the multiplication principle, exactly 2 people can have the same birthday in $23\choose 2$$\times 365$ ways. Similarly, exactly $3$ people can have the same birthday in $23\choose 3$$\times 365$ ways; and similarly, exactly $23$ people can jave the same birthday in $365$ ways. So adding all the favorable outcomes, and doing some factoring, we have: $365\times ($$23\choose 2$$ + $$23\choose 3$$ + ... + $$23\choose 23$$)$. Since $n\choose 0$$+$$n\choose 1$$+ ... + $$n\choose n$$ = 2^n$. We can simplify the result into $365\times (2^{23} – 23 – 1) = 365\times (2^{23} – 24)$. So this, the number of favorable outcomes, divided by the number of total outcomes ($= 365^{23}$) is going to be $365\times (2^{23} – 24)\over 365^{23}$$ = $$2^{23} – 24 \over 365^{22}$. However, this is a very small number, and nowhere is it close to $0.5$. I would appreciate guidance; thank you in advance.