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
-
How to find the position of an element in a vector without using the find function
2712 Solvers
-
Determine if a Given Number is a Triangle Number
375 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
815 Solvers
-
785 Solvers
-
76 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!