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
-
4447 Solvers
-
Sum all integers from 1 to 2^n
17716 Solvers
-
1537 Solvers
-
Given a window, how many subsets of a vector sum positive
872 Solvers
-
779 Solvers
More from this Author63
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!