For how many integers $n$ from $1$ to $29$ is the fraction $\frac{n}{30}$ a repeating decimal?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
For how many integers $n$ from $1$ to $29$ is the fraction $\frac{n}{30}$ a repeating decimal?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
20
For how many integers $n$ from $1$ to $29$ is the fraction $\frac{n}{30}$ a repeating decimal?
train