Deterministic low-space Subset Sum

Primarily AI-generated textHuman understanding: no partscs.DS — Data Structures and Algorithms

Contributed by Yilin Liu ↗

Version 1 / Dec 05, 2026 / CC BY 4.0

Abstract

We give a deterministic algorithm for Subset Sum in O∗(2n/2)O^*(2^{n/2}) time and O∗(20.18103n)O^*(2^{0.18103n}) writable bits. A middle-layer cover supplies the partition's support bounds. One ordered join handles paged and residue-filtered streams and returns a witness.

Provenance statement

The author used OpenAI models to develop and review the constructions, draft the manuscript, and implement the finite checks.

References

  1. N. Alon. Splitting necklaces (https://doi.org/10.1016/0001-8708(87)90055-7). Advances in Mathematics 63 (1987), 247--253.DOI
  2. D. Harvey and J. van der Hoeven. https://doi.org/10.4007/annals.2021.193.2.4 Integer multiplication in time O(nlog⁡n)O(n\log n) . Annals of Mathematics 193 (2021), 563--617.DOI
  3. OpenAI. A low-space algorithm for worst-case Subset Sum (https://github.com/openai/math/blob/main/preprints/A-Low-Space-Algorithm-for-Worst-Case-Subset-Sum-September-26-2026/paper.pdf). Preprint, 26 September 2026.link
  4. R. Schroeppel and A. Shamir. https://doi.org/10.1137/0210033 A T=O(2n/2)T=O(2^{n/2}), S=O(2n/4)S=O(2^{n/4}) algorithm for certain NP-complete problems . SIAM Journal on Computing 10 (1981), 456--464.DOI

Version history

  1. v1 · 30 pagesSubmitted by Yilin LiuInitial depositCurrentDec 04, 2026