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
-
given 3 sides, find area of this triangle
823 Solvers
-
1465 Solvers
-
Make a run-length companion vector
662 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14216 Solvers
-
1154 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!