def sum_of_divisors_v1(n):
    """Naive version: Find the sum of all divisors of a given integer."""
    sum_div = 0
    for i in range(1, n+1):
        # check if n is divisible by current number from 1 to n inclusive
        if n % i == 0:
            sum_div += i
    return sum_div