Table of Contents
Fetching ...

Long Arithmetic Progressions in Sumsets and Subset Sums: Constructive Proofs and Efficient Witnesses

Lin Chen, Yuchen Mao, Guochuan Zhang

Abstract

Existence of long arithmetic progression in sumsets and subset sums has been studied extensively in the field of additive combinatorics. These additive combinatorics results play a central role in the recent progress of fundamental problems in theoretical computer science including Knapsack and Subset Sum. The non-constructiveness of relevant additive combinatorics results affects their application in algorithms. In particular, several additive combinatorics-based algorithms for Subset Sum work only for the decision version of the problem, but not for the search version. We provide constructive proofs for finite addition theorems [Sárkőzy'89 '94], which are fundamental results in additive combinatorics concerning the existence of long arithmetic progression in sumsets and subset sums. Our constructive proofs yield a near-linear time algorithm that returns an arithmetic progression explicitly, and moreover, for each term in the arithmetic progression, it also returns its representation as the sum of elements in the base set. As an application, we obtain an $\tilde{O}(n)$-time algorithm for the search version of dense subset sum now. Another application of our result is Unbounded Subset Sum, where each input integer can be used an infinite number of times. A classic result on the Frobenius problem [Erdős and Graham '72] implies that for all $t \geq 2a^2_{\max}/n$, the decision version can be solved trivially in linear time. It remains unknown whether the search version can be solved in the same time. Our result implies that for all $t \geq ca^2_{\max}/n$ for some constant $c$, a solution for Unbounded Subset Sum can be obtained in $O(n \log a_{\max})$ time.

Long Arithmetic Progressions in Sumsets and Subset Sums: Constructive Proofs and Efficient Witnesses

Abstract

Existence of long arithmetic progression in sumsets and subset sums has been studied extensively in the field of additive combinatorics. These additive combinatorics results play a central role in the recent progress of fundamental problems in theoretical computer science including Knapsack and Subset Sum. The non-constructiveness of relevant additive combinatorics results affects their application in algorithms. In particular, several additive combinatorics-based algorithms for Subset Sum work only for the decision version of the problem, but not for the search version. We provide constructive proofs for finite addition theorems [Sárkőzy'89 '94], which are fundamental results in additive combinatorics concerning the existence of long arithmetic progression in sumsets and subset sums. Our constructive proofs yield a near-linear time algorithm that returns an arithmetic progression explicitly, and moreover, for each term in the arithmetic progression, it also returns its representation as the sum of elements in the base set. As an application, we obtain an -time algorithm for the search version of dense subset sum now. Another application of our result is Unbounded Subset Sum, where each input integer can be used an infinite number of times. A classic result on the Frobenius problem [Erdős and Graham '72] implies that for all , the decision version can be solved trivially in linear time. It remains unknown whether the search version can be solved in the same time. Our result implies that for all for some constant , a solution for Unbounded Subset Sum can be obtained in time.

Paper Structure

This paper contains 57 sections, 61 theorems, 235 equations, 1 algorithm.

Key Result

Theorem 1.1

Let $A \subseteq \mathbb{Z}[0, m]$ be a set of $n$ integers. Assume that $0 \in A$ and $\mathrm{gcd}(A) = 1$. Let $r$ be a positive integer. If then there exists an arithmetic progression

Theorems & Definitions (99)

  • Theorem 1.1: Finite Addition Theorem I, Lev97
  • Theorem 1.2
  • Theorem 1.3: Finite Addition Theorem II, Lev03
  • Theorem 1.4
  • Theorem 1.5
  • Theorem 1.6
  • Theorem 1.7: Kneser's theorem
  • Lemma 1.8: Kneser's theorem in the dense case
  • Lemma 3.1: man42Dys45
  • Lemma 3.1
  • ...and 89 more