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 Solvers26
Suggested Problems
-
Find state names that end with the letter A
1197 Solvers
-
Read a column of numbers and interpolate missing data
2350 Solvers
-
Smallest distance between a point and a rectangle
275 Solvers
-
936 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
More from this Author61
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!