Proof, that $a \equiv 1 \pmod{p}$

79 Views Asked by At

Let $n \in \mathbb{N}^{+} \smallsetminus \{{1}\}$ and $p = min\{p \in \mathbb{P} : p \mid n\}$.

Also, let $a \in \mathbb{Z}$ and $a^n \equiv 1 \pmod{n}$

I need to proof, that $a \equiv 1 \pmod{p}$.

It is a study task. Therefore, I wish to get some algorithm of solution of my problem.

1

There are 1 best solutions below

0
On BEST ANSWER

Fermat's Little Theorem can be stated as, for any prime $p$ and coprime $a$ we have that $$a^{p-1}=1\pmod p$$ These questions are scattered around. Feel free to read on-line literature on the subject, it is not too hard to find.