
    In a student engagement monitoring system, educators need to calculate the cumulative impact of declining student participation throughout a semester. Starting with an initial engagement score, the system tracks how the score decreases by 2 points at each assessment interval until the student reaches a critical disengagement threshold of zero or below. The total impact score is calculated by summing the engagement values at each interval, beginning with the initial score and including each decremented value until reaching the threshold. This cumulative score helps identify high-risk students and determine optimal intervention timing, with higher sums indicating more opportunities for successful intervention. Calculate this total impact score for any given initial engagement value to help educators make data-driven decisions about student support.
    

    
def sum_series(n):
    """
    In a student engagement monitoring system, educators need to calculate the cumulative impact of declining student participation throughout a semester. Starting with an initial engagement score, the system tracks how the score decreases by 2 points at each assessment interval until the student reaches a critical disengagement threshold of zero or below. The total impact score is calculated by summing the engagement values at each interval, beginning with the initial score and including each decremented value until reaching the threshold. This cumulative score helps identify high-risk students and determine optimal intervention timing, with higher sums indicating more opportunities for successful intervention. Calculate this total impact score for any given initial engagement value to help educators make data-driven decisions about student support.
    

    """
def sum_series(n):
    """
    In a student engagement monitoring system, educators need to calculate the cumulative impact of declining student participation throughout a semester. Starting with an initial engagement score, the system tracks how the score decreases by 2 points at each assessment interval until the student reaches a critical disengagement threshold of zero or below. The total impact score is calculated by summing the engagement values at each interval, beginning with the initial score and including each decremented value until reaching the threshold. This cumulative score helps identify high-risk students and determine optimal intervention timing, with higher sums indicating more opportunities for successful intervention. Calculate this total impact score for any given initial engagement value to help educators make data-driven decisions about student support.
    

    """
    if n < 1:
        return 0
    else:
        return n + sum_series(n - 2)