This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n = 5;
S = 40;
assert(isequal(FibSumSquares(n),S))
ans =
Columns 1 through 8
1 2 6 15 40 104 273 714
Columns 9 through 11
1870 4895 12816
|
2 | Pass |
%%
n = 11;
S = 12816;
assert(isequal(FibSumSquares(n),S))
ans =
Columns 1 through 8
1 2 6 15 40 104 273 714
Columns 9 through 11
1870 4895 12816
|
28001 Solvers
2814 Solvers
390 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
168 Solvers
Magic is simple (for beginners)
2755 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!