Cody

# Problem 1190. Golomb's self-describing sequence (based on Euler 341)

Solution 198321

Submitted on 30 Jan 2013
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(isequal(euler341(1),1))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```

2   Fail
%% assert(isequal(euler341(10),5))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```

3   Fail
%% assert(isequal(euler341(310),42))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```

4   Fail
%% assert(isequal(euler341(4242),210))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```

5   Fail
%% assert(isequal(euler341(328509),3084))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```

6   Fail
%% assert(isequal(euler341(551368),4247))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```

7   Fail
%% assert(isequal(euler341(614125),4540))

```Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem2/euler341.m>euler341". ```