Cody

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

Solution 1984553

Submitted on 21 Oct 2019 by Nikolaos Nikolaou
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(islychrel(3763));

tf = logical 1

2   Pass
assert(islychrel(5943));

tf = logical 1

3   Pass
assert(islychrel(4709));

tf = logical 1

4   Pass
assert(~islychrel(3664));

tf = logical 0

5   Pass
assert(~islychrel(3692));

tf = logical 0

6   Pass
assert(islychrel(196));

tf = logical 1

7   Pass
assert(islychrel(8619));

tf = logical 1

8   Pass
assert(islychrel(9898));

tf = logical 1

9   Pass
assert(islychrel(9344));

tf = logical 1

10   Pass
assert(islychrel(9884));

tf = logical 1

11   Pass
assert(islychrel(4852));

tf = logical 1

12   Pass
assert(islychrel(7491));

tf = logical 1

13   Pass
assert(~islychrel(5832));

tf = logical 0

14   Pass
assert(~islychrel(7400));

tf = logical 0

15   Pass
assert(~islychrel(2349));

tf = logical 0

16   Pass
assert(~islychrel(7349));

tf = logical 0

17   Pass
assert(~islychrel(9706));

tf = logical 0

18   Pass
assert(~islychrel(8669));

tf = logical 0

19   Pass
assert(~islychrel(863));

tf = logical 0

20   Pass
assert(~islychrel(5979));

tf = logical 0

### Community Treasure Hunt

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

Start Hunting!