Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.4.4 ($F_{n+1} = \sum\limits_{i = 0}^{\lfloor n/2 \rfloor} \binom{n-i}{i}$)

Exercise 4.4.4 ($F_{n+1} = \sum\limits_{i = 0}^{\lfloor n/2 \rfloor} \binom{n-i}{i}$)

Prove that for n ≥ 2 ,

F n = ( n − 1 0 ) + ( n − 2 1 ) + ( n − 3 2 ) + ( n − 4 3 ) + ⋯ + ( n − j j − 1 )

where the sum of the binomial coefficients on the right terminates with the largest j so that 2 j ≤ n + 1 .

Hint. Recall (1.15)

1 ( 1 − z ) α + 1 = ∑ k = 0 ∞ ( α + k k ) z k .

Answers

I don’t understand the hint, but I give three very different proofs of this formula. (If somebody gives an alternative solution by following the hint, I am interested.)

Note that the sentence is equivalent to

F n + 1 = ( n 0 ) + ( n − 1 1 ) + ( n − 2 2 ) + ( n − 3 3 ) + ⋯ + ( n − j j ) ( n ≥ 1 )

where the sum of the binomial coefficients on the right terminates with the largest j so that 2 j ≤ n , that is j = ⌊ n ∕ 2 ⌋ . Thus this formula may be written

F n + 1 = ∑ i = 0 ⌊ n ∕ 2 ⌋ ( n − i i ) . (1)

Recall that by definition ( n p ) = 0 if p > n . Therefore (1) is equivalent to F n + 1 = ∑ ⁡ i = 0 n ( n − i i ) .

First proof. (by generatrix functions)

Proof. Put

λ = 1 − 5 2 , μ = 1 + 5 2 ,

so that by (4.6)

F n = μ n − λ n μ − λ .

Consider the power series

f ( x ) = ∑ k = 0 ∞ F k x k . (2)

We note that

F k + 1 F k = μ k + 1 − λ k + 1 μ k − λ k = μ 1 − ( λ μ ) k + 1 1 − ( λ μ ) k .

Since | λ μ | < 1 , we obtain lim ⁡ k → ∞ ( λ ∕ μ ) k = 0 , so

lim ⁡ k → ∞ F k + 1 F k = μ .

Therefore, for all real x ≠ 0 ,

lim ⁡ k → ∞ | F k + 1 x k + 1 F k x k | = μ | x | .

By the d’Alembert’s ratio test, the series (1) converges for | x | < 1 ∕ μ , and diverges for | x | > 1 ∕ μ : the radius of convergence of the power series (1) is

R = 1 μ = 5 − 1 2 .

Suppose that | x | < 1 ∕ μ . Then the series

∑ k = 0 ∞ F k x k , ∑ k = 0 ∞ μ k x k , ∑ k = 0 ∞ λ k x k

are convergent. Therefore

f ( x ) = ∑ k = 0 ∞ F k x k = 1 μ − λ ( ∑ k = 0 ∞ μ k x k − ∑ k = 0 ∞ λ k x k ) = 1 μ − λ ( 1 1 − μx − 1 1 − λx ) = 1 μ − λ ( μ − λ ) x ( 1 − μx ) ( 1 − λx ) = x 1 − x − x 2 .

This shows that

f ( x ) = x 1 − x − x 2 , ( | x ] < 1 ∕ μ ) . (3)

We can expand x ∕ ( 1 − x − x 2 ) in power series, but to avoid problems of convergence and infinite sums, we prefer for simplicity use an asymptotic development in the neighborhood of 0 , at the order n + 1 .

First

f ( x ) = F 0 + F 1 x + F 2 x 2 + ⋯ + F n + 1 x n + 1 + o ( x n + 1 ) .

Next,

1 1 − u = 1 + u + u 2 + ⋯ + u n + 1 + o ( u n + 1 ) = ∑ i = 0 n + 1 u i + o ( u n + 1 ) .

With u = u ( x ) = x + x 2 ∼ x , so that o ( u ( x ) n + 1 ) = o ( x n + 1 ) , we obtain

f ( x ) = x 1 1 − ( x + x 2 ) = x ∑ i = 0 n + 1 ( x + x 2 ) i + o ( x n + 1 ) = x ∑ i = 0 n + 1 ∑ j = 0 i ( i j ) x i − j x 2 j + o ( x n + 1 ) = x ∑ i = 0 n + 1 ∑ j = 0 n + 1 ( i j ) x i + j + o ( x n + 1 ) ( since  ( i j ) = 0  if  j > i ) = x ∑ k = 0 n + 1 ∑ i + j = k ( i j ) x k + o ( x n + 1 ) ( since  x k = o ( x n + 1 )  if  k > n + 1 ) = ∑ k = 0 n x k + 1 ∑ i + j = k ( i j ) = ∑ k = 0 n x k + 1 ∑ i = 0 k ( k − j j ) .

So

f ( x ) = ∑ k = 0 n + 1 F k x k + o ( x n + 1 ) = ∑ k = 0 n x k + 1 ∑ j = 0 k ( k − j j ) .

By the unicity of the coefficients in these asymptotic expansions,

F n + 1 = ∑ j = 0 n ( n − j j ) .

Since ( n − j j ) = 0 if j > n ∕ 2 ,

F n + 1 = ∑ j = 0 ⌊ n ∕ 2 ⌋ ( n − j j ) ( n ≥ 0 ) .

So (1) is proven, which is equivalent to the sentence. □

Second proof (by induction) Consider the proposition

𝒫 ( n ) : F n + 1 = ∑ j = 0 n ( n − j j ) .

Since

∑ j = 0 0 ( 0 − j j ) = ( 0 0 ) = 1 = F 1 , ∑ j = 0 1 ( 1 − j j ) = ( 1 0 ) + ( 0 1 ) = 0 + 1 = 1 = F 2 ,

𝒫 ( 0 ) and 𝒫 ( 1 ) are true.

Now suppose that 𝒫 ( n ) and 𝒫 ( n + 1 ) are true for some n ≥ 0 .

1 1 2 3 5 ⋯ F n + 1 F n + 2
1 0 0 0 0 ( 0 n ) ( 0 n + 1 )
1 1 0 0
1 2 1 0
1 3 3 1
1
⋮
( n − 2 2 ) ( n − 2 3 )
( n − 1 1 ) ( n − 1 2 )
( n 0 ) ( n 1 )
( n + 1 0 )

Then

{ F n + 1 = ∑ j = 0 n ( n − j j ) , F n + 2 = ∑ j = 0 n + 1 ( n + 1 − j j ) .

Then

F n + 3 = F n + 1 + F n + 2 ∑ j = 0 n ( n − j j ) + ∑ j = 0 n + 1 ( n + 1 − j j ) = ∑ i = 0 n ( n − i i ) + ∑ j = 1 n + 1 ( n + 1 − j j ) + ( n + 1 0 ) = ∑ i = 0 n ( n − i i ) + ∑ i = 0 n ( n − i i + 1 ) + 1 ( j = i + 1 ) .

By the Pascal’s formula (1.14),

( n − i i ) + ( n − i i + 1 ) = ( n − i + 1 i + 1 ) .

Note that this formula remains true if one of the binomial coefficients is zero, or both are zero. Therefore

F n + 3 = ∑ i = 0 n ( n − i + 1 i + 1 ) + 1 = ∑ j = 1 n + 1 ( n + 2 − j j ) + 1 ( j = i + 1 ) = ∑ j = 0 n + 1 ( n + 2 − j j ) ( since  ( n + 2 0 ) = 1 ) = ∑ j = 0 n + 2 ( n + 2 − j j ) ( since  ( 0 n + 2 ) = 0 )

This shows that 𝒫 ( n + 2 ) is true, and the induction is done. Therefore

∀ ⁡ n ∈ ℕ , F n + 1 = ∑ j = 0 n ( n − j j ) ,

or removing the null terms,

∀ ⁡ n ∈ ℕ , F n + 1 = ∑ j = 0 ⌊ n ∕ 2 ⌋ ( n − j j ) .

(To obtain the sentence, we replace n by n − 1 .)

Third proof (combinatorial proof) In how many ways can a barrel of n liters be filled with two containers of one liter and two liters, taking into account the order in which these containers are used?

For instance, if the barrel is 4 liters, the solutions are

1 + 1 + 1 + 1 , 1 + 1 + 2 , 1 + 2 + 1 , 2 + 1 + 1 , 2 + 2 ,

so that there are 5 = F 5 ways to fill the 4-liter barrel.

From a more formal point of view, let us count the number G n of tuples ( x 1 , x 2 , … , x k ) such that x 1 + x 2 + ⋯ + x k = n and x i ∈ { 1 , 2 } for all i .

We show that G n = F n + 1 by induction for n ≥ 1 . First G 1 = 1 = F 2 (there is a unique solution ( 1 ) ), and G 2 = 2 = F 3 (two solutions: ( 1 , 1 ) and ( 2 ) ).

Suppose now that G n = F n + 1 and G n + 1 = F n + 2 for some n ≥ 1 . Then we count G n + 2 considering two cases: if x 1 = 2 , if remains to fill n liters, by G n = F n + 1 ways, and if x 1 = 1 , it remains to fill n + 1 liters, in G n + 1 = F n + 2 ways. Thus G n + 2 = F n + 1 + F n + 2 = F n + 3 , and the induction is done.

We can estimate G n in another ways. The solutions ( x 1 , x 2 , … , x k ) can contains 0 , 1 , 2 , … , ⌊ n ∕ 2 ⌋ times the 2 -liters container, i.e. there are j integers x i among x 1 , … , x k such that x i = 2 , where 0 ≤ j ≤ ⌊ n ∕ 2 ⌋ , so its remains n − 2 j integers x i such that x i = 1 , thus k = j + ( n − 2 j ) = n − j . There are ( n − j j ) ways to choose the j emplacements of the x i = 2 among x 1 , x 2 , … , x k , thus

G n = F n + 1 = ∑ j = 0 ⌊ n ∕ 2 ⌋ ( n − j j ) .

So (1) is proven.

User profile picture
2025-02-05 11:41
Comments