Cody

Problem 1082. Lychrel Number Test (Inspired by Project Euler Problem 55)

Solution 2708268

Submitted on 18 Jul 2020
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   Fail
assert(islychrel(3763));

Assertion failed.

2   Fail
assert(islychrel(5943));

Assertion failed.

3   Fail
assert(islychrel(4709));

Assertion failed.

4   Fail
assert(~islychrel(3664));

Assertion failed.

5   Fail
assert(~islychrel(3692));

Assertion failed.

6   Fail
assert(islychrel(196));

Assertion failed.

7   Fail
assert(islychrel(8619));

Assertion failed.

8   Fail
assert(islychrel(9898));

Assertion failed.

9   Fail
assert(islychrel(9344));

Assertion failed.

10   Fail
assert(islychrel(9884));

Assertion failed.

11   Fail
assert(islychrel(4852));

Assertion failed.

12   Fail
assert(islychrel(7491));

Assertion failed.

13   Fail
assert(~islychrel(5832));

Assertion failed.

14   Fail
assert(~islychrel(7400));

Assertion failed.

15   Fail
assert(~islychrel(2349));

Assertion failed.

16   Fail
assert(~islychrel(7349));

Assertion failed.

17   Fail
assert(~islychrel(9706));

Assertion failed.

18   Fail
assert(~islychrel(8669));

Assertion failed.

19   Fail
assert(~islychrel(863));

Assertion failed.

20   Fail
assert(~islychrel(5979));

Assertion failed.

Suggested Problems

More from this Author56

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!