
    In a personalized learning system that adapts to student progress, determine the next achievement milestone value for a student based on their current level n, where each milestone follows the star number sequence to ensure appropriate skill progression. A star number at position n is calculated as n * (6 * n - 3) + 1, providing incrementally challenging goals that maintain student engagement while preventing learning gaps.
    

    
def find_star_num(n):
    """
    In a personalized learning system that adapts to student progress, determine the next achievement milestone value for a student based on their current level n, where each milestone follows the star number sequence to ensure appropriate skill progression. A star number at position n is calculated as n * (6 * n - 3) + 1, providing incrementally challenging goals that maintain student engagement while preventing learning gaps.
    

    """
def find_star_num(n):
    """
    In a personalized learning system that adapts to student progress, determine the next achievement milestone value for a student based on their current level n, where each milestone follows the star number sequence to ensure appropriate skill progression. A star number at position n is calculated as n * (6 * n - 3) + 1, providing incrementally challenging goals that maintain student engagement while preventing learning gaps.
    

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