Relationship between primitive roots of a prime

In summary, the conversation discusses the relationship between an odd prime number p, primitive roots g and h modulo p, and the integers a, s, and t. The main question is to show that s is congruent to t modulo 2. Hints are given and a potential solution using the fact that g is a power of h is proposed. The conversation then moves on to determining the possible equations for s and t, as well as the number of square residues for each primitive root.
  • #1
thomas430
17
0
Hi all,

I've been staring at this question on and off for about a month:

Suppose that p is an odd prime, and g and h are primitive roots modulo p. If a is an integer, then there are positive integers s and t such that [tex]a \equiv g^s \equiv h^t[/tex] mod p. Show that [tex]s \equiv t[/tex] mod 2.

I feel as though understanding this will give me greater insight into primitive roots, but I'm having trouble even getting started.

Hints, or a push in the right direction would be great!


Thanks :)
 
Physics news on Phys.org
  • #2
h is a power of g.
 
  • #3
If k is the index of h, then
[tex]h \equiv g^k \: mod \: p [/tex]

and:
[tex]g^s \equiv (\left g^k )\right ^t \: mod \: p[/tex]

Is that the right idea?
 
  • #4
So...

[tex]g = h^k, \:for\: (k,p-1)=1[/tex]

substituting:

[tex]g^s \equiv \left( g^k \right)^t \: mod \: p[/tex]
or
[tex]g^s \equiv \left( g^t \right)^k \: mod \: p[/tex]

We know that if p|ab, then p|a or p|b.. so:
[tex]g^s \equiv g^t \: mod \: p[/tex]


Is that correct? What would come next?
 
  • #5
thomas430 said:
So...

[tex]g = h^k, \:for\: (k,p-1)=1[/tex]

substituting:

[tex]g^s \equiv \left( g^k \right)^t \: mod \: p[/tex]
or
[tex]g^s \equiv \left( g^t \right)^k \: mod \: p[/tex]

We know that if p|ab, then p|a or p|b.. so:
[tex]g^s \equiv g^t \: mod \: p[/tex]


Is that correct? What would come next?

decide what are the 2 possibilities for the equation s = kt mod 2 More to the point how many square residues are there for each primative root and which ones are they?
 
Last edited:

FAQ: Relationship between primitive roots of a prime

What is a primitive root of a prime?

A primitive root of a prime number p is an integer r that has the property that every integer coprime to p is congruent to a power of r modulo p. In other words, r is a generator of the multiplicative group of integers modulo p.

How many primitive roots does a prime have?

A prime number p has φ(p-1) primitive roots, where φ is Euler's totient function. For example, the prime number 7 has φ(6) = 2 primitive roots, which are 3 and 5.

What is the relationship between primitive roots and the order of a prime?

The order of a prime number p is the smallest positive integer k such that p divides k^p-1 - 1. The primitive roots of p are precisely the numbers with order p-1.

Can a composite number have primitive roots?

No, a composite number cannot have primitive roots. This is because a primitive root must have the property that every integer coprime to p is congruent to a power of that root modulo p. However, for a composite number, there will always be integers that are not coprime to it, making it impossible for a primitive root to satisfy this property.

How are primitive roots used in cryptography?

Primitive roots have important applications in cryptography, specifically in the Diffie-Hellman key exchange algorithm. In this algorithm, two parties can agree on a secret key without directly exchanging it, using the properties of primitive roots and modular arithmetic.

Similar threads

Replies
2
Views
2K
Replies
5
Views
1K
Replies
4
Views
3K
Replies
5
Views
3K
Replies
3
Views
1K
Replies
5
Views
6K
Back
Top