Add connsecutive numbers up to givven number x.
ex: x=5
y=1+2+3+4+5
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers121
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2052 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
608 Solvers
-
492 Solvers
-
666 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!