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-30

Exercise 1.2.6-30

proved in Lean solution written

RatingM24
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 ∑k(n+km+2k)(2kk)(−1)kk+1\sum_k \binom{n+k}{m+2k}\binom{2k}{k}\frac{(-1)^k}{k+1} in a way that applies Rothe's identity (26), as the book suggests.

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

The factor (2kk)/(k+1)\binom{2k}{k}/(k+1) is the number Ak(1,−2)A_k(1, -2) of Example 4 with t=−2t = -2.

Hint 2

Negate the upper index of (n+km+2k)\binom{n+k}{m+2k} to get a coefficient of the form (s−t(j−k)j−k)\binom{s - t(j-k)}{j-k} with t=−2t = -2.

Solution

Show the solution

Let j=n−mj = n - m. By the symmetry of the problem we write (n+km+2k)\binom{n+k}{m+2k} as a coefficient with lower index j−kj - k. For k≥0k \ge 0 the upper index n+kn + k is a nonnegative integer, so eq. 1.2.6(6) gives (n+km+2k)=(n+kj−k)\binom{n+k}{m+2k} = \binom{n+k}{j-k}. For k<0k < 0 the factor (2kk)\binom{2k}{k} is zero (negative lower index), so such kk do not count.

Step 1: the Catalan factor. For k≥0k \ge 0, Ak(1,−2)=(1+2kk)11+2k=(2k)!k! (k+1)!=(2kk)1k+1A_k(1, -2) = \binom{1+2k}{k}\frac{1}{1+2k} = \frac{(2k)!}{k!\,(k+1)!} = \binom{2k}{k}\frac{1}{k+1}.

Step 2: negate the upper index. Eq. 1.2.6(17) gives (n+kj−k)=(−1)j−k((j−k)−(n+k)−1j−k)=(−1)j−k(−m−2k−1j−k)\binom{n+k}{j-k} = (-1)^{j-k}\binom{(j-k)-(n+k)-1}{j-k} = (-1)^{j-k}\binom{-m-2k-1}{j-k}. With −m−2k−1=(−m−2j−1)+2(j−k)-m - 2k - 1 = (-m-2j-1) + 2(j-k) and s=−m−2j−1s = -m - 2j - 1 this is (−1)j−k(s+2(j−k)j−k)(-1)^{j-k}\binom{s + 2(j-k)}{j-k}.

Step 3: apply (26). The sum is, with the sign (−1)k(−1)j−k=(−1)j(-1)^k(-1)^{j-k} = (-1)^j, (−1)j∑kAk(1,−2)(s+2(j−k)j−k).(-1)^j\sum_{k}A_k(1,-2)\binom{s+2(j-k)}{j-k}. For j≥0j \ge 0 the terms with k<0k < 0 and k>jk > j are zero, since Ak=0A_k = 0 for k<0k < 0 and the lower index j−kj - k is negative for k>jk > j. Eq. 1.2.6(26) with r=1r = 1, t=−2t = -2, n=jn = j gives ∑kAk(1,−2)(s+2(j−k)j−k)=(1+s+2jj)=(−mj).\sum_k A_k(1,-2)\binom{s+2(j-k)}{j-k} = \binom{1+s+2j}{j} = \binom{-m}{j}. By eq. 1.2.6(17), (−1)j(−mj)=(j+m−1j)=(n−1n−m)(-1)^j\binom{-m}{j} = \binom{j+m-1}{j} = \binom{n-1}{n-m}.

If j<0j < 0 every term has a negative lower index j−k<0j - k < 0 for k≥0k \ge 0, so the sum is 00, and (n−1n−m)=0\binom{n-1}{n-m} = 0 as well.

Check

For n=2n = 2, m=1m = 1 the terms k=0,1k = 0, 1 are (21)=2\binom{2}{1} = 2 and (33)⋅2⋅(−1)/2=−1\binom{3}{3}\cdot 2 \cdot (-1)/2 = -1. The sum is 1=(11)1 = \binom{1}{1}. For n=4n = 4, m=2m = 2 the sum is 3=(32)3 = \binom{3}{2}. For n=0n = 0, m=−1m = -1 the sum is −1-1 (only k=1k = 1 contributes), and (−11)=−1\binom{-1}{1} = -1.

Remarks

For positive mm and nn the value (n−1n−m)\binom{n-1}{n-m} is the value (n−1m−1)\binom{n-1}{m-1} of the text, by symmetry. The form (n−1n−m)\binom{n-1}{n-m} also gives the right answer for n=0n = 0, where the symmetry rule does not apply. The case m=0m = 0 is eq. 1.2.6(28): the value is (n−1n)=δn0\binom{n-1}{n} = \delta_{n0}.

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.