Consider the sequence defined by \( a_n = 3n + 2 \). Evaluate the function for \( n = 1, 2, 3, 4, \) and \( 5 \). Then, identify the pattern and predict the value of \( a_{10} \). Let's think step by step and output the final answer within \boxed{}.
user