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
-
Select every other element of a vector
33712 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5690 Solvers
-
Vectorize the digits of an Integer
325 Solvers
-
586 Solvers
-
check whether a number is a pentatope number
61 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!