Is 19 = x^2 mod p solvable? p=68659

  • Context: Undergrad 
  • Thread starter Thread starter quila
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the solvability of the equation 19 = x^2 mod p, specifically for the prime number p = 68659. Participants explore concepts from number theory, particularly quadratic reciprocity, to determine whether a solution exists.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that the problem can be analyzed using quadratic reciprocity, noting that both 68659 and 19 are prime and congruent to 3 modulo 4.
  • One participant proposes that if the quadratic reciprocity condition results in 1, the equation is solvable, while -1 indicates it is not.
  • A participant mentions a calculation involving squares and congruences, indicating that all odd squares are congruent to 1 mod 8, and discusses a specific form for K in the equation.
  • Another participant questions the correctness of a proposed value for K, suggesting an alternative form.
  • There is mention of using computational tools, with one participant noting the efficiency of a Pari/GP program for solving the problem.
  • Some participants discuss the implications of the law of quadratic reciprocity in relation to another equation, x^2 = 7 mod 67, and its solvability.
  • One participant asserts that if 19^{(p-1)/2} ≡ +1 mod p, then the original congruence is solvable, while another argues that using quadratic reciprocity is a simpler approach.
  • There is a claim that the original problem has a solution based on the congruences derived from the quadratic reciprocity analysis.

Areas of Agreement / Disagreement

Participants express differing views on the methods and implications of quadratic reciprocity, with some supporting its use while others propose alternative approaches. The discussion does not reach a consensus on the solvability of the original equation.

Contextual Notes

The discussion includes various assumptions about congruences and the properties of primes, which may not be fully resolved or agreed upon by all participants.

quila
Messages
7
Reaction score
0
Can some one tell me how to figure out if this is solvable or not?

For the Prime number p=68659,

19=x^2 mod p.

Why?
 
Physics news on Phys.org
This is a matter in quadratic reciprocity. Since 68659 and 19 are both prime and congruent to 3 modulo 4. The problem depends upon applying that case.
 
So if it ends up equaling 1 it will be solvable, and if it ends up equaling -1 it won't be solvable? If it is solvable, how do you solve it?
 
You'll have to do a little more reading on your own.
 
k, thanks
 
If you want to spend time calculating it:

[tex]41637^2-19 = (25250)(68659)[/tex]
 
hmmm...I have no clue how you did that. Could you give me a hint or something, i.e. the name of the procedure?
 
I just ran a calculator, however, you would have to go through 25250 terms, so I had to shorten that. The fact is all odd squares are congruent to 1 Mod 8. Both 19 and 68659 and congruent to 3 Mod 8. So to solve the equation X^2 = 19 + 68659K, we must have K==2 Mod 8. Thus K=2+8J.

So we are left with the form X^2 = 19 + 137318 + 549272(J) = 137337 + 549272(J). So the program runs much faster now through values of J. J = 3156.

But, if you'd go back to how the problem is supposed to be worked, such details are unnecessary.
 
robert Ihnot said:
I just ran a calculator, however, you would have to go through 25250 terms, so I had to shorten that. The fact is all odd squares are congruent to 1 Mod 8. Both 19 and 68659 and congruent to 3 Mod 8. So to solve the equation X^2 = 19 + 68659K, we must have K==2 Mod 8. Thus K=2+8J.

So we are left with the form X^2 = 19 + 137318 + 549272(J) = 137337 + 549272(J). So the program runs much faster now through values of J. J = 3156.

But, if you'd go back to how the problem is supposed to be worked, such details are unnecessary.
OK how do you work the problem x^2 = 7 mod 67 since according to the law of quadratic recprocity there is a solution. I have

X^2 = 7 + 67K where K = 2 + 8J
X^2 = 7 + 134 + 536J = 141 + 536J

Where do we go from here?
 
  • #10
Shouldn't that be K = -2 + 8J?
 
  • #11
A highly inefficient Pari/GP program will give the answer in 63 milliseconds. I'm sure that code could be optimized to run in less than 10 ms, but why bother?
 
  • #12
if [tex]19^{(p-1)/2}[/tex] [tex]\equiv[/tex] +1 mod p then your congruence is solvable
 
  • #13
Ramsey2879: OK how do you work the problem x^2 = 7 mod 67 since according to the law of quadratic recprocity there is a solution.

What solution? Both 67 and 7 are congruent to 3 mod 4. So since x^2==67==4 Mod 7 has a solution, your problem does not.

CRGreathouse: A highly inefficient Pari/GP program will give the answer in 63 milliseconds. I'm sure that code could be optimized to run in less than 10 ms, but why bother?

As far as what I was working on, I only used a old HP 15c, which does about 60 to 100 things a minute.

al-mahed: if 19^((p-1)/2) == +1 mod p then your congruence is solvable.

That's true, but its easier to use quadratic reciprocity. We look at X^2 ==68659 ==12 Mod 19, which is the same as (X/2)^2 == 3 Mod 19, and then reverse again getting X^2==19==1 Mod 3.

Since the cases are congruent to 3 Mod 4, the last equation is easily seen to be true, so the previous equation is false and so the original problem is true, i.e. has a solution.
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
48
Views
6K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K