On the $p$-adic Skolem Problem
Abstract
The Skolem Problem asks to determine whether a given linear recurrence sequence (LRS) has a zero term. Showing decidability of this problem is equivalent to giving an effective proof of the Skolem-Mahler-Lech Theorem, which asserts that a non-degenerate LRS has finitely many zeros. The latter result was proven over 90 years ago via an ineffective method showing that such an LRS has only finitely many -adic zeros. In this paper we consider the problem of determining whether a given LRS has a -adic zero, as well as the corresponding function problem of computing exact representations of all -adic zeros. We present algorithms for both problems and report on their implementation. The output of the algorithms is unconditionally correct, and termination is guaranteed subject to the -adic Schanuel Conjecture (a standard number-theoretic hypothesis concerning the -adic exponential function). While these algorithms do not solve the Skolem Problem, they can be exploited to find natural-number and rational zeros under additional hypotheses. To illustrate this, we apply our results to show decidability of the Simultaneous Skolem Problem (determine whether two coprime linear recurrences have a common natural-number zero), again subject to the -adic Schanuel Conjecture.
Keywords
Cite
@article{arxiv.2504.14413,
title = {On the $p$-adic Skolem Problem},
author = {Piotr Bacik and Joël Ouaknine and David Purser and James Worrell},
journal= {arXiv preprint arXiv:2504.14413},
year = {2026}
}
Comments
**Contains correction to Lemma 10 of the conference proceedings version**. Full version of article published in proceedings of STACS2026. 23 pages