In a sequence, the first term is 3, and each subsequent term increases by 4. If the sum of the first \( n \) terms is 78, what is the value of \( n \)? Let's think step by step and output the final answer within \boxed{}.
user