Cody

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

Solution 176444

Submitted on 12 Dec 2012
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));

```Error: Assertion failed. ```

2   Fail
%% assert(islychrel(5943));

```Error: Assertion failed. ```

3   Fail
%% assert(islychrel(4709));

```Error: Assertion failed. ```

4   Pass
%% assert(~islychrel(3664));

``` counter = 1 counter = 2 counter = 3 counter = 4 counter = 5 counter = 6 tf = 0 ```

5   Pass
%% assert(~islychrel(3692));

``` counter = 1 counter = 2 counter = 3 tf = 0 ```

6   Fail
%% assert(islychrel(196));

```Error: Assertion failed. ```

7   Fail
%% assert(islychrel(8619));

```Error: Assertion failed. ```

8   Fail
%% assert(islychrel(9898));

```Error: Assertion failed. ```

9   Fail
%% assert(islychrel(9344));

```Error: Assertion failed. ```

10   Fail
%% assert(islychrel(9884));

```Error: Assertion failed. ```

11   Fail
%% assert(islychrel(4852));

```Error: Assertion failed. ```

12   Fail
%% assert(islychrel(7491));

```Error: Assertion failed. ```

13   Pass
%% assert(~islychrel(5832));

``` counter = 1 counter = 2 counter = 3 counter = 4 tf = 0 ```

14   Pass
%% assert(~islychrel(7400));

``` counter = 1 counter = 2 tf = 0 ```

15   Pass
%% assert(~islychrel(2349));

``` counter = 1 counter = 2 counter = 3 counter = 4 tf = 0 ```

16   Pass
%% assert(~islychrel(7349));

``` counter = 1 counter = 2 counter = 3 counter = 4 counter = 5 tf = 0 ```

17   Pass
%% assert(~islychrel(9706));

``` counter = 1 counter = 2 counter = 3 counter = 4 counter = 5 counter = 6 counter = 7 counter = 8 counter = 9 counter = 10 counter = 11 counter = 12 counter = 13 counter = 14 counter = 15 counter = 16 tf = 0 ```

18   Pass
%% assert(~islychrel(8669));

``` counter = 1 counter = 2 counter = 3 counter = 4 counter = 5 counter = 6 counter = 7 counter = 8 counter = 9 counter = 10 counter = 11 counter = 12 counter = 13 counter = 14 counter = 15 counter = 16 counter = 17 counter = 18 counter = 19 counter = 20 counter = 21 tf = 0 ```

19   Pass
%% assert(~islychrel(863));

``` counter = 1 counter = 2 counter = 3 tf = 0 ```

20   Pass
%% assert(~islychrel(5979));

``` counter = 1 counter = 2 counter = 3 counter = 4 counter = 5 tf = 0 ```