Difference tables that never vanish modulo a prime

We study sequences of integers none of whose iterated differences is divisible by a prime p. Equivalently, these are sequences u over F_p such that no entry of the orbit of u under the linear cellular automaton T = S − I (the difference operator) vanishes; we call them nowhere vanishing. For random words the entries of the difference table modulo any m are uniform and pairwise independent, so zeros are abundant; nevertheless infinite nowhere vanishing sequences exist for every odd p. We give an algebraic criterion for a periodic sequence to be nowhere vanishing, and two explicit families valid for all p. In the first, u_i = a + c r^i. In the second, u satisfies the recurrence c u_{i+j} = u_{i+1} − u_i, so that the k-th difference of u is c^k times u shifted by jk, and u is nowhere vanishing as soon as its terms are nonzero. The case (c, j) = (1, 2) gives, for every prime p ≥ 5, exactly (p−1)(p−2) nowhere vanishing sequences of period 6 of the form a, b, b−a, −a, −b, a−b, … With a computer-assisted argument based on the Fine–Wilf theorem we classify all one-sided nowhere vanishing sequences for p ≤ 7. Every one of them is eventually periodic. For p = 3 there are 2, for p = 5 there are 40 (with periods 2, 4, 6), and for p = 7 there are 59 604, with periods 2, 3, 4, 6, 8, 14, 21, 24, 42, 48 and 114; all period-114 sequences are of the second kind, for instance the 1938 nowhere vanishing solutions of period 114 of u_{i+8} = u_{i+1} − u_i over F_7. For p ≤ 7 the number of nowhere vanishing words of length n is bounded in n. We conjecture that every nowhere vanishing sequence is eventually periodic for every prime p. Code and data: https://github.com/0xeriic/difference-table-mod-p

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-02
DOI
https://doi.org/10.5281/zenodo.24733893
Primary Topic
semigroups and automata theory
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Difference tables that never vanish modulo a prime

Eric Andrei Pupaza Mateica
Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
preprint

Difference tables that never vanish modulo a prime

Eric Andrei Pupaza Mateica
preprint en

Abstract

We study sequences of integers none of whose iterated differences is divisible by a prime p. Equivalently, these are sequences u over F_p such that no entry of the orbit of u under the linear cellular automaton T = S − I (the difference operator) vanishes; we call them nowhere vanishing. For random words the entries of the difference table modulo any m are uniform and pairwise independent, so zeros are abundant; nevertheless infinite nowhere vanishing sequences exist for every odd p. We give an algebraic criterion for a periodic sequence to be nowhere vanishing, and two explicit families valid for all p. In the first, u_i = a + c r^i. In the second, u satisfies the recurrence c u_{i+j} = u_{i+1} − u_i, so that the k-th difference of u is c^k times u shifted by jk, and u is nowhere vanishing as soon as its terms are nonzero. The case (c, j) = (1, 2) gives, for every prime p ≥ 5, exactly (p−1)(p−2) nowhere vanishing sequences of period 6 of the form a, b, b−a, −a, −b, a−b, … With a computer-assisted argument based on the Fine–Wilf theorem we classify all one-sided nowhere vanishing sequences for p ≤ 7. Every one of them is eventually periodic. For p = 3 there are 2, for p = 5 there are 40 (with periods 2, 4, 6), and for p = 7 there are 59 604, with periods 2, 3, 4, 6, 8, 14, 21, 24, 42, 48 and 114; all period-114 sequences are of the second kind, for instance the 1938 nowhere vanishing solutions of period 114 of u_{i+8} = u_{i+1} − u_i over F_7. For p ≤ 7 the number of nowhere vanishing words of length n is bounded in n. We conjecture that every nowhere vanishing sequence is eventually periodic for every prime p. Code and data: https://github.com/0xeriic/difference-table-mod-p

Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon