Number Theory - Primitive Roots

Click For Summary
SUMMARY

The discussion focuses on the conditions under which the equation x² ≡ a (mod n) has solutions, given that n has a primitive root g. It establishes that if a is a primitive root mod m, then the congruence does not have a solution when a = g^i where (i, φ(n)) = 1. Additionally, it suggests that if a = g^b where b is even, a solution is likely to exist, as g raised to an even power is never a primitive root.

PREREQUISITES
  • Understanding of primitive roots and their properties in modular arithmetic
  • Familiarity with Euler's totient function φ(n)
  • Knowledge of congruences and modular equations
  • Basic number theory concepts, particularly regarding perfect squares
NEXT STEPS
  • Investigate the properties of primitive roots in modular arithmetic
  • Explore the implications of Euler's theorem on congruences
  • Learn about quadratic residues and their role in modular equations
  • Study specific cases of n and their primitive roots to identify patterns
USEFUL FOR

Mathematicians, number theorists, and students studying modular arithmetic and primitive roots, particularly those interested in solving modular equations.

mattmns
Messages
1,121
Reaction score
5
Here is the question:
-----------
Suppose n has a primitive root g. For which values of a (in terms of the primitive root g) does the equations x^2 \equiv a \ \text{(mod n)} have solutions?
-----------

I really don't have much of an idea of how to even begin this one. Let g be a primitive root mod n, so g^{\phi(n)} \equiv 1 \ \text{(mod n)} and if g^N \equiv 1 \ \text{mod n} then \phi(n) \mid N. I am not sure how this fits in. Perhaps if (a,n)=1 we can do something (like using that g^i \equiv a \ \text{mod n} for some i)? If a is a perfect square then we can do something. I guess I can see many options for breaking into cases (with a, or with n), but none seem all that nice. Should I maybe be looking at (x-a)(x+a) \equiv 0 \ \text{mod n}[\itex]? I think I will try a concrete example and see if anything stands out. Any ideas would be appreciated, thanks!
 
Physics news on Phys.org
What do the even powers of g look like? (You may want to look at the case n>2 so that \phi(n) is even.)
 
I am not sure I understand what you mean; how I am supposed to look at the even powers of g? I am not sure if I am missing something obvious, but I think of g^2 as g^2, and g^4 as g^4, I can't really see anything special (though I am sure I am missing something).

I started looking at some concrete examples, and found something interesting (to me at least). It seems as though if a is a primitive root mod m, then the congruence does not have a solution. (that is, x^2 \equiv a \ \text{mod n} does not have a solution when a = g^i \ \text{where} \ (i,\phi(n))=1). Though I can't seem to prove this, and this does not complete the problem anyway, but seemed an interesting coincidence.edit... Hmm, I just might see what you are getting at. Since \phi(n) is even, we know that g to an even power is never a primitive root. Perhaps a = g^b where b is even always has a solution.
 
Last edited:

Similar threads

Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 22 ·
Replies
22
Views
1K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
1K