Problem 3015. Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.
Solution Stats
Problem Comments
-
1 Comment
goc3
on 30 Sep 2016
The problems title and description have been cleaned up along with an expanded test suite.
Solution Comments
Show commentsProblem Recent Solvers114
Suggested Problems
-
Back to basics 9 - Indexed References
453 Solvers
-
Get the length of a given vector
12524 Solvers
-
398 Solvers
-
Sum the real and imaginary parts of a complex number
142 Solvers
-
Rotate a matrix for 180 degree
212 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!