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 Solvers16
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9138 Solvers
-
Return the largest number that is adjacent to a zero
5517 Solvers
-
Increment a number, given its digits
686 Solvers
-
Back to basics 12 - Input Arguments
622 Solvers
-
Sum of first n terms of a harmonic progression
501 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!