Primitive Roots Modulo $p$: The $(p-1)/2$ Rule

  • Context: MHB 
  • Thread starter Thread starter alexmahone
  • Start date Start date
  • Tags Tags
    Primitive Roots
Click For Summary
SUMMARY

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 \).

PREREQUISITES
  • Understanding of primitive roots in modular arithmetic
  • Familiarity with the properties of odd prime numbers
  • Knowledge of modular exponentiation
  • Basic concepts of group theory related to the order of elements
NEXT STEPS
  • Study the properties of primitive roots in number theory
  • Learn about the order of elements in modular arithmetic
  • Explore examples of primitive roots for various odd primes
  • Investigate the implications of the Legendre symbol in relation to primitive roots
USEFUL FOR

Mathematicians, number theorists, and students studying modular arithmetic and group theory, particularly those interested in the properties of primitive roots and their applications.

alexmahone
Messages
303
Reaction score
0
Is it true that $g$ is a primitive root modulo $p$ if and only if $g^{(p-1)/2} \equiv -1 \pmod p$?
 
Mathematics news on Phys.org
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$?
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$?

Hi Alexmahone,

I assume that $p$ is supposed to be an odd prime?

If so, then it is true that $g$ is a primitive root modulo $p$ if and only if the order of $g$ is $p-1$ modulo $p$.

So what we need is that the order of $g$ is $p-1$.
From $g^{(p-1)/2} \equiv -1 \pmod p$, we can only conclude that the order of $g$ is not $(p-1)/2$, but it could still be $(p-1)/3$ or some such.

Opalg's example is showing exactly that, which is the simplest counter example. He picked the smallest odd prime for which $(p-1)/k$ is an integer with $k>2$, and he found a $g$ to match. :)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K