
    Design a function that calculates the total number of learning objectives a student needs to master at their current learning level, where objectives are arranged in an expanding hexagonal pattern with each new level adding a complete outer layer of interconnected concepts. Each learning level n builds upon previous levels, creating a centered hexagonal structure where the total number of objectives at level n follows the centered hexagonal number sequence.
    

    
def centered_hexagonal_number(n):
    """
    Design a function that calculates the total number of learning objectives a student needs to master at their current learning level, where objectives are arranged in an expanding hexagonal pattern with each new level adding a complete outer layer of interconnected concepts. Each learning level n builds upon previous levels, creating a centered hexagonal structure where the total number of objectives at level n follows the centered hexagonal number sequence.
    

    """
def centered_hexagonal_number(n):
    """
    Design a function that calculates the total number of learning objectives a student needs to master at their current learning level, where objectives are arranged in an expanding hexagonal pattern with each new level adding a complete outer layer of interconnected concepts. Each learning level n builds upon previous levels, creating a centered hexagonal structure where the total number of objectives at level n follows the centered hexagonal number sequence.
    

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