Please help me solve this problem please (sorry for not being of Volume 1):
As we know about Fibonacci number:
F[n]=F[n-1]+f[n-2];
Now: Enter a number S (S can have 200 digits, this is the dificulty!).
Problem: Let present S equivalant sum of leaset numbers of Fibanacci.
Hope you respond as soon as possible!
A difficult problem
Moderator: Board moderators
-
- Learning poster
- Posts: 60
- Joined: Tue Aug 13, 2002 2:39 am
- Location: Mexico
But seems simple, isn't?
Get the first 500 fibonacci numbers(think f(500) will be more than 200 digits) and then use binary search to find your number 


