
    In a hospital's patient readmission risk assessment system, develop a function that calculates the risk threshold value for any given risk level n, where each threshold follows a decagonal sequence pattern to categorize patient readmission probability. The risk threshold values must follow the mathematical pattern where the nth threshold equals n(8n-7), enabling healthcare providers to consistently evaluate patient readmission risks across different severity levels.
    

    
def is_num_decagonal(n):
    """
    In a hospital's patient readmission risk assessment system, develop a function that calculates the risk threshold value for any given risk level n, where each threshold follows a decagonal sequence pattern to categorize patient readmission probability. The risk threshold values must follow the mathematical pattern where the nth threshold equals n(8n-7), enabling healthcare providers to consistently evaluate patient readmission risks across different severity levels.
    

    """
def is_num_decagonal(n):
    """
    In a hospital's patient readmission risk assessment system, develop a function that calculates the risk threshold value for any given risk level n, where each threshold follows a decagonal sequence pattern to categorize patient readmission probability. The risk threshold values must follow the mathematical pattern where the nth threshold equals n(8n-7), enabling healthcare providers to consistently evaluate patient readmission risks across different severity levels.
    

    """
    return 4 * n * n - 3 * n