arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.10529math.NT
收藏

平滑子串搜索:一种用于实用整数分解的启发式方法

Smooth Subsum Search: A heuristic for practical integer factorization

Markus Hittmeir

AI总结:

本文提出一种基于可被因子基素数整除的和来表示平滑性候选的整数分解启发式方法,其Python实现比最快的自初始化二次筛法快5至10倍。

摘要:

目前最快的两种通用整数分解算法是二次筛法和数域筛法。这两种技术都用于寻找某些多项式的所谓平滑值,即能够在一组小素数(因子基)上完全分解的值。正如这些方法的名称所示,筛分过程被用于在某一范围内快速识别候选值中的平滑值。虽然数域筛法在渐近意义上更快,但对于大约100位以内的数,二次筛法仍被认为是最有效的分解技术。在本文中,我们通过提出一种新方法来挑战二次筛法,该方法基于将平滑性候选表示为始终能被因子基中若干素数整除的和。所得值通常小于二次筛法中所考虑的值,从而提高了它们成为平滑值的可能性。使用Python中最快的自初始化二次筛法实现作为基准,我们的方法的Python实现在45至100位的数上持续快5到7倍,在30至40位的数上快约10倍。我们讨论了该技术的若干进一步改进途径和应用。

英文摘要:

The two currently fastest general-purpose integer factorization algorithms are the Quadratic Sieve and the Number Field Sieve. Both techniques are used to find so-called smooth values of certain polynomials, i.e., values that factor completely over a set of small primes (the factor base). As the names of the methods suggest, a sieving procedure is used for the task of quickly identifying smooth values among the candidates in a certain range. While the Number Field Sieve is asymptotically faster, the Quadratic Sieve is still considered the most efficient factorization technique for numbers up to around 100 digits. In this paper, we challenge the Quadratic Sieve by presenting a novel approach based on representing smoothness candidates as sums that are always divisible by several of the primes in the factor base. The resulting values are generally smaller than those considered in the Quadratic Sieve, increasing the likelihood of them being smooth. Using the fastest implementations of the Self-initializing Quadratic Sieve in Python as benchmarks, a Python implementation of our approach runs consistently 5 to 7 times faster for numbers with 45-100 digits, and around 10 times faster for numbers with 30-40 digits. We discuss several avenues for further improvements and applications of the technique.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑