What is the smallest positive integer $n$ such that $2013^n$ ends in $001$? In other words, find the smallest $n$ for which the rightmost three digits of $2013^n$ are $001$.

Let's think step by step and output the final answer within \boxed{}.
user