Enhanced Algorithms for the Representation of integers by Binary Quadratic forms: Reduction to Subset Sum
Maher Mamah

TL;DR
This paper introduces efficient algorithms for representing integers with binary quadratic forms by reducing the problem to subset sum, enabling polynomial-time solutions in certain cases and improving existing methods.
Contribution
It presents a novel reduction of the quadratic form representation problem to subset sum, leading to more efficient algorithms, especially when the discriminant is polylogarithmic in m.
Findings
Polynomial-time solution when |disc(f)| = polylog(m)
Quadratic speedup over Cornacchia's method
Applicable to cryptography and elliptic curve problems
Abstract
In this paper, we present efficient algorithms for solving the Diophantine equation for an arbitrary definite binary quadratic form , given the factorization of . While Cornacchia's algorithm to solve is efficient in many cases, its runtime becomes exponentially large when is highly composite and encounters subtleties when generalized to arbitrary forms . To address these issues, we give a reduction from our problem to an instance of the Subset sum, a weakly NP complete problem, allowing for more efficient solutions. Leveraging this approach, we develop deterministic algorithms that adapt to different cases based on and . In particular, when , we provide a polynomial time solution that remains efficient regardless of the structure of . For more general cases, we present an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPolynomial and algebraic computation · Analytic Number Theory Research · Advanced Mathematical Identities
