
    Design a fraud risk scoring function that calculates the total severity score by summing the squared values of the first n risk levels, where risk levels are represented by consecutive odd numbers (1,3,5,...). The function should take the number of risk patterns (n) as input and output a single aggregate risk score that emphasizes higher-risk patterns through squaring.
    

    
def square_Sum(n):
    """
    Design a fraud risk scoring function that calculates the total severity score by summing the squared values of the first n risk levels, where risk levels are represented by consecutive odd numbers (1,3,5,...). The function should take the number of risk patterns (n) as input and output a single aggregate risk score that emphasizes higher-risk patterns through squaring.
    

    """
def square_Sum(n):
    """
    Design a fraud risk scoring function that calculates the total severity score by summing the squared values of the first n risk levels, where risk levels are represented by consecutive odd numbers (1,3,5,...). The function should take the number of risk patterns (n) as input and output a single aggregate risk score that emphasizes higher-risk patterns through squaring.
    

    """
    return int(n * (4 * n * n - 1) / 3)