4

Let $p > 2$ be a prime number with the property that $ q:= \frac{p-1}{2} $ is also prime.

Let $a$ $ \in \mathbb{Z} $ with $$a \not\equiv 0,-1( \text{ mod }p )$$

How can I show that if

$$ a^{\frac{p-1}{2}} \not\equiv 1 ( \text{ mod } p ),$$ then $a $ is a primitive root modulo p ?

I don't get the right Idea to prove it..maybe you can help!

Thank you very much in advance!

Bill Dubuque
  • 272,048

3 Answers3

2

$a$ is not a primitive root mod $p \iff a^n\equiv1\bmod p$ for $0<n<p-1$.

But if $a^n\equiv1\bmod p$ then since $a^{p-1}\equiv1\bmod p$, $a^d\equiv1\bmod p$ where $d=\gcd(n,p-1)$,

and since $\dfrac{p-1}2$ is prime, the only possibilities for $d$ would be $1, 2, $ and $\dfrac {p-1}2$,

which have been ruled out.

J. W. Tanner
  • 60,406
0

By little Fermat, $a^{p-1}\cong1\pmod p$. Therefore if $n$ is the order of $a$ with $0\lt n\lt p-1$, then $n\mid(p-1)$. Thus $n=1,2$ or $\dfrac{p-1}2\Rightarrow \Leftarrow$. So $p-1$ is the order of $a$, that is, $a$ is primitive $\pmod p$.

  • Yeah, because if $a\equiv-1\bmod p$, then $a$ has order two, and is not primitive. –  Mar 02 '21 at 05:55
0

Hint $ $ By $\,a^{\large 2q}\equiv 1\,$ we infer: $\ a\,$ has order $\,2q\!\iff a^{\large q}\not\equiv 1\ $ & $\,a^{\large 2}\not\equiv 1\ $ by the Order Test

Bill Dubuque
  • 272,048