This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Wenjian Yu
on 10 Oct 2012
This is good answer. Better than 'round(1.61803^n /2.236). The latter is wrong if n>24.
Suggested Problems
-
All your base are belong to us
555 Solvers
-
Natural numbers in string form
1697 Solvers
-
808 Solvers
-
931 Solvers
-
Find the Oldest Person in a Room
18689 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!