
    Given the total number of patient appointments scheduled for a medical facility, determine all possible ways to evenly distribute these appointments into equal-sized time blocks by finding the sum of all numbers that divide perfectly into the total appointment count. This calculation will help optimize the scheduling system by identifying the most efficient ways to group appointments while maintaining balanced patient loads throughout the operating hours.
    

    
def sum_div(number):
    """
    Given the total number of patient appointments scheduled for a medical facility, determine all possible ways to evenly distribute these appointments into equal-sized time blocks by finding the sum of all numbers that divide perfectly into the total appointment count. This calculation will help optimize the scheduling system by identifying the most efficient ways to group appointments while maintaining balanced patient loads throughout the operating hours.
    

    """
def sum_div(number):
    """
    Given the total number of patient appointments scheduled for a medical facility, determine all possible ways to evenly distribute these appointments into equal-sized time blocks by finding the sum of all numbers that divide perfectly into the total appointment count. This calculation will help optimize the scheduling system by identifying the most efficient ways to group appointments while maintaining balanced patient loads throughout the operating hours.
    

    """
    divisors = [1]
    for i in range(2, number):
        if number % i == 0:
            divisors.append(i)
    return sum(divisors)