Cody

Solution 947738

Submitted on 31 Aug 2016 by SirSteve26
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
x = 1; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct)) x = 15; y_correct = 1240; assert(isequal(your_fcn_name(x),y_correct)) x = 50; y_correct = 42925; assert(isequal(your_fcn_name(x),y_correct))

y = 1 y = 1 y = 5 y = 14 y = 30 y = 55 y = 91 y = 140 y = 204 y = 285 y = 385 y = 506 y = 650 y = 819 y = 1015 y = 1240 y = 1 y = 5 y = 14 y = 30 y = 55 y = 91 y = 140 y = 204 y = 285 y = 385 y = 506 y = 650 y = 819 y = 1015 y = 1240 y = 1496 y = 1785 y = 2109 y = 2470 y = 2870 y = 3311 y = 3795 y = 4324 y = 4900 y = 5525 y = 6201 y = 6930 y = 7714 y = 8555 y = 9455 y = 10416 y = 11440 y = 12529 y = 13685 y = 14910 y = 16206 y = 17575 y = 19019 y = 20540 y = 22140 y = 23821 y = 25585 y = 27434 y = 29370 y = 31395 y = 33511 y = 35720 y = 38024 y = 40425 y = 42925

Suggested Problems