Output the sum of all the divisors of a number (n). For example n=10, divisors = 1, 2, 5, 10, output = 18.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53508 Solvers
-
Determine whether a vector is monotonically increasing
23423 Solvers
-
1945 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
895 Solvers
-
681 Solvers
More from this Author65
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!