Problem 47643. Find the sum to n terms of an arithmetic progression of the type 2n+1.
Example: Sum the first 20 terms of the sequence: 1, 3, 5, 7, 9, ...
S20=400.
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 28 Nov 2020
Extremely poor problem statement and test suites.
Kindly see other questions to improve the whole question.
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
Split a string into chunks of specified length
1533 Solvers
-
406 Solvers
-
4337 Solvers
-
Converts numbers into characters
1197 Solvers
-
643 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!