Everyone is calculating the birthday problem here by multiplying the probabilities of each person's birthday. Like the following "first oe has $365/365$ the second has $364/365$..... and so on..." . And this is the complementary of the probability so you take $1$ minus it.
This is fine from a probability point of view. But once you go to combinatorics I get confused.
The thing that bothers me is that the formula you get in the end is similar to the combinatorial formula of choosing $k$ from $n$ if order matters divided by all possible selections of $k$.
My problem is that the formula should be calculated the same but when order doesnt matter. That is, I want to choose $k$ days from a year of $365$ so I got ${365}\choose{k}$ all divided by $k+n-1 \choose k$ which is the formula for choosing $k$ from $n$ with repetitions allowed and order doesn't matter.
I don't understand why it does not yield the same result. Even though this seems to me to be the correct way to solve it. Because I dont care about order, all what matters is that I choose k different days out of the year which is the complementary of the probability.
Okay maybe the best way to treat this is to look at an easy example. Let's say each year has only two days $\{1,2\}$ and there are two people. What is the probability that they share the same birthday?
Let's look at the probability that they have birthdays on different days. Following the logic of the birthday problem we have that the answer is $1/2$. Easily we note that this is correct, i.e. let $a$ and $b$ denote the birthday dates of person $A$ and $B$ respectively, we have there following equally likely possibilities for the tuple $(a,b)$: $(1,1)$, $(1,2)$, $(2,1)$ and $(2,2)$. And only two of them show different values, hence the answer is $2/4=1/2$.
Now using your approach we have that ${2}\choose{2}$ $=1$, namely the case $\{a,b\}=\{1,2\}$, and the number of possibilities with repetition when order doesn't matter is $3$, i.e. "$(1,1)$", "$(1,2)$ or $(2,1)$" and "$(2,2)$". So the answer would be $1/3$, which is clearly wrong.
I feel like the problem here is that trying to divide by outcomes with repetition where order doesn't matter means implicitly assigning the same probability to outcomes like "$(1,1)$" and "$(1,2)$ or $(2,1)$", which is mistaken.
So the best approach here seems to be to take into account order.