Cody

Problem 45364. Sum of series

Solution 3339758

Submitted on 23 Oct 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(seq_sum(236),55696))

Assertion failed.

2   Fail
assert(isequal(seq_sum(881224),776555738176))

Assertion failed.

3   Fail
assert(isequal(seq_sum(10199),104019601))

Assertion failed.

4   Fail
assert(isequal(seq_sum(8812249),77655732438001))

Assertion failed.

Suggested Problems

More from this Author149

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!