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

Exercise 1.2.8-22

not stated yet in Lean solution written

RatingM20
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

Show that ∑k(nk)Fm+k\sum_k\binom nkF_{m+k} is a Fibonacci number, and find which one.

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

Use the Binet formula for Fm+kF_{m+k} and the binomial theorem on each of the two parts.

Hint 2

The identity 1+ϕ=ϕ21 + \phi = \phi^2 turns each part into a power.

Solution

Show the solution

Let ϕ^=1−ϕ\hat\phi = 1 - \phi. By the Binet formula Fm+k=(ϕm+k−ϕ^m+k)/5F_{m+k} = (\phi^{m+k} - \hat\phi^{m+k})/\sqrt5, valid for all integers m+km + k. The binomial theorem gives

∑k(nk)ϕm+k=ϕm(1+ϕ)n,∑k(nk)ϕ^m+k=ϕ^m(1+ϕ^)n.\sum_k\binom nk\phi^{m+k} = \phi^m(1 + \phi)^n, \qquad \sum_k\binom nk\hat\phi^{m+k} = \hat\phi^m(1 + \hat\phi)^n.

Both ϕ\phi and ϕ^\hat\phi are roots of x2=x+1x^2 = x + 1, so 1+ϕ=ϕ21 + \phi = \phi^2 and 1+ϕ^=ϕ^21 + \hat\phi = \hat\phi^2. Hence

∑k(nk)Fm+k=ϕm+2n−ϕ^m+2n5=Fm+2n.\sum_k\binom nkF_{m+k} = \frac{\phi^{m+2n} - \hat\phi^{m+2n}}{\sqrt5} = F_{m+2n}.

Check

For n=3n = 3 and m=2m = 2: F2+3F3+3F4+F5=1+6+9+5=21=F8F_2 + 3F_3 + 3F_4 + F_5 = 1 + 6 + 9 + 5 = 21 = F_8. A python search over 0≤n≤90 \le n \le 9 and −5≤m≤7-5 \le m \le 7 finds no counterexample.

Remarks

Exercise 1.2.8-23 replaces the weights 11 by powers of two Fibonacci numbers. The case m=0m = 0 gives ∑k(nk)Fk=F2n\sum_k\binom nkF_k = F_{2n}.

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.