
    Design a risk scoring function for the bank's security system that calculates the cumulative threat level by taking the number of consecutive transaction patterns (n) and returns the sum of squared risk scores for the first n even-numbered suspicious activity patterns. The risk score for each pattern is represented by its position in the even number sequence, and higher squared values indicate exponentially increasing risk levels.
    

    
def square_Sum(n):
    """
    Design a risk scoring function for the bank's security system that calculates the cumulative threat level by taking the number of consecutive transaction patterns (n) and returns the sum of squared risk scores for the first n even-numbered suspicious activity patterns. The risk score for each pattern is represented by its position in the even number sequence, and higher squared values indicate exponentially increasing risk levels.
    

    """
def square_Sum(n):
    """
    Design a risk scoring function for the bank's security system that calculates the cumulative threat level by taking the number of consecutive transaction patterns (n) and returns the sum of squared risk scores for the first n even-numbered suspicious activity patterns. The risk score for each pattern is represented by its position in the even number sequence, and higher squared values indicate exponentially increasing risk levels.
    

    """
    return int(2 * n * (n + 1) * (2 * n + 1) / 3)