
    Given a patient's total number of hospital visits, calculate the sum of all possible readmission intervals that evenly divide into their visit history to identify potential cyclic patterns in their healthcare needs. For example, if a patient has visited 12 times, we need to find the sum of all numbers that divide evenly into 12 (1, 2, 3, 4, 6, 12) to evaluate possible periodic health patterns.
    

    
def sum_div(number):
    """
    Given a patient's total number of hospital visits, calculate the sum of all possible readmission intervals that evenly divide into their visit history to identify potential cyclic patterns in their healthcare needs. For example, if a patient has visited 12 times, we need to find the sum of all numbers that divide evenly into 12 (1, 2, 3, 4, 6, 12) to evaluate possible periodic health patterns.
    

    """
def sum_div(number):
    """
    Given a patient's total number of hospital visits, calculate the sum of all possible readmission intervals that evenly divide into their visit history to identify potential cyclic patterns in their healthcare needs. For example, if a patient has visited 12 times, we need to find the sum of all numbers that divide evenly into 12 (1, 2, 3, 4, 6, 12) to evaluate possible periodic health patterns.
    

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