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
-
Flip the main diagonal of a matrix
909 Solvers
-
Duplicate each element of a vector.
636 Solvers
-
521 Solvers
-
447 Solvers
-
Height of a right-angled triangle
2028 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!