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

31.41% Correct | 68.59% Incorrect
Last Solution submitted on Nov 29, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers26

Suggested Problems

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!