alexmahone
- 303
- 0
Is it true that $g$ is a primitive root modulo $p$ if and only if $g^{(p-1)/2} \equiv -1 \pmod p$?
The discussion confirms that a number \( g \) is a primitive root modulo an odd prime \( p \) if and only if the order of \( g \) is \( p-1 \). It clarifies that the condition \( g^{(p-1)/2} \equiv -1 \pmod{p} \) does not guarantee that \( g \) is a primitive root, as demonstrated by the example of \( p=7 \) and \( g=6 \), where the condition holds but \( g \) is not a primitive root modulo \( 7 \).
PREREQUISITESMathematicians, number theorists, and students studying modular arithmetic and group theory, particularly those interested in the properties of primitive roots and their applications.
No. For example, take $p=7$ and $g=6$. The congruence is satisfied, but $6$ is not a primitive root$\mod 7$.Alexmahone said:Is it true that $g$ is a primitive root modulo $p$ if and only if $g^{(p-1)/2} \equiv -1 \pmod p$?
Alexmahone said:Is it true that $g$ is a primitive root modulo $p$ if and only if $g^{(p-1)/2} \equiv -1 \pmod p$?