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
-
9451 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2038 Solvers
-
Get the length of a given vector
10044 Solvers
-
734 Solvers
-
Create matrix of replicated elements
373 Solvers
More from this Author54
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!