Work

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

Year: 2026
Type: preprint
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).
Author: Liu, Yufeng
Language: English
Open Access status: green
OpenAlex ID: W7242010758
Cites: 1
Cited by:
Related to: