Cody

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

Solution 1690466

Submitted on 11 Dec 2018
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   Pass
assert(~islychrel(3664));

5   Pass
assert(~islychrel(3692));

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   Pass
assert(~islychrel(5832));

14   Pass
assert(~islychrel(7400));

15   Pass
assert(~islychrel(2349));

16   Pass
assert(~islychrel(7349));

17   Pass
assert(~islychrel(9706));

18   Pass
assert(~islychrel(8669));

19   Pass
assert(~islychrel(863));

20   Pass
assert(~islychrel(5979));