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
-
3428 Solvers
-
Return unique values without sorting
994 Solvers
-
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
139 Solvers
-
Find Factrorial without using built-in function
136 Solvers
-
2924 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!