
    Given a delivery network that expands in tetrahedral patterns where each level encompasses additional delivery zones, calculate the total number of interconnected delivery points when expanding to n levels of distribution coverage. The network grows such that each new level adds a triangular layer of delivery points on top of the previous levels, creating a pyramid-like structure of route connections.
    

    
def tetrahedral_number(n):
    """
    Given a delivery network that expands in tetrahedral patterns where each level encompasses additional delivery zones, calculate the total number of interconnected delivery points when expanding to n levels of distribution coverage. The network grows such that each new level adds a triangular layer of delivery points on top of the previous levels, creating a pyramid-like structure of route connections.
    

    """
def tetrahedral_number(n):
    """
    Given a delivery network that expands in tetrahedral patterns where each level encompasses additional delivery zones, calculate the total number of interconnected delivery points when expanding to n levels of distribution coverage. The network grows such that each new level adds a triangular layer of delivery points on top of the previous levels, creating a pyramid-like structure of route connections.
    

    """
    return n * (n + 1) * (n + 2) / 6