Let $p \geq 23$ be a prime number such that the decimal expansion (base 10) of $\frac{1}{p}$ is periodic with period $p-1$ . Let $(\mathbb Z/p \mathbb Z)^*$ denote the multiplicative group of integers modulo $p$. Then which of the following is true?
1) The order of the element $10 \in (\mathbb Z/p \mathbb Z)^*$ is a proper divisor of $p-1$.
2) The order of the element $10 \in (\mathbb Z/p \mathbb Z)^*$ is $(p-1)/2$.
3) The element $10 \in (\mathbb Z/p \mathbb Z)^*$ is a generator of the group $(\mathbb Z/p \mathbb Z)^*$
My Attempt : I know that the group $(\mathbb Z/p \mathbb Z)^*$ is cyclic. And the prime number $p$ is a divisor of $10^{p-1} -1$. I can not deduce anything else from the given question. Can anyone please help me to proceed?
Now we have, $p$ is a prime $(\geq 23)$ and ${\mathbb{Z}_{p}}^{*}$ is a cyclic group with order $p-1$. Again by Fermat's Little theorem, $10^{p-1}\equiv 1 (\bmod \ p)$. So order of $10$ in group ${\mathbb{Z}_{p}}^{*}$ is $\leqslant p-1$. Suppose, $\circ (10) = m < p-1$$,$ then $10^{m}\equiv 1 (\bmod \ p)$. Since $p$ is a prime $(\geq 23)$, so $p\mid (1+10+\dots + 10^{m-1})$. Let $k$ be positive integer such that, $\frac{1}{p} = \frac{k}{1+10+\dots + 10^{m-1}}$. Now if $1\leq k< 10$, then $$\frac{k}{1+10+\dots + 10^{m-1}} = 0.\overline{\underset{\longleftarrow m-2 \longrightarrow}{00\dots 00}(k-1)(10-k)}.$$
Therefore, $\frac{1}{p}$ is periodic with period $m$, a big contradiction!. So option $(3)$ is the only correct option.