English

The upper density of an automatic set is rational

Formal Languages and Automata Theory 2021-04-13 v2

Abstract

Given a natural number k2k\ge 2 and a kk-automatic set SS of natural numbers, we show that the lower density and upper density of SS are recursively computable rational numbers and we provide an algorithm for computing these quantities. In addition, we show that for every natural number k2k\ge 2 and every pair of rational numbers (α,β)(\alpha,\beta) with 0<α<β<10<\alpha<\beta<1 or with (α,β){(0,0),(1,1)}(\alpha,\beta)\in \{(0,0),(1,1)\} there is a kk-automatic subset of the natural numbers whose lower density and upper density are α\alpha and β\beta respectively, and we show that these are precisely the values that can occur as the lower and upper densities of an automatic set.

Keywords

Cite

@article{arxiv.2002.07256,
  title  = {The upper density of an automatic set is rational},
  author = {Jason P. Bell},
  journal= {arXiv preprint arXiv:2002.07256},
  year   = {2021}
}

Comments

16 pages. This version corrects the proof of Lemma 3.1 in addition to making other changes

R2 v1 2026-06-23T13:44:38.075Z