I'm doing a self-review of probability and working through Ross' Introduction to Probability.
The question is (Ross, ch2 number 51): suppose $n$ balls are randomly distributed into $N$ compartments. Find the probability that $m$ balls fall in the first compartment, assuming all $N^n$ arrangements are equally likely.
I solved this two ways -- it's $$\frac{ \displaystyle{n \choose m} (N-1)^{n-m}}{ N^n }.$$ Easy enough. You can also think of this as a bernoulli trial w/ prob $$p = \frac{1}{N}$$ so that $$P(k=m) = \displaystyle{n \choose m} p^m (1-p)^{n-m} = \displaystyle{ n \choose m } \frac{1}{N}^m \left(\frac{N-1}{N}\right)^{n-m}$$ and those are equal. So my answer is probably right.
My question is Ross also mentions a formula for the number of nonnegative integer solutions to $$x_1 + x_2 + \ldots + x_r = n;$$ there are $$\displaystyle{n+r-1 \choose r-1}$$ solutions. So I feel like the answer to this problem should also be the number of solutions to $$x_2 + \ldots + x_N = n - m$$ divided by the number of solutions to $$x_1 + \ldots + x_N = n,$$ ie $$ \frac{\displaystyle{ n - m + (N-1) - 1 \choose (N-1) - 1}}{\displaystyle{n + N - 1 \choose N - 1}} = \frac{\displaystyle{ n - m + N-2 \choose N-2}}{\displaystyle{n + N - 1 \choose N - 1}} $$ but it's not -- I couldn't make this factory correctly, so I tried it with a random choice of numbers for $n,N,m$ and it's definitely not equal. My question is why not? There should be a correspondence between balls in compartments and the number of nonnegative vectors $x_1 + \ldots + x_N = n$, right?
