Cody

Solution 2080361

Submitted on 4 Jan 2020 by William
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
n = 5; y_correct = 17; assert(isequal(seq_find(n),y_correct))

2   Pass
n = 7; y_correct = 65; assert(isequal(seq_find(n),y_correct))

3   Pass
n = 10; y_correct = 511; assert(isequal(seq_find(n),y_correct))

4   Pass
n = 14; y_correct = 8191; assert(isequal(seq_find(n),y_correct))

5   Pass
n = 2; y_correct = 1; assert(isequal(seq_find(n),y_correct))

6   Pass
n = 12; y_correct = seq_find(n); assert(isequal(seq_find(n),y_correct))

7   Pass
n = 22; y_correct =seq_find(n); assert(isequal(seq_find(n),y_correct))

8   Pass
n = 27; y_correct =seq_find(n); assert(isequal(seq_find(n),y_correct))

9   Pass
n = 32; y_correct =seq_find(n); assert(isequal(seq_find(n),y_correct))

10   Pass
n = 18; y_correct =seq_find(n); assert(isequal(seq_find(n),y_correct))