
    Design a function that calculates the total number of unique risk assessment combinations when evaluating loan applications across n hierarchical criteria levels, where each level incorporates all previous levels' criteria in a cumulative manner. The number of assessment points at each level increases triangularly, and the total combinations form a tetrahedral pattern as new criteria levels are added.
    

    
def tetrahedral_number(n):
    """
    Design a function that calculates the total number of unique risk assessment combinations when evaluating loan applications across n hierarchical criteria levels, where each level incorporates all previous levels' criteria in a cumulative manner. The number of assessment points at each level increases triangularly, and the total combinations form a tetrahedral pattern as new criteria levels are added.
    

    """
def tetrahedral_number(n):
    """
    Design a function that calculates the total number of unique risk assessment combinations when evaluating loan applications across n hierarchical criteria levels, where each level incorporates all previous levels' criteria in a cumulative manner. The number of assessment points at each level increases triangularly, and the total combinations form a tetrahedral pattern as new criteria levels are added.
    

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