How to determine if the expansion of $1/n$ would be a recurring decimal expansion or not? for example, $1/7 = 0.\overline{142857}$ but $1/8=0.125$.
So, how to find if $1/n$ would be a recurring decimal expansion or not?
Note: Here, $1/6=0.16666\ldots$ is not a recurring decimal expansion.