Find all $n$ where $1/n!$ is repeating decimal with single digit repetend(for example $0.4111111...$ but not $0.412121212...$) but cannot be expressed as a terminating decimal (for example $0.9999999$ doesn't count since it can be expressed as terminating decimal $1.0$)
From my experiment, it seems like once $n$ has prime factor 7, it won't work.
I am not sure how to express "repeating decimal with single digit repetend". It seems a sufficient condition is $10/n! - 1/n! = p/q$ but it's not a necessary condition.
A positive rational number has terminating decimal expansion iff it can be expressed as $x=A/10^k$ for some $A,k \in \mathbb{N}$.
A rational number has a length-1 periodic decimal expansion iff it's not in the form above, but $10x-x=9x=A/10^k$. Then, if $x=1/m$ we require that $m = 2^a 5^b 3^c$ with $a \ge 0$, $b\ge 0$ and $c \ge 1$.
That is, it must be a multiple of $3$, and it can be a multiple of $2$ and $5$, with no other prime factor.
Then, if $m=n!$, we must have $n \in \{ 3, 4, 5, 6 \}$