mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2018-07-16, 17:06   #1
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

4,643 Posts
Default Another computationally useless sum for Fibonacci numbers

The well-known geometric series expansion 1/(1 - x - x^2) = 1 + (x + x^2) + (x + x^2)^2 + (x + x^2)^3 + ... =

1 + F2x + F3x^2 + F4x^3 + F5x^4 + ...

(valid when |x + x^2| < 1) gives the equally well-known identity

SUM, k = 0, floor(n/2), binomial(n-k,k) = Fn.

Calling the series expansion G(x), the identity

(1 - x - x^2)*G(x) = 1

gives the recursion for the Fibonacci numbers; verifying the coefficients for 1 and x then allows a proof by induction that the coefficients are as stated.

Another, less well-known identity relating the n-th Fibonacci number to binomial coefficients, all in the n-th row, is as follows.
Code:
 Let r = floor((n-1)/2).  Then

SUM, k == r (mod 5) binomial(n,k) - SUM, k == r-1 (mod 5) binomial (n,k) = Fn.
I don't recall even whether I ever worked out a proper proof. I note that we can express the sum of the binomial coefficients binomial(n, j) for j in any given congruence class (mod 5) by taking a simple linear combination of

(1 + w)^n, w = exp(2*k*I*Pi/5), k = 0 to 5.

In each case, the main term will be 2^n/5; this cancels out when you subtract the sum of the binomial coefficients in one residue class from the sum of those in another.

As a puzzle challenge, I invite the denizens of this Forum to devise a proof of the above identity.
Dr Sardonicus is offline   Reply With Quote
Old 2018-07-21, 03:19   #2
uau
 
Jan 2017

32×11 Posts
Default

Let b(n, k) be the sum of binomials (n, i) with i equaling k mod 5. Then easily b(n+1, k) = b(n, k) + b(n, k-1), and from this b(n+2, k) = b(n, k) + 2b(n, k-1) + b(n, k-2). When n increases by 2, the two values of k we want to calculate b(n, k) for increase by 1. Define c from b to compensate for this with c(n, k)=b(n, k-n/2), so that if c(n, k) = b(n, m) for some m, then c(n+2, k) = b(n+2, m+1). Now c(n+2, k) = 2*c(n, k) + c(n, k-1) + c(n, k+1), and the values of k we subtract from each other are fixed.

I'll only handle the even n case explicitly here.
The values of c(2*n, k) for first few n and k from 0 to 4 are:

[1, 0, 0, 0, 0]; n = 0
[2, 1, 0, 0, 1]
[6, 4, 1, 1, 4]
[20, 15, 7, 7, 15]; n = 3, 2n=6
The fibonacci number is last minus second-to-last numbers on each row, or equally second minus third.

Generally there are only only three distinct values (-k equals k). Marking these by a, b, c (for k=0, 1, 2), we can rewrite the calculation from one row to the next as
a, b, c = 2a+2b, a+2b+c, b+3c
Since only differences matter, we can subtract b+3c from each, giving
a, b, c = 2a+b-3c, a+b-2c, 0
and since now c is always 0, this can be further simplified to
a, b, c = 2a+b, a+b, 0
But "a, b = 2a+b, a+b" is just the formula for advancing a pair of two consecutive Fibonacci numbers by two steps, so the claim can be proven by induction.

Last fiddled with by uau on 2018-07-21 at 04:00
uau is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fibonacci modulo Fibonacci robert44444uk Math 3 2007-05-19 07:15
Fibonacci numbers Citrix Math 27 2006-11-20 17:18
Another puzzle about Fibonacci numbers c00ler Puzzles 27 2006-04-17 20:27
Factoring Fibonacci/Lucas numbers geoff Factoring 13 2005-12-23 01:59
Fibonacci Numbers Vijay Programming 26 2005-04-15 19:11

All times are UTC. The time now is 03:33.


Sat Jul 17 03:33:28 UTC 2021 up 50 days, 1:20, 1 user, load averages: 1.93, 2.05, 1.71

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.