All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Binary Repunit Fibonaccis (Posted on 2007-01-22) Difficulty: 5 of 5
What non-zero Fibonacci numbers are one less than a power of two? (That would make each of them consist of all 1's in binary.)

See The Solution Submitted by Charlie    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Helpful? | Comment 1 of 6
The function that defines the Fiboncacci series is:

f(n) = (1/√5) ((1+√5)/2)^n - (1/√5) ((1-√5)/2)^n

Why?

The series is is defined as f(n+2) = f(n+1) + f(n)

Let's say f(n) = Ae^(kn)  (which should be true if we can turn the series into a continuous function)

f(n+2) = f(n+1) + f(n)
Aek^(k(n+2)) = Ae^(k(n+1)) + Ae^(kn)
Ae^(kn) * e^(2k) = Ae^(kn) * e^k + Ae^(kn)

Dividing by Ae^(kn) we get:

e^(2k) = e^k + 1 or (e^k)^2 - e^k - 1 = 0

Using the quadratic formula:

e^k = (1 ± √(1+4))/2

Seing as f(n) = Ae^(kn) = A (e^k)^n = A ((1 ± √5)/2)^n

= A ((1 + √5)/2) - A ((1 - √5)/2)

A is 1/√5 simply because it's the conjugate.


I hope that helps =)

  Posted by George on 2007-01-22 17:59:09
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information