在线性时间内解决埃尔多斯-辛格-齐定理的问题
Finding a Solution to the Erdős-Ginzburg-Ziv Theorem in Linear Time
AI总结:
本文提出了一种在线性时间内解决埃尔多斯-辛格-齐定理的确定性算法,核心方法是解决一个素数目标子集和问题,并通过维护紧凑的算术 progression 表示来实现高效求解。
摘要:
埃尔多斯-辛格-齐定理指出,任何2n-1个整数序列中都存在一个长度为n的子序列,其和能被n整除。 Choi, Kang 和 Lim 给出了一种简单的确定性O(n log n)算法来寻找这样的子序列,而 Leung 最近将其改进为O(n log log log n)。我们给出了一种确定性的线性时间算法。核心是一个线性时间算法,用于解决以下素数目标子集和问题:给定p-1个非零残差在Z_p中和一个目标残差,找到具有规定和的子集。我们的算法维护一个紧凑的可达和的算术 progression 表示。当两个 progression 相交时,它们的和中存在一个有界的弗罗贝尼乌斯区间,允许它们合并为一个更长的 progression,有足够的增长来支付更新。当表示要么包含一个完整的 progression 或覆盖所有非零残差时,目标残差可以构造性地恢复。标准的乘法约简然后将素数算法扩展到任意模数。
英文摘要:
The Erdős-Ginzburg-Ziv theorem states that every sequence of 2n - 1 integers contains a subsequence of length n whose sum is divisible by n. Choi, Kang, and Lim gave a simple deterministic O(n log n) algorithm for finding such a subsequence, and Leung recently improved this to O(n log log log n). We give a deterministic linear-time algorithm. The core is a linear-time algorithm for the following prime target subset-sum problem: given p - 1 nonzero residues in Z_p and a target residue, find a subset with the prescribed sum. Our algorithm maintains a compact arithmetic-progression representation of reachable sums. When two progressions intersect, a bounded Frobenius interval in their sum allows them to be merged into one longer progression, with enough growth to pay for the update. When the representation either contains a full progression or covers all nonzero residues, the target residue is recovered constructively. The standard multiplicative reduction then extends the prime algorithm to arbitrary moduli.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。