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
-
399 Solvers
-
Basics: Divide integers to get integer outputs in all cases
137 Solvers
-
interesting center of magic matrix
111 Solvers
-
3327 Solvers
-
Is it the answer to life the universe and everything?
34 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!