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
|
6063 Solvers
900 Solvers
Sum of first n terms of a harmonic progression
257 Solvers
Getting the indices from a vector
3207 Solvers
505 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!