
    Design an algorithm to calculate the target pattern complexity for a student's nth geometric milestone in the pattern recognition module, where each milestone follows a decagonal sequence progression. The milestone value must be determined using the student's current learning level (n) to support adaptive difficulty scaling in their personalized learning path.
    

    
def is_num_decagonal(n):
    """
    Design an algorithm to calculate the target pattern complexity for a student's nth geometric milestone in the pattern recognition module, where each milestone follows a decagonal sequence progression. The milestone value must be determined using the student's current learning level (n) to support adaptive difficulty scaling in their personalized learning path.
    

    """
def is_num_decagonal(n):
    """
    Design an algorithm to calculate the target pattern complexity for a student's nth geometric milestone in the pattern recognition module, where each milestone follows a decagonal sequence progression. The milestone value must be determined using the student's current learning level (n) to support adaptive difficulty scaling in their personalized learning path.
    

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