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 Solvers113
Suggested Problems
-
423 Solvers
-
173 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
382 Solvers
-
Let's get back to school, and create multiplication tables
214 Solvers
-
251 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!