4

Prove that for integers $n \geq 0$ and $a \geq 1$, $${n + a - 1 \choose a - 1} = \sum_{k = 0}^{\left\lfloor n/2 \right\rfloor} {a \choose n-2k}{k+a-1 \choose a-1}.$$

I figured I'd post this question, which was on an assignment I did, since I thought the solution was so nice.

syusim
  • 2,195
  • cf. http://math.stackexchange.com/q/601940/ etc – Grigory M Jan 17 '15 at 21:40
  • @GrigoryM: that's not at all the same question, so I don't know why it's relevant. – syusim Jan 19 '15 at 16:24
  • Both identities are of the form $\sum_k\binom a{b-2k}\binom{c+k}d=\binom ef$ — and I strongly suspect there is a unified proof. – Grigory M Jan 19 '15 at 18:48
  • Ah, alright. Sorry for the hostility, I guess I thought you were claiming this question had already been asked. – syusim Jan 19 '15 at 19:01
  • 1
    come to think of it, substituting $a\to 2n+1$, $n\to 2m-2n$ (and $k\to m-2n+k$) one can see that these two identities are equivalent – Grigory M Jan 19 '15 at 22:49
  • This identity also is QEDMO 4 problem 13 ( http://web.mit.edu/~darij/www/QEDMO4P13.pdf and http://artofproblemsolving.com/community/c6h137204 ), where my $n, k, u$ correspond to Samuel's $a, n, k$. – darij grinberg Jul 31 '15 at 20:51
  • @GrigoryM: The two identities are not equivalent (or at least I don't see why). Samuel's identity is a genuine generalization of the identity in http://math.stackexchange.com/q/601940 , because your substitution is not surjective (it forces $n$ to be even). But your observation is very good! – darij grinberg Jul 31 '15 at 20:55

3 Answers3

4

We have $a$ labelled boxes and $n$ indistinguishable balls. The lefthand side is the number of ways to distribute the balls amongst the boxes. The term

$$\binom{a}{n-2k}\binom{k+a-1}{a-1}$$

on the right is the number of ways to distribute $k$ pairs of balls amongst the boxes and then choose $n-2k$ of the boxes, each of which is to receive one of the remaining $n-2k$ balls. Thus, $k = \sum_{\text{box } i} \left\lfloor \dfrac{\text{number of balls in box } i}{2} \right\rfloor$. Clearly this can be anything from $0$ through $\lfloor n/2\rfloor$, so the righthand side also gives the number of ways to distribute the balls amongst the boxes.

(This is essentially Samuel Yusim's proof, but presented in a way that at least some readers will find a bit friendlier.)

Brian M. Scott
  • 616,228
4

This one can also be done using complex variables.

Suppose we seek to evaluate $$\sum_{k=0}^{\lfloor n/2\rfloor} {a\choose n-2k} {k+a-1\choose a-1}.$$

Introduce the integral representation $${a\choose n-2k} =\frac{1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{a}}{z^{n-2k+1}} \; dz.$$

Note that this integral is zero when $k>\lfloor n/2\rfloor$ so we may extend the sum to infinity.

This gives for the sum the integral $$\frac{1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{a}}{z^{n+1}} \sum_{k\ge 0} {k+a-1\choose a-1} z^{2k} \; dz \\ = \frac{1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{a}}{z^{n+1}} \frac{1}{(1-z^2)^a} \; dz \\ = \frac{1}{2\pi i} \int_{|z|=\epsilon} \frac{1}{z^{n+1}} \frac{1}{(1-z)^a} \; dz.$$

This last one evaluates to $${n+a-1\choose a-1}$$ by inspection (Newton binomial).

Marko Riedel
  • 61,317
  • Nice answer, but every time you wrote $\dfrac{1}{2\pi i}\int_{\left|z\right| = \epsilon}$, you could have written $\operatorname{Res}_z$ instead, where $\operatorname{Res}_z$ is the map which sends every (formal) Laurent series to its coefficient before $z^{-1}$. The whole argument would have then become purely algebraic and (IMHO) easier to read. The use of complex analysis in your proof is contractable to a point :) – darij grinberg Aug 01 '15 at 12:56
  • Thank you for pointing this out. I do sometimes use additional properties of complex variables like for example in this MSE proof of an identity by Gosper. – Marko Riedel Aug 01 '15 at 20:28
3

Supposedly we should have a bijection $$f: M(n, a) \to \bigcup_{k=0}^{\left\lfloor n/2 \right\rfloor}\left( B(a, n-2k)\times M(k, a)\right)$$ (where $B(a, n-2k)$ is simply the set of all $n-2k$-element subsets of $\{1, 2, \dots, a\}$ and $M(n, a)$ is the set of $n$-element multisets with $a$ types). So take the function $$f: (c_1, \dots, c_a) \mapsto (S, (d_1, \dots, d_a))$$ where $d_i = \left\lfloor c_i/2 \right\rfloor$ and $S = \{\alpha \in \{1, \dots, a\} : \left\lfloor c_\alpha/2 \right\rfloor \neq c_\alpha/2\}$. Now, it's probably worth mentioning that the set $S$ as defined here is always going to be of size $n-2k$ for some $k$ between $0$ and $\left\lfloor n/2 \right\rfloor$, since if $n$ is even, an even number of terms in the multiset will be odd, and if $n$ is odd, an odd number of terms will have an odd value.

The inverse to this function is going to be $$g: \bigcup_{k=0}^{\left\lfloor n/2 \right\rfloor}\left( B(a, n-2k)\times M(k, a)\right) \to M(n, a)$$ defined by $$g : (S, (d_1, \dots, d_a)) \mapsto (c_1, \dots, c_a)$$ where $c_i = \begin{cases} 2d_i & i \notin S \\ 2d_i + 1 & i \in S \end{cases}$. It should be clear that this is the inverse of $f$, and so we're good.

syusim
  • 2,195