I am doing a problem where I want to find the smallest number of people n such that the proability of two people having the same birthday is > 1/2. I am doing this by calculating P(2 people (of n total people) have same birthday) = 1 - P(no 2 people have the same birthday)
Then P(no 2 people have the same birthday) = #(ways to have no people (n people total) have same birthday)/#(ways to assign birthdays without restrictions) = {365 \choose n}/#(weak permutations of n into 365 parts). However, this is not correct for some reason as the denominator should be 365^n...
so where did I go wrong?