Cody

Solution 1144596

Submitted on 23 Mar 2017 by H M Dipu Kabir
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
X = fib_seq(145); assert(isequal(X(end),144) && length(X)==12)

b = 1

2   Pass
X = fib_seq(4196); assert(isequal(X(end),4181) && length(X)==19)

b = 1

3   Pass
X = fib_seq(987419996); assert(isequal(X(end),701408733) && length(X)==44)

b = 1

4   Pass
X = fib_seq(1134903171); assert(isequal(X(end),1134903170) && length(X)==45)

b = 1

5   Pass
X = fib_seq(98691443031971); assert(isequal(X(end),72723460248141) && length(X)==68)

b = 1

Suggested Problems

More from this Author6