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
-
Project Euler: Problem 5, Smallest multiple
1674 Solvers
-
Rosenbrock's Banana Function and its derivatives
167 Solvers
-
Back to basics 25 - Valid variable names
339 Solvers
-
Find the index of n in magic(n)
273 Solvers
-
1003 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!