Cody

Solution 2047953

Submitted on 5 Dec 2019 by Asif Newaz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 10; y_correct = false; assert(isequal(your_fcn_name(x),y_correct))

y = 2 5 a = 2 5 b = 8 y = 0

2   Pass
x = 28; y_correct = true; assert(isequal(your_fcn_name(x),y_correct))

y = 2 4 7 14 a = 2 4 7 14 b = 28 y = 1

3   Pass
x = 8128; y_correct = true; assert(isequal(your_fcn_name(x),y_correct))

y = 2 4 8 16 32 64 127 254 508 1016 2032 4064 a = 2 4 8 16 32 64 127 254 508 1016 2032 4064 b = 8128 y = 1

4   Pass
x = 564; y_correct = false; assert(isequal(your_fcn_name(x),y_correct))

y = 2 3 4 6 12 47 94 141 188 282 a = 2 3 4 6 12 47 94 141 188 282 b = 780 y = 0