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

51.4% Correct | 48.6% Incorrect
Last Solution submitted on Mar 26, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers108

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!