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
-
6722 Solvers
-
Number of 1s in the Binary Representation of a Number
488 Solvers
-
Numbers with prime factors 2, 3 and 5.
683 Solvers
-
Return a list sorted by number of consecutive occurrences
440 Solvers
-
251 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!