Problem 2982. Get a Fibonacci number's index.
Solution Stats
Problem Comments
-
2 Comments
5.731478440138172e+20 from 7th test is not a Fibonacci Number. 100th Fibonacci Number in proposed convention is 573147844013817084101 which has 21 digits and exceeds double precision.
I agree with Jan. http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibtable.html (this list begins at 0). The 100th fibonnaci number is 573147844013817084101 (5.731478440138171e+20), and not 5.731478440138172e+20.
Problem Recent Solvers36
Suggested Problems
-
Find the sum of all the numbers of the input vector
38163 Solvers
-
33147 Solvers
-
2679 Solvers
-
723 Solvers
-
463 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!