
    Write a function that calculates the total weighted priority score for a batch of ride requests, where the number of requests is given as input n, and each request's priority level is represented by consecutive odd numbers starting from 1, with the priority scores being squared to emphasize high-priority rides. The resulting sum helps determine the optimal allocation of available vehicles to pending ride requests in the ride-sharing system.
    

    
def square_Sum(n):
    """
    Write a function that calculates the total weighted priority score for a batch of ride requests, where the number of requests is given as input n, and each request's priority level is represented by consecutive odd numbers starting from 1, with the priority scores being squared to emphasize high-priority rides. The resulting sum helps determine the optimal allocation of available vehicles to pending ride requests in the ride-sharing system.
    

    """
def square_Sum(n):
    """
    Write a function that calculates the total weighted priority score for a batch of ride requests, where the number of requests is given as input n, and each request's priority level is represented by consecutive odd numbers starting from 1, with the priority scores being squared to emphasize high-priority rides. The resulting sum helps determine the optimal allocation of available vehicles to pending ride requests in the ride-sharing system.
    

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