
    Design a fraud risk calculation function that takes in the number of consecutive suspicious transactions (n) and computes the cumulative fraud risk indicator by summing the squares of the first n risk severity levels, where severity levels are represented by consecutive odd numbers (1,3,5,...). The resulting sum represents the weighted fraud risk score used to flag potentially fraudulent credit card activity.
    

    
def square_Sum(n):
    """
    Design a fraud risk calculation function that takes in the number of consecutive suspicious transactions (n) and computes the cumulative fraud risk indicator by summing the squares of the first n risk severity levels, where severity levels are represented by consecutive odd numbers (1,3,5,...). The resulting sum represents the weighted fraud risk score used to flag potentially fraudulent credit card activity.
    

    """
def square_Sum(n):
    """
    Design a fraud risk calculation function that takes in the number of consecutive suspicious transactions (n) and computes the cumulative fraud risk indicator by summing the squares of the first n risk severity levels, where severity levels are represented by consecutive odd numbers (1,3,5,...). The resulting sum represents the weighted fraud risk score used to flag potentially fraudulent credit card activity.
    

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