Cody

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

Solution 1197935

Submitted on 26 May 2017
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))

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint1 (line 1) assert(isequal(euler341(1),1))

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

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint2 (line 1) assert(isequal(euler341(10),5))

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

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint3 (line 1) assert(isequal(euler341(310),42))

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

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint4 (line 1) assert(isequal(euler341(4242),210))

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

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint5 (line 1) assert(isequal(euler341(328509),3084))

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

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint6 (line 1) assert(isequal(euler341(551368),4247))

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

Undefined function or variable 'b'. Error in euler341 (line 7) b = b+k; Error in TestPoint7 (line 1) assert(isequal(euler341(614125),4540))