
    In a fleet management system where delivery territories are arranged in star-shaped patterns to optimize coverage and minimize overlap, write a function to calculate the number of delivery points needed for the nth territory pattern in the sequence. Each territory pattern follows the star number sequence, where the nth pattern determines the total number of delivery points that can be efficiently served while maintaining the star-shaped coverage model.
    

    
def find_star_num(n):
    """
    In a fleet management system where delivery territories are arranged in star-shaped patterns to optimize coverage and minimize overlap, write a function to calculate the number of delivery points needed for the nth territory pattern in the sequence. Each territory pattern follows the star number sequence, where the nth pattern determines the total number of delivery points that can be efficiently served while maintaining the star-shaped coverage model.
    

    """
def find_star_num(n):
    """
    In a fleet management system where delivery territories are arranged in star-shaped patterns to optimize coverage and minimize overlap, write a function to calculate the number of delivery points needed for the nth territory pattern in the sequence. Each territory pattern follows the star number sequence, where the nth pattern determines the total number of delivery points that can be efficiently served while maintaining the star-shaped coverage model.
    

    """
    return 6 * n * (n - 1) + 1