Lune

SODA2026Top-tier venue

On the Complexity of the Skolem Problem at Low Orders

Piotr Bacik, Joël Ouaknine, James Worrell

Abstract

The Skolem Problem asks to determine whether a given linear recurrence sequence (LRS) ⟨u n ⟩ ∞ n=0 over the integers has a zero term, that is, whether there exists n such that u n = 0. Decidability of the problem is open in general, with the most notable positive result being a decision procedure for LRS of order at most 4.

In this paper we consider a bounded version of the Skolem Problem, in which the input consists of an LRS ⟨u n ⟩ ∞ n=0 and a bound N ∈ N (with all integers written in binary), and the task is to determine whether there exists n ∈ 0, . . . , N such that u n = 0. We give a randomised algorithm for this problem that, for all d ∈ N, runs in polynomial time on the class of LRS of order at most d. As a corollary we show that the (unrestricted) Skolem Problem for LRS of order at most 4 lies in coRP, improving the best previous upper bound of NP RP .

The running time of our algorithm is exponential in the order of the LRS-a dependence that appears necessary in view of the NP-hardness of the Bounded Skolem Problem. However, even for LRS of a fixed order, the problem involves detecting zeros within an exponentially large range. For this, our algorithm relies on results from p-adic analysis to isolate polynomially many candidate zeros and then test in randomised polynomial time whether each candidate is an actual zero by reduction to arithmetic-circuit identity testing.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On the Subspace Orbit Problem and the Simultaneous Skolem Problem cites Deciding ω-regular properties on linear recurrence sequences
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. On the Subspace Orbit Problem and the Simultaneous Skolem ProblemPiotr Bacik, Anton VaronkaLICS 2026

Builds on2

  1. Deciding ω-regular properties on linear recurrence sequencesShaull Almagor, Toghrul Karimov, Edon Kelmendi, Joël Ouaknine et al.POPL 2021 · 14 citations
  2. Universal equivalence and majority of probabilistic programs over finite fieldsGilles Barthe, Charlie Jacomme, Steve KremerLICS 2020 · 5 citations

Related papers

  1. On the Skolem Problem and the Skolem ConjectureRichard Lipton, Florian Luca, Joris Nieuwveld, Joël Ouaknine et al.LICS 2022 · 6 citations
  2. Universal Skolem SetsFlorian Luca, Joël Ouaknine, James WorrellLICS 2021 · 3 citations
  3. The Skolem Problem in Rings of Positive CharacteristicRuiwen Dong, Doron ShafrirSTOC 2026 · 2 citations
  4. Strong Invariants Are Hard: On the Hardness of Strongest Polynomial Invariants for (Probabilistic) ProgramsJulian Müllner, Marcel Moosbrugger, Laura KovácsPOPL 2024 · 7 citations
  5. Multiple Reachability in Linear Dynamical SystemsToghrul Karimov, Edon Kelmendi, Joël Ouaknine, James WorrellLICS 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines