Problem 232. Project Euler: Problem 2, Sum of even Fibonacci
Solution Stats
Problem Comments
-
5 Comments
I wanted to use : z = feval(symengine,'numlib::fibonacci',10)
to get the 10th element for example but CODY returns:
Could not check out Symbolic Math Toolbox license.
pas de chance!
You should add test cases where x or x+1 equals an even fibonacci number (either small or large).
Nice problem. I always have problem with big numbers.
I solved the problem until x = 4000000 but x = 97455000 it gives me an error of exceeding the memory(overflow) because the number is too large.
This was fun!
Solution Comments
Show commentsProblem Recent Solvers2248
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1405 Solvers
-
Set some matrix elements to zero
516 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
471 Solvers
-
Matlab Basics - Convert a row vector to a column vector
617 Solvers
-
There are 10 types of people in the world
1083 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!