Solving the Primitive Root Problem for g & -g Modulo p

  • Thread starter Thread starter b0mb0nika
  • Start date Start date
  • Tags Tags
    Primitive Root
Click For Summary
SUMMARY

The discussion focuses on the Primitive Root Problem concerning the integer g and the odd prime p, specifically analyzing whether -g is a primitive root modulo p based on the congruence of p modulo 4. It is established that if p ≡ 1 (mod 4), then -g is also a primitive root, while if p ≡ 3 (mod 4), -g is not a primitive root. The reasoning relies on the properties of primitive roots and their relationship with modular arithmetic, particularly the equations g^q ≡ -1 (mod p) and (-g)^q ≡ 1 (mod p).

PREREQUISITES
  • Understanding of primitive roots and their properties
  • Familiarity with modular arithmetic
  • Knowledge of congruences, specifically modulo 4
  • Basic algebraic manipulation involving exponents
NEXT STEPS
  • Study the properties of primitive roots in number theory
  • Learn about modular exponentiation techniques
  • Explore the implications of quadratic residues in modular arithmetic
  • Investigate the applications of primitive roots in cryptography
USEFUL FOR

Mathematicians, computer scientists, and cryptographers interested in number theory, particularly those focused on modular arithmetic and its applications in cryptography and algorithm design.

b0mb0nika
Messages
36
Reaction score
0
let g be a primitive root of the odd prime p
show that -g is a primitive root or not according as
p==1 ( mod 4) or p==3(mod4)

how would i start in solving this problem
thanks
:cool:
 
Physics news on Phys.org
For p==1 Mod 4, there exists an X such that X^2 ==-1 Mod p. This is not true for p==3 Mod 4. If x is a primitive root then x^((p-1)/2) = -1 since the smallest power of x that is 1 Mod p is x^(p-1). So, those are the facts needed.
 


To start solving this problem, we first need to understand what a primitive root is and how it relates to the given conditions of p.

A primitive root, also known as a primitive element, is an integer g that generates the multiplicative group of integers modulo p. This means that for any integer a coprime to p, there exists an integer k such that g^k ≡ a (mod p). In other words, g raised to different powers can produce all the possible remainders when divided by p.

Now, let's consider the two cases given: p ≡ 1 (mod 4) and p ≡ 3 (mod 4).

Case 1: p ≡ 1 (mod 4)
In this case, p can be expressed as p = 4q + 1 for some integer q. This means that p is congruent to 1 modulo 4.

Using this information, we can show that -g is also a primitive root modulo p.
Since g is a primitive root, we know that g^q ≡ -1 (mod p).
Multiplying both sides by -1, we get (-g)^q ≡ 1 (mod p).
This shows that -g is also a primitive root modulo p.

Case 2: p ≡ 3 (mod 4)
In this case, p can be expressed as p = 4q + 3 for some integer q. This means that p is congruent to 3 modulo 4.

Using this information, we can show that -g is not a primitive root modulo p.
Assume that -g is a primitive root, then (-g)^q ≡ 1 (mod p) for some integer q.
But we know that g^q ≡ -1 (mod p) from the definition of primitive root.
Multiplying both sides by -1, we get (-g)^q ≡ 1 (mod p).
This means that (-g)^q ≡ g^q ≡ -1 (mod p).
However, this contradicts the fact that g is a primitive root.
Therefore, -g is not a primitive root modulo p in this case.

In conclusion, the statement holds true and the solution depends on the congruence of p modulo 4. If p ≡ 1 (mod 4),
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
24
Views
6K
  • · Replies 3 ·
Replies
3
Views
998
Replies
3
Views
2K