Cody

Solution 1530928

Submitted on 16 May 2018 by William
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
assert(isequal(brilliant(4),1))

y = logical 0

2   Pass
assert(isequal(brilliant(8),0))

y = logical 0

3   Pass
assert(isequal(brilliant(40),0))

y = logical 0

4   Pass
assert(isequal(brilliant(343),0))

y = logical 0

5   Pass
assert(isequal(brilliant(1536),0))

y = logical 0

6   Pass
assert(isequal(brilliant(1537),1))

y = logical 0

7   Pass
assert(isequal(brilliant(49165),0))

y = logical 0

8   Pass
assert(isequal(brilliant(657721),1))

y = logical 0

9   Pass
assert(isequal(brilliant(768819),0))

y = logical 0

10   Pass
assert(isequal(brilliant(13717421),1))

y = logical 0

11   Pass
assert(isequal(brilliant(123456789),0))

y = logical 0

12   Pass
assert(isequal(brilliant(669562601),1))

y = logical 0

13   Pass
assert(isequal(brilliant(1234567890),0))

y = logical 0

Suggested Problems

More from this Author80