English

An efficient algorithm to decide periodicity of $b$-recognisable sets using LSDF convention

Formal Languages and Automata Theory 2023-06-22 v6 Logic in Computer Science

Abstract

Let bb be an integer strictly greater than 11. Each set of nonnegative integers is represented in base bb by a language over {0,1,,b1}\{0, 1, \dots, b - 1\}. The set is said to be bb-recognisable if it is represented by a regular language. It is known that ultimately periodic sets are bb-recognisable, for every base bb, and Cobham's theorem implies the converse: no other set is bb-recognisable in every base bb. We consider the following decision problem: let SS be a set of nonnegative integers that is bb-recognisable, given as a finite automaton over {0,1,,b1}\{0,1, \dots, b - 1\}, is SS periodic? Honkala showed in 1986 that this problem is decidable. Later on, Leroux used in 2005 the convention to write number representations with the least significant digit first (LSDF), and designed a quadratic algorithm to solve a more general problem. We use here LSDF convention as well and give a structural description of the minimal automata that accept periodic sets. Then, we show that it can be verified in linear time if a minimal automaton meets this description. In general, this yields a O(blog(n))O(b \log(n)) procedure to decide whether an automaton with nn states accepts an ultimately periodic set of nonnegative integers.

Keywords

Cite

@article{arxiv.1708.06228,
  title  = {An efficient algorithm to decide periodicity of $b$-recognisable sets using LSDF convention},
  author = {Victor Marsault},
  journal= {arXiv preprint arXiv:1708.06228},
  year   = {2023}
}
R2 v1 2026-06-22T21:19:34.445Z