The state complexity of mX+r for digit-counting sets: a conjecture of Charlier, Cisternino and Massuir

For an integer base $b\ge2$, a digit $c$, an integer $M\ge2$ and a remainder $R\in\{0,\dots,M-1\}$, let $X_{b,c,M,R}$ be the set of natural numbers whose base-$b$ expansion contains the digit $c$ a number of times congruent to $R$ modulo $M$. Charlier, Cisternino and Massuir determined the state complexity of $m\mathcal T+r$ ($0\le r<m$) for the Thue–Morse set $\mathcal T$ in bases $2^p$, and conjectured that for a prime-power base $b=q^p$ the state complexity of $mX_{b,c,M,R}+r$ equals $Mk+\lceil z/p\rceil$, where $m=kq^z$ and $\gcd(k,q)=1$. We prove that for every base $b\ge2$, every nonzero digit $c$ and every $m=kb^z$ with $\gcd(k,b)=1$, the state complexity of $mX_{b,c,M,R}+r$ is $Mk+z$ for all $0\le r<m$. This settles the conjecture for prime bases and for prime-power bases $q^p$ with $p\mid z$, in both cases for nonzero digits. We also give explicit counterexamples to the conjectured formula: one with $c=0$, $b=2$, $M=2$, $R=0$, $m=1$, $r=0$, and one with $b=4$, $c=1$, $M=2$, $R=0$, $m=2$, $r=0$. All theorems stated below are formalized in Lean 4 and checked by the Lean kernel. Lean 4 formalization: https://github.com/wray-lee/oeis-conjectures-lean (Proofs/EJC_28_3_P12.lean, Proofs/EJC_28_3_P12_Main.lean, Proofs/EJC_28_3_P12_General.lean).

Authors

Publication Details

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

The state complexity of mX+r for digit-counting sets: a conjecture of Charlier, Cisternino and Massuir

Yufeng Liu
Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
preprint

The state complexity of mX+r for digit-counting sets: a conjecture of Charlier, Cisternino and Massuir

Yufeng Liu
preprint en

Abstract

For an integer base $b\ge2$, a digit $c$, an integer $M\ge2$ and a remainder $R\in\{0,\dots,M-1\}$, let $X_{b,c,M,R}$ be the set of natural numbers whose base-$b$ expansion contains the digit $c$ a number of times congruent to $R$ modulo $M$. Charlier, Cisternino and Massuir determined the state complexity of $m\mathcal T+r$ ($0\le r<m$) for the Thue–Morse set $\mathcal T$ in bases $2^p$, and conjectured that for a prime-power base $b=q^p$ the state complexity of $mX_{b,c,M,R}+r$ equals $Mk+\lceil z/p\rceil$, where $m=kq^z$ and $\gcd(k,q)=1$. We prove that for every base $b\ge2$, every nonzero digit $c$ and every $m=kb^z$ with $\gcd(k,b)=1$, the state complexity of $mX_{b,c,M,R}+r$ is $Mk+z$ for all $0\le r<m$. This settles the conjecture for prime bases and for prime-power bases $q^p$ with $p\mid z$, in both cases for nonzero digits. We also give explicit counterexamples to the conjectured formula: one with $c=0$, $b=2$, $M=2$, $R=0$, $m=1$, $r=0$, and one with $b=4$, $c=1$, $M=2$, $R=0$, $m=2$, $r=0$. All theorems stated below are formalized in Lean 4 and checked by the Lean kernel. Lean 4 formalization: https://github.com/wray-lee/oeis-conjectures-lean (Proofs/EJC_28_3_P12.lean, Proofs/EJC_28_3_P12_Main.lean, Proofs/EJC_28_3_P12_General.lean).

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