
    Design a risk assessment function for the bank's fraud detection system that calculates the cumulative threat level by taking the sum of squared risk scores from the first n identified suspicious transaction patterns, where each pattern's risk score is represented by consecutive odd numbers starting from 1. The function should take in the number of suspicious patterns to analyze (n) and output the total threat assessment score.
    

    
def square_Sum(n):
    """
    Design a risk assessment function for the bank's fraud detection system that calculates the cumulative threat level by taking the sum of squared risk scores from the first n identified suspicious transaction patterns, where each pattern's risk score is represented by consecutive odd numbers starting from 1. The function should take in the number of suspicious patterns to analyze (n) and output the total threat assessment score.
    

    """
def square_Sum(n):
    """
    Design a risk assessment function for the bank's fraud detection system that calculates the cumulative threat level by taking the sum of squared risk scores from the first n identified suspicious transaction patterns, where each pattern's risk score is represented by consecutive odd numbers starting from 1. The function should take in the number of suspicious patterns to analyze (n) and output the total threat assessment score.
    

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