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 Solvers26
Suggested Problems
-
Extract leading non-zero digit
2246 Solvers
-
5972 Solvers
-
Number of 1s in a binary string
11024 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1263 Solvers
-
Area of an equilateral triangle
6792 Solvers
More from this Author61
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!