Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(newFibo(1),1))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
1
|
2 | Pass |
assert(isequal(newFibo(2),1))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
1
|
3 | Pass |
assert(isequal(newFibo(3),1))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
1
|
4 | Pass |
assert(isequal(newFibo(4),2))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
2
|
5 | Pass |
assert(isequal(newFibo(5),5))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
5
|
6 | Pass |
assert(isequal(newFibo(6),21))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
21
|
7 | Pass |
assert(isequal(newFibo(8),10946))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
10946
|
8 | Pass |
assert(isequal(newFibo(9),5702887))
e =
1 1 2 3 5 8 13 21 34
f =
1 1 1 2 5 21 233 10946 5702887
y =
5702887
|
5703 Solvers
856 Solvers
Golomb's self-describing sequence (based on Euler 341)
106 Solvers
363 Solvers
218 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!