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 Solvers22
Suggested Problems
-
43230 Solvers
-
Return the largest number that is adjacent to a zero
5411 Solvers
-
Increment a number, given its digits
661 Solvers
-
Back to basics 11 - Max Integer
791 Solvers
-
Determine if input is a perfect number
242 Solvers
More from this Author57
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!