This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Alfonso Nieto-Castanon
on 3 Feb 2012
this trick (c.f. Solution 26456) works only for these particular test cases, it would fail for example with euler002(6)...
Ankith Rathod
on 19 Jul 2018
While evaluating the solution, the server encountered an error caused by temporary unavailability of MATLAB Service. Wait a few minutes for the MATLAB Service to return, and then rescore.
Suggested Problems
-
1694 Solvers
-
Sum all integers from 1 to 2^n
16360 Solvers
-
9816 Solvers
-
931 Solvers
-
9833 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!