Cody

Problem 45383. $10,000 sequence

Solution 2192257

Submitted on 4 Apr 2020
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(Hofstadter(50),[29,26]))

Error in solution: Line: 6 Column: 6 Invalid expression. Check for missing or extra characters.

2   Fail
assert(isequal(Hofstadter(5),[3,2]))

Error in solution: Line: 6 Column: 6 Invalid expression. Check for missing or extra characters.

3   Fail
assert(isequal(Hofstadter(500),[255,254]))

Error in solution: Line: 6 Column: 6 Invalid expression. Check for missing or extra characters.

4   Fail
assert(isequal(Hofstadter(73),[40,34]))

Error in solution: Line: 6 Column: 6 Invalid expression. Check for missing or extra characters.

5   Fail
assert(isequal(Hofstadter(1489),[819 695]))

Error in solution: Line: 6 Column: 6 Invalid expression. Check for missing or extra characters.