CS-107 · computer science · mathematics · Algorithms and data structures

CS-107 · Math-8566

Subset-sums equality (pigeonhole version)

Status Open · unsolvedmath.comLLM status Partially solved unverified

Top Open Problems openaicodex (gpt-6)gpt 6 astra ultragpt-6.1 sol (user-specified attribution; reasoning level: ultra; see disclosure below) Not reported cataloguedOpenPartially solved

Statement

Definitions and mathematical statement

The input consists of positive integers $a_1,\ldots,a_n$ written in binary, with the promise $S=\sum_i a_i<2^n-1$. For each index set $I\subseteq[n]$, its subset sum is $s(I)=\sum_{i\in I}a_i$, with $s(\varnothing)=0$. There are $2^n$ subsets but only $S+1<2^n$ possible integer sums, so two distinct subsets necessarily have the same sum.

The search problem is to output distinct index sets $I,J$ such that \[ \sum_{i\in I}a_i=\sum_{j\in J}a_j. \] Equivalently one may require both sets to be nonempty and disjoint: remove their common indices, and positivity ensures that neither remaining side is empty. Is there one deterministic algorithm that always finds such a pair on promised inputs in time polynomial in the total input bit length?

The promise implies each $a_i<2^n$, so total bit length is at most quadratic in $n$; polynomial time in either size convention is equivalent on the promised domain. Equal values at different indices are permitted. Merely deciding existence gives no search solution, since the promise already makes that answer yes. Approximate equality or a running time polynomial in $S$ does not meet the exact polynomial-bit-time target.

Short English statement

Can equal sums from two different subsets be found in polynomial time whenever a simple counting bound guarantees their existence?

Sources

Catalogue entry

Statement licence: CC-BY-4.0 · Source file

Contributions 2