If $a$ is coprime to $p$, and $a \not \equiv 1,-1 \mod p $ then are there any solutions to $a^k \equiv 1 \mod p $ such that $0< k < p-1$?
For any counterexample, it is obvious $GCD(p-1, k) \not = 1$, However, I could not find any counterexamples.
If $a$ is coprime to $p$, and $a \not \equiv 1,-1 \mod p $ then are there any solutions to $a^k \equiv 1 \mod p $ such that $0< k < p-1$?
For any counterexample, it is obvious $GCD(p-1, k) \not = 1$, However, I could not find any counterexamples.
The group $(\mathbf{Z}/p\mathbf{Z})^\star$ is cyclic, hence it admits a generator $g$. All numbers coprime with $p$ can be represented as $g^m$, with $1\le m\le p-1$. Therefore we ask asking whether $$g^{mk}=1 \Longleftrightarrow p-1 \mid mk \Longleftrightarrow \frac{p-1}{\text{gcd}(p-1,m)} \mid k.$$ :)