This solution is outdated. To rescore this solution, sign in.
-
4 Comments
Show
1 older comment
Dyuman Joshi
on 12 Mar 2022
You might wanna try again
Tran Tran
on 12 Mar 2022
Wow thank for advise I dont think x =2 make my loop not work.Your additional test case make me change.
Jose Matos
on 29 Mar 2022
Tran Tran, thanks for the tip. Your formula to to calculate just the even Fibonacci numbers really work. Thanks!
Suggested Problems
-
Return a list sorted by number of occurrences
2830 Solvers
-
Is my wife right? Now with even more wrong husband
1328 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1310 Solvers
-
779 Solvers
-
Sum of first n terms of a harmonic progression
454 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!