Example: Sum the first 20 terms of the sequence: 1, 3, 5, 7, 9, ...
S20=400.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers47
Suggested Problems
-
Determine whether a vector is monotonically increasing
22889 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2538 Solvers
-
Return the first and last characters of a character array
11829 Solvers
-
find the roots of a quadratic equation
241 Solvers
-
Sum of first n positive integers
622 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Extremely poor problem statement and test suites.
Kindly see other questions to improve the whole question.