taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.6-31

Exercise 1.2.6-31

proved in Lean solution written

RatingM20
MarkersM (mathematical)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Find the value of ∑k(m−r+sk)(n+r−sn−k)(r+km+n)\sum_k \binom{m-r+s}{k}\binom{n+r-s}{n-k}\binom{r+k}{m+n} for integers mm, nn.

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Follow the suggestion: expand (r+km+n)\binom{r+k}{m+n} by eq. 1.2.6(21).

Hint 2

Combine (m−r+sk)(kj)\binom{m-r+s}{k}\binom{k}{j} with eq. 1.2.6(20), then sum over kk with (21).

Hint 3

Use (20) once more and then (21) in jj.

Solution

Show the solution

Write a=m−r+sa = m - r + s and b=n+r−sb = n + r - s. Note a+b=m+na + b = m + n. By eq. 1.2.6(21), (r+km+n)=∑j(rm+n−j)(kj)\binom{r+k}{m+n} = \sum_j\binom{r}{m+n-j}\binom{k}{j}. So the sum is ∑j(rm+n−j)∑k(ak)(kj)(bn−k).\sum_j\binom{r}{m+n-j}\sum_k\binom{a}{k}\binom{k}{j}\binom{b}{n-k}. By eq. 1.2.6(20), (ak)(kj)=(aj)(a−jk−j)\binom{a}{k}\binom{k}{j} = \binom{a}{j}\binom{a-j}{k-j}. Then eq. 1.2.6(21), in the variable k−jk - j, gives ∑k(a−jk−j)(bn−k)=(a+b−jn−j)=(m+n−jn−j).\sum_k\binom{a-j}{k-j}\binom{b}{n-k} = \binom{a+b-j}{n-j} = \binom{m+n-j}{n-j}. So the sum is ∑j(rm+n−j)(aj)(m+n−jn−j)\sum_j\binom{r}{m+n-j}\binom{a}{j}\binom{m+n-j}{n-j}. A term is zero unless M=m+n−j≥0M = m + n - j \ge 0, since otherwise (rM)=0\binom{r}{M} = 0. For M≥0M \ge 0 the symmetry rule gives (Mn−j)=(Mm)\binom{M}{n-j} = \binom{M}{m}, because M−(n−j)=mM - (n - j) = m. By eq. 1.2.6(20), (rM)(Mm)=(rm)(r−mM−m)\binom{r}{M}\binom{M}{m} = \binom{r}{m}\binom{r-m}{M-m}, and M−m=n−jM - m = n - j. So the sum is (rm)∑j(aj)(r−mn−j)=(rm)(a+r−mn)=(rm)(sn),\binom{r}{m}\sum_j\binom{a}{j}\binom{r-m}{n-j} = \binom{r}{m}\binom{a+r-m}{n} = \binom{r}{m}\binom{s}{n}, by (21) once more, since a+r−m=sa + r - m = s.

Check

Take r=2r = 2, s=1s = 1, m=1m = 1, n=1n = 1. Then m−r+s=0m - r + s = 0 and n+r−s=2n + r - s = 2. Only k=0k = 0 contributes: (00)(21)(22)=2\binom{0}{0}\binom{2}{1}\binom{2}{2} = 2. And (21)(11)=2\binom{2}{1}\binom{1}{1} = 2.

Remarks

The sum has the form of a triple product, and the result is a product of two coefficients. This is one of the identities in the family of eq. (22) and eq. (26). A different route sums over rr by a polynomial argument.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.