Cody

Solution 946183

Submitted on 30 Aug 2016 by Jan Orwat
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(LongestCollatz(1e5),77031))

2   Pass
assert(isequal(LongestCollatz(1e6),837799))

3   Pass
assert(isequal(LongestCollatz(1e7),8400511))

4   Pass
assert(isequal(LongestCollatz(1e8),63728127))

Suggested Problems