Cody

Solution 1695772

Submitted on 19 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   Pass
assert(isequal(euler341(1),1))

k = 1

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

k = 5

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

k = 34

Assertion failed.

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

k = 129

Assertion failed.

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

k = 1145

Assertion failed.

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

k = 1484

Assertion failed.

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

k = 1566

Assertion failed.