Cody

Solution 188802

Submitted on 10 Jan 2013 by Richard Zapor
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))
2   Pass
%% assert(isequal(euler341(10),5))
Elapsed time is 0.000055 seconds.
3   Pass
%% assert(isequal(euler341(310),42))
Elapsed time is 0.000111 seconds.
4   Pass
%% assert(isequal(euler341(4242),210))
Elapsed time is 0.000417 seconds.
5   Pass
%% assert(isequal(euler341(328509),3084))
Elapsed time is 0.016624 seconds.
6   Pass
%% assert(isequal(euler341(551368),4247))
Elapsed time is 0.034932 seconds.
7   Pass
%% assert(isequal(euler341(614125),4540))
Elapsed time is 0.032119 seconds.