Problem 46898. Sum of all the divisors of n
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 commentsProblem Recent Solvers21
Suggested Problems
-
Find the sum of all the numbers of the input vector
47707 Solvers
-
4450 Solvers
-
222 Solvers
-
First non-zero element in each column
841 Solvers
-
Determine if input is a perfect number
228 Solvers
More from this Author55
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!