Sum of divisors

Write a funcion @sum_divisors(n)@ that receives a natural number n > 0
and returns the sum of all its divisors, except itself.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T17:10:00.691Z

© Jutge.org, 2006–2026.
https://jutge.org
