- Prove that if $\gcd(a,m)>1$, then $a^k\not\equiv1$ (mod $m$) for all $k\ge1$.
I know that the best way to do this is to prove it by contradiction. So, we say that $a^k \equiv 1$ (mod $m$). Also, we know that $a$ and $m$ are not relatively prime. I also feel like this proof would need Fermat’s little Theorem.
- Suppose $\gcd(a,m)=1$. Let $j$ be the order of $a$ modulo $m$. Prove that if $a^k\equiv1$ (mod $m$), then $j∣k$.