On generic complexity of the problem of representation of natural numbers by sum of two squares | Prikladnaya Diskretnaya Matematika - Applied Discrete Mathematics. 2020. № 48. DOI: 10.17223/20710410/48/8

Generic-case approach to algorithmic problems was suggested by Miasnikov, Kapovich, Schupp and Shpilrain in 2003. This approach studies behavior of an algorithm on typical (almost all) inputs and ignores the rest of inputs. In this paper, we study the generic complexity of the problem of representation of natural numbers by sum of two squares. This problem, going back to Fermat and Euler, is closely related to the problem of integer factorization and the quadratic residuosity problem modulo composite numbers, for which no efficient algorithms are known. We prove that under the condition of worst-case hardness and P = BPP, for the problem of representation of natural numbers by sum of two squares there is no polynomial strongly generic algorithm. A strongly generic algorithm solves a problem not on the whole set of inputs, but on a subset, the sequence of frequencies which with increasing size converges exponentially fast to 1. To prove this theorem we use the method of generic amplification, which allows to construct generically hard problems from the problems hard in the classical sense. The main ingredient of this method is a technique of cloning, which unites inputs of the problem together in the large enough sets of equivalent inputs. Equivalence is understood in the sense that the problem is solved similarly for them.
Download file
Counter downloads: 102
  • Title On generic complexity of the problem of representation of natural numbers by sum of two squares
  • Headline On generic complexity of the problem of representation of natural numbers by sum of two squares
  • Publesher Tomask State UniversityTomsk State University
  • Issue Prikladnaya Diskretnaya Matematika - Applied Discrete Mathematics 48
  • Date:
  • DOI 10.17223/20710410/48/8
Keywords
генерическая сложность, суммы квадратов, диофантовы уравнения, generic complexity, sums of squares, Diophantine equations
Authors
References
Dickson L. E. History of the Theory of Numbers. V. II. N.Y.: Dover Publications, 2005. 803 p.
Сендеров В., Спивак А. Суммы квадратов и целые гауссовы числа // Квант. 1999. №3. C.14-22.
Adleman L. M. and McCurley K. S. Open problems in number theoretic complexity, II // Proc. First Intern. Symp. Algorithmic Number Theory. N.Y., USA, May 6-9, 1994. P.291-322.
Kapovich I., Miasnikov A, Schupp P., and Shpilrain V. Generic-case complexity, decision problems in group theory and random walks // J. Algebra. 2003. V. 264. No. 2. P. 665-694.
Impagliazzo R. and Wigderson A. P = BPP unless E has subexponential circuits: Derandomizing the XOR Lemma. Proc. 29th STOC. El Paso: ACM, 1997. P. 220-229.
Hardy G. H. and Ramanujan S. Twelve Lectures on Subjects Suggested by His Life and Work. N.Y.: Chelsea, 1999. 67p.
 On generic complexity of the problem of representation of natural numbers by sum of two squares | Prikladnaya Diskretnaya Matematika - Applied Discrete Mathematics. 2020. № 48. DOI: 10.17223/20710410/48/8
On generic complexity of the problem of representation of natural numbers by sum of two squares | Prikladnaya Diskretnaya Matematika - Applied Discrete Mathematics. 2020. № 48. DOI: 10.17223/20710410/48/8