Identify the prime number \( p \) such that the sequence defined by \( a_n = 5n + 3 \) contains \( p \) as a term, and find the smallest possible value of \( n \). Let's think step by step and output the final answer within \boxed{}.
user