Sum of all the divisors of n - MATLAB Cody - MATLAB Central

Problem 46898. Sum of all the divisors of n

Difficulty:Rate
Output the sum of all the divisors of a number (n). For example n=10, divisors = 1, 2, 5, 10, output = 18.

Solution Stats

29.61% Correct | 70.39% Incorrect
Last Solution submitted on Nov 10, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
18
8

Problem Recent Solvers22

Suggested Problems

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!
Go to top of page