Given that the sequence $a_n$ is defined such that $a_n \equiv 4^n \pmod{15}$, find the smallest positive integer $n$ for which $a_n \equiv 1 \pmod{15}$. Let's think step by step and output the final answer within \boxed{}.
user