Cody

Solution 188934

Submitted on 10 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   Pass
%% assert(isequal(euler341(10),5))

a = 1 y = 5

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

a = 1 y = 42

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

a = 1 y = 210

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

a = 1 y = 3084

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

a = 1 y = 4247

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

a = 1 y = 4540