Problem 58543. Calculate the sum of first x natural numbers
Calculate the sum of first x natural numbers
for example if n=10 output =1+2+..+10=55
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
Least common multiple of many numbers
254 Solvers
-
Sum all integers from 1 to 2^n
17352 Solvers
-
1710 Solvers
-
229 Solvers
-
Find my daddy long leg (No 's')
2712 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!