
    Design a difficulty scaling function for an adaptive math learning system that calculates the total complexity score by summing the squares of the first n odd numbers, where n represents the student's current progression tier. The resulting score will be used to automatically generate practice problems that match the student's demonstrated skill level in pattern recognition and mental math calculations.
    

    
def square_Sum(n):
    """
    Design a difficulty scaling function for an adaptive math learning system that calculates the total complexity score by summing the squares of the first n odd numbers, where n represents the student's current progression tier. The resulting score will be used to automatically generate practice problems that match the student's demonstrated skill level in pattern recognition and mental math calculations.
    

    """
def square_Sum(n):
    """
    Design a difficulty scaling function for an adaptive math learning system that calculates the total complexity score by summing the squares of the first n odd numbers, where n represents the student's current progression tier. The resulting score will be used to automatically generate practice problems that match the student's demonstrated skill level in pattern recognition and mental math calculations.
    

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