Paper record
W2077098038On the Computational Complexity of Determining the Solvability or Unsolvability of the Equation X 2 - DY 2 = -1
Jeffrey C. Lagarias
- Year
- 1980
- Venue
- Transactions of the American Mathematical Society
- References
- 37
- Cited by
- 67
Details and counts from OpenAlex.
Abstract
The problem of characterizing those for which the Diophantine equation is solvable has been studied for two hundred years. This paper considers this problem from the viewpoint of determining the computational complexity of recognizing such . For a given , one can decide the solvability or unsolvability of using the ordinary continued fraction expansion of , but for certain this requires more than computational operations. This paper presents a new algorithm for answering this question and proves that this algorithm always runs to completion in bit operations. If the input to this algorithm includes a complete prime factorization of and a quadratic nonresidue for each prime dividing , then this algorithm is guaranteed to run to completion in bit operations. This algorithm is based on an algorithm that finds a basis of forms for the 2-Sylow subgroup of the class group of binary quadratic forms of determinant .