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

Exercise 1.2.8-30

not stated yet in Lean solution written

RatingM38
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.8 of Volume 1. Companion chapter: Fibonacci numbers

The task

Prove ∑k(mk)ℱ(−1)⌈(m−k)/2⌉Fn+km−1=0\sum_k\binom mk_{\mathcal F}(-1)^{\lceil(m-k)/2\rceil}F_{n+k}^{m-1} = 0 for m>0m > 0 and all integers 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

Plan: write Fj=ϕj(1−qj)/5F_j = \phi^j(1 - q^j)/\sqrt5 with q=ϕ^/ϕq = \hat\phi/\phi. The Fibonomial then becomes a Gaussian binomial coefficient in qq.

Hint 2

Expand Fn+km−1F_{n+k}^{m-1} with the binomial theorem, and sum over kk first. The kk-sum is the qq-binomial theorem.

Hint 3

Prove that the signs combine to a constant times (−1)k(-1)^k. The product of the qq-binomial theorem then contains a factor 1−q0=01 - q^0 = 0.

Solution

Show the solution

Plan. Put q=ϕ^/ϕ=−ϕ−2q = \hat\phi/\phi = -\phi^{-2}. The Fibonomial coefficient is ϕk(m−k)\phi^{k(m-k)} times a Gaussian binomial in qq. Expanding Fn+km−1F_{n+k}^{m-1} turns the sum into a combination of qq-binomial sums, and each of them is a product that has a factor zero.

Step 1: Gaussian binomials. For 0≤k≤m0 \le k \le m let (mk)q=∏j=1k1−qm−k+j1−qj\binom mk_q = \prod_{j=1}^k\frac{1 - q^{m-k+j}}{1 - q^j}. Here qq is a real number with 0<∣q∣<10 < |q| < 1, so no denominator is zero. Claim, the qq-Pascal rule (mk)q=qk(m−1k)q+(m−1k−1)q\binom mk_q = q^k\binom{m-1}k_q + \binom{m-1}{k-1}_q for m≥1m \ge 1, where (m−1−1)q=(m−1m)q=0\binom{m-1}{-1}_q = \binom{m-1}m_q = 0. For 1≤k≤m−11 \le k \le m-1 the ratios of neighbours are (m−1k)q=(m−1k−1)q1−qm−k1−qk\binom{m-1}k_q = \binom{m-1}{k-1}_q\frac{1 - q^{m-k}}{1 - q^k} and (mk)q=(m−1k−1)q1−qm1−qk\binom mk_q = \binom{m-1}{k-1}_q\frac{1 - q^m}{1 - q^k}. The rule follows from qk(1−qm−k)+(1−qk)=1−qmq^k(1 - q^{m-k}) + (1 - q^k) = 1 - q^m. The cases k=0k = 0 and k=mk = m are direct.

Step 2: the qq-binomial theorem. For all m≥0m \ge 0,

∏i=0m−1(1−xqi)=∑k=0m(−1)kq(k2)(mk)qxk.\prod_{i=0}^{m-1}(1 - xq^i) = \sum_{k=0}^m(-1)^kq^{\binom k2}\binom mk_qx^k.

Induction on mm. For m=0m = 0 both sides are 11. The product for mm is (1−x)∏i=0m−2(1−(qx)qi)(1 - x)\prod_{i=0}^{m-2}(1 - (qx)q^i). By the induction hypothesis, the coefficient of xkx^k is akqk−ak−1qk−1a_kq^k - a_{k-1}q^{k-1} with ak=(−1)kq(k2)(m−1k)qa_k = (-1)^kq^{\binom k2}\binom{m-1}k_q. Since (k−12)+k−1=(k2)\binom{k-1}2 + k - 1 = \binom k2, this equals (−1)kq(k2)(qk(m−1k)q+(m−1k−1)q)(-1)^kq^{\binom k2}\left(q^k\binom{m-1}k_q + \binom{m-1}{k-1}_q\right). By Step 1 this is the coefficient on the right.

Step 3: the Fibonomial in qq. By the Binet formula Fj=ϕj(1−qj)/5F_j = \phi^j(1 - q^j)/\sqrt5, so

(mk)ℱ=∏j=1kFm−k+jFj=ϕk(m−k)(mk)q.\binom mk_{\mathcal F} = \prod_{j=1}^k\frac{F_{m-k+j}}{F_j} = \phi^{k(m-k)}\binom mk_q.

Step 4: expand the power. For integer nn,

Fn+km−1=5−(m−1)/2ϕ(n+k)(m−1)∑j=0m−1(m−1j)(−1)jqj(n+k).F_{n+k}^{m-1} = 5^{-(m-1)/2}\phi^{(n+k)(m-1)}\sum_{j=0}^{m-1}\binom{m-1}j(-1)^jq^{j(n+k)}.

Call the sum in the claim SS. Interchange the sums:

S=5−(m−1)/2ϕn(m−1)∑j=0m−1(−1)j(m−1j)qjn Tj,Tj=∑k=0m(−1)⌈(m−k)/2⌉ϕk(2m−k−1)qjk(mk)q.S = 5^{-(m-1)/2}\phi^{n(m-1)}\sum_{j=0}^{m-1}(-1)^j\binom{m-1}jq^{jn}\,T_j,\qquad T_j = \sum_{k=0}^m(-1)^{\lceil(m-k)/2\rceil}\phi^{k(2m-k-1)}q^{jk}\binom mk_q.

Step 5: the sign and the powers of qq. Since ϕ−2=−q\phi^{-2} = -q, it follows that ϕk(2m−k−1)=(ϕ−2)(k+12)−mk=(−q)(k+12)−mk\phi^{k(2m-k-1)} = (\phi^{-2})^{\binom{k+1}2 - mk} = (-q)^{\binom{k+1}2 - mk}, where the exponent is an integer. So the term of TjT_j has the sign (−1)e(k)(-1)^{e(k)} with e(k)=⌈(m−k)/2⌉+(k+12)+mke(k) = \lceil(m-k)/2\rceil + \binom{k+1}2 + mk, and the power q(k+12)−mk+jk=q(k2)(qj+1−m)kq^{\binom{k+1}2 - mk + jk} = q^{\binom k2}(q^{j+1-m})^k.

Claim: g(k)=⌈(m−k)/2⌉+(k2)+mkg(k) = \lceil(m-k)/2\rceil + \binom k2 + mk has the same parity for all kk. Indeed g(k+1)−g(k)=(⌈a−12⌉−⌈a2⌉)+k+mg(k+1) - g(k) = \left(\lceil\tfrac{a-1}2\rceil - \lceil\tfrac a2\rceil\right) + k + m with a=m−ka = m - k. The bracket is −1-1 for odd aa and 00 for even aa, and k+m≡a(mod2)k + m \equiv a \pmod 2. So the difference is even. Hence g(k)≡g(0)=⌈m/2⌉g(k) \equiv g(0) = \lceil m/2\rceil, and e(k)=g(k)+k≡⌈m/2⌉+ke(k) = g(k) + k \equiv \lceil m/2\rceil + k.

Step 6: each TjT_j is zero. By Step 5,

Tj=(−1)⌈m/2⌉∑k(−1)kq(k2)(mk)q(qj+1−m)k=(−1)⌈m/2⌉∏i=0m−1(1−qj+1−m+i),T_j = (-1)^{\lceil m/2\rceil}\sum_k(-1)^kq^{\binom k2}\binom mk_q\left(q^{j+1-m}\right)^k = (-1)^{\lceil m/2\rceil}\prod_{i=0}^{m-1}\left(1 - q^{j+1-m+i}\right),

by Step 2 with x=qj+1−mx = q^{j+1-m}. For 0≤j≤m−10 \le j \le m - 1 the index i=m−1−ji = m - 1 - j lies in 0≤i≤m−10 \le i \le m - 1, and its factor is 1−q0=01 - q^0 = 0. So Tj=0T_j = 0 for every jj in the sum, and S=0S = 0.

Check

For m=3m = 3 the Fibonomials are 1,2,2,11, 2, 2, 1 and the signs (−1)⌈(3−k)/2⌉(-1)^{\lceil(3-k)/2\rceil} are +,−,−,++, -, -, +. The identity reads Fn2−2Fn+12−2Fn+22+Fn+32=0F_n^2 - 2F_{n+1}^2 - 2F_{n+2}^2 + F_{n+3}^2 = 0. For n=1n = 1: 1−2−8+9=01 - 2 - 8 + 9 = 0. For m=4m = 4, n=1n = 1: the Fibonomials 1,3,6,3,11, 3, 6, 3, 1, the signs +,+,−,−,++, +, -, -, + and the cubes F13,…,F53=1,1,8,27,125F_1^3, \ldots, F_5^3 = 1, 1, 8, 27, 125 give 1+3−48−81+125=01 + 3 - 48 - 81 + 125 = 0. A python run for 1≤m≤71 \le m \le 7 and −3≤n≤5-3 \le n \le 5 finds no nonzero value.

Remarks

The identity says that the sequence Fnm−1F_n^{m-1} follows a linear recurrence of order mm with constant coefficients, the Fibonomial coefficients with signs. The proof applies to any pair ϕ,ϕ^\phi, \hat\phi with ϕϕ^=−1\phi\hat\phi = -1 and ϕ+ϕ^=1\phi + \hat\phi = 1, and in fact to every qq with qj≠1q^j \ne 1. The case m=3m = 3 is the identity of the exercise text, and m=2m = 2 gives the Fibonacci rule itself, −Fn−Fn+1+Fn+2=0-F_n - F_{n+1} + F_{n+2} = 0. The book's answer takes another route: an induction on mm with the Pascal-like rule of Exercise 1.2.8-29.

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

In Lean

not stated yet The exercise is not stated in Lean yet.

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

Something is wrong? Report it.