
    In a hospital's patient monitoring system, determine the number of vital sign measurements required for a given risk assessment level, where each successive level follows a centered hexagonal pattern to ensure comprehensive patient evaluation. The system requires increasingly thorough monitoring as risk levels advance, with the first level requiring 1 measurement, second level requiring 7 measurements, third level requiring 19 measurements, and so forth.
    

    
def centered_hexagonal_number(n):
    """
    In a hospital's patient monitoring system, determine the number of vital sign measurements required for a given risk assessment level, where each successive level follows a centered hexagonal pattern to ensure comprehensive patient evaluation. The system requires increasingly thorough monitoring as risk levels advance, with the first level requiring 1 measurement, second level requiring 7 measurements, third level requiring 19 measurements, and so forth.
    

    """
def centered_hexagonal_number(n):
    """
    In a hospital's patient monitoring system, determine the number of vital sign measurements required for a given risk assessment level, where each successive level follows a centered hexagonal pattern to ensure comprehensive patient evaluation. The system requires increasingly thorough monitoring as risk levels advance, with the first level requiring 1 measurement, second level requiring 7 measurements, third level requiring 19 measurements, and so forth.
    

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