Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 6;
y_correct = 13;
assert(isequal(euler007(x),y_correct))
y =
13
|
2 | Pass |
x = 10001;
y_correct = 104743;
assert(isequal(euler007(x),y_correct))
y =
104743
|
3 | Pass |
x = 123456;
y_correct = 1632899;
assert(isequal(euler007(x),y_correct))
y =
1632899
|
785 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
394 Solvers
Is this triangle right-angled?
2874 Solvers
556 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!