The first term of an arithmetic sequence is \(2\) and the common difference is \(5\). If the \(n\)-th term of the sequence is given by \(a_n\), find the value of \(n\) for which \(a_n = 502\). Let's think step by step and output the final answer within \boxed{}.
user