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 Solvers108
Suggested Problems
-
given 3 sides, find area of this triangle
793 Solvers
-
Vectorize the digits of an Integer
316 Solvers
-
Remove the two elements next to NaN value
645 Solvers
-
176 Solvers
-
Matrix of almost all zeros, except for main diagonal
180 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!