Calculate the sum of first x natural numbers
for example if n=10 output =1+2+..+10=55
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers19
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3747 Solvers
-
Project Euler: Problem 5, Smallest multiple
1681 Solvers
-
135 Solvers
-
277 Solvers
-
2716 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!