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
-
Number of 1s in the Binary Representation of a Number
491 Solvers
-
2283 Solvers
-
Who is the smartest MATLAB programmer?
795 Solvers
-
425 Solvers
-
81 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!