Given a number x, your function must return the summation of all integers from 1 to 2^x.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers115
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1992 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2537 Solvers
-
Create a vector whose elements depend on the previous element
788 Solvers
-
490 Solvers
-
190 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The problems title and description have been cleaned up along with an expanded test suite.