Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers70
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6870 Solvers
-
4529 Solvers
-
Longest run of consecutive numbers
6810 Solvers
-
12440 Solvers
-
559 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!