Distributions of full and non-full words in beta-expansions
Yao-Qiang Li
Department of Mathematics
South China University of Technology
Guangzhou, 510641
P.R. China
[email protected]
and
Bing Li∗
Department of Mathematics
South China University of Technology
Guangzhou, 510641
P.R. China
[email protected]
Abstract.
The structures of full words and non-full for β-expansions are completely characterized in this paper. We obtain the precise lengths of all the maximal runs of full and non-full words among admissible words with same order.
Key words and phrases:
β-expansions, full word, full cylinder, non-full word, distribution
2000 Mathematics Subject Classification:
Primary 11K99; Secondary 37B10.
*Corresponding author.
1. Introduction
Let β>1 be a real number. The β-expansion was introduced by Rényi [Ren57] in 1957, which generalized the usual decimal expansions (generally N-adic expansion with integers N>1) to that with any real base β. There are some different behaviors for the representations of real numbers and corresponding dynamics for the integer and noninteger cases. For example, when β∈N, every element in {0,1,⋯,β−1}N (except countablely many ones) is the β-expansion of some x∈[0,1) (called admissible sequence). However, if β∈/N, not any sequence in {0,1,⋯,⌊β⌋}N is the β-expansion of some x∈[0,1) where ⌊β⌋ denotes the integer part of β. Parry [Pa60] managed to provide a criterion for admissability of sequences (see Lemma 2.3 below). Any finite truncation of an admissible sequence is called an admissible word. Denoted by Σβn the set of all admissible words with length n∈N. By estimating the cardinality of Σβn in [Ren57], it is known that the topological entropy of β-transformation Tβ is logβ. The projection of any word in Σβn is a cylinder of order n (also say a fundamental interval), which is a left-closed and right-open interval in [0,1). The lengths of cylinders are irregular for β∈/N, meanwhile, they are all regular for β∈N, namely, the length of any cylinder of order n equals β−n. Li and Wu [LiWu08] introduced a classification of β>1 for characterising the regularity of the lengths of cylinders and then the sizes of all corresponding classes were given by Li, Persson, Wang and Wu [LPWW14] in the sense of measure and dimension. Another different classification of β>1 was provided by Blanchard [Bla89] from the viewpoint of dynamical system, and then the sizes of all corresponding classes were given by Schmeling [Schme97] in the sense of topology, measure and dimension.
A cylinder with order n is said to be full if it is mapped by the n-th iteration of β-transformation Tβn onto [0,1) (see Definition 2.6 below, [Wal78] or [DK02]) or equivalently its length is maximal, that is, equal to β−n (see Proposition 3.1 below, [FW12] or [BuWa14]). An admissible word is said to be full if the corresponding cylinder is full. Full words and cylinders have very good properties. For example, Walters [Wal78] proved that for any given N>0, [0,1) is covered by the full cylinders of order at least N. Fan and Wang [FW12] obtained some good properties of full cylinders (see Proposition 3.1 and Proposition 3.2 below). Bugeaud and Wang [BuWa14] studied the distribution of full cylinders, showed that for n≥1, among every (n+1) consecutive cylinders of order n, there exists at least one full cylinder, and used it to prove a modified mass distribution principle to estimate the Hausdorff dimension of sets defined in terms of β-expansions. Zheng, Wu and Li proved that the extremely irregular set is residual with the help of the full cylinders (for details see [ZWL17]).
In this paper, we are interested in the distributions of full and non-full words in Σβn, i.e., the distributions of full and non-full cylinders in [0,1). More precisely, we consider the lexicographically ordered sequence of all order n admissible words, and count the numbers of successive full words and successive non-full words. Or, in what amounts to the same thing, we look at all the fundamental intervals of order n, arranged in increasing order along the unit interval, and ask about numbers of successive intervals where Tβn is onto (and numbers of intervals where it is not onto). Our main results concern the maximal number of successive full words, and the maximal number of successive non-full words as a function of n and β. In particular, the dependence on β is expressed in terms of the expansion of 1 with base β.
The main objective of this paper is to describe the structure of admissible words and the precise lengths of the maximal runs of full words and non-full words (see Definition 4.3). The concept of maximal runs is a new way to study the distribution of full words and cylinders.
Firstly Theorem 3.7 gives a unique and clear form of any admissible word, and Theorem 3.8 and Corollary 3.9 provide some convenient ways to check whether an admissible word is full or not.
Secondly Theorem 4.6 describes all the precise lengths of the maximal runs of full words, which indicates that such lengths rely on the nonzero terms in the β-expansion of 1. Consequently, the maximal and minimal lengths of the maximal runs of full words are given in Corollary 4.11 and Corollary 4.12 respectively. Finally by introducing a function τβ in Definition 5.1, a similar concept of numeration system and greedy algorithm, we obtain a convenient way to count the consecutive non-full words in Lemma 5.5, which can easily give the maximal length of the runs of non-full words in Corollary 5.7 and generalize the result of Bugeaud and Wang mentioned above (see Remark 5.10).
Furthermore, all the precise lengths of the maximal runs of non-full words are stated in Theorem 5.11, which depends on the positions of nonzero terms in the β-expansion of 1. Moreover, the minimal lengths of the maximal runs of non-full words are obtained in Corollary 5.12.
This paper is organized as follows. In Section 2, we introduce some basic notation and preliminary work needed. In Section 3, we study the structures of admissible words, full words and non-full words as basic results of this paper. In Section 4 and Section 5, we obtain all the precise lengths of the maximal runs of full words and non-full words respectively as the main results.
2. Notation and preliminaries
Let us introduce some basic notation and preliminary work needed. Let β>1.
∙ Let Tβ:[0,1)→[0,1) be the map:
[TABLE]
Let Aβ={0,1,⋯,β−1} when β∈N, Aβ={0,1,⋯,⌊β⌋} when β∈/N and
[TABLE]
Then ϵn(x,β)∈Aβ and
[TABLE]
The sequence ϵ(x,β):=ϵ1(x,β)ϵ2(x,β)⋯ϵn(x,β)⋯
is also called the β-expansion of x. The system ([0,1),Tβ) is called a β-dynamical system.
∙ Define
[TABLE]
Then the number 1 can also be expanded into a series, denoted by
[TABLE]
The sequence ϵ(1,β):=ϵ1(1,β)ϵ2(1,β)⋯ϵn(1,β)⋯ is also called the β-expansion of 1.
For simplicity, we write ϵ(1,β)=ϵ1ϵ2⋯ϵn⋯.
∙
If there are infinitely many n with ϵn=0, we say that ϵ(1,β) is infinite. Otherwise, there exists M∈N such that ϵM=0 with ϵj=0 for all j>M, ϵ(1,β) is said to be finite, sometimes say that ϵ(1,β) is finite with length M.
The modified β-expansion of 1 is defined as
[TABLE]
if ϵ(1,β) is infinite, and
[TABLE]
if ϵ(1,β) is finite with length M. Here for a finite word w∈Aβn, the periodic sequence w∞∈AβN means that
[TABLE]
In this paper, we always denote
[TABLE]
no matter whether ϵ(1,β) is finite or not.
∙ Let ≺ and ⪯ be the lexicographic order in AβN. More precisely, w≺w′ means that there exists k∈N such that wi=wi′ for all 1≤i<k and wk<wk′. Besides, w⪯w′ means that w≺w′ or w=w′. Similarly, the definitions of ≺ and ⪯ are extended to the sequences by identifying a finite word w with the sequence w0∞.
∙ For any w∈AβN, we use w∣k to denote the prefix of w with length k, i.e., w1w2⋯wk where k∈N. For any w∈Aβn, we use ∣w∣:=n to denote the length of w and w∣k to denote the prefix of w with length k where 1≤k≤∣w∣.
∙ Let σ:AβN→AβN be the shift
[TABLE]
and πβ:AβN→R be the projection map
[TABLE]
Definition 2.1** (Admissability).**
A word w∈Aβn is called admissible, if there exists x∈[0,1) such that ϵi(x,β)=wi for i=1,⋯,n. Denote
[TABLE]
A sequence w∈AβN is called admissible, if there exists x∈[0,1) such that ϵi(x,β)=wi for all i∈N. Denote
[TABLE]
Obviously, if w∈Σβ, then w∣n∈Σβn and wn+1wn+2⋯∈Σβ for any n∈N. By the algorithm of Tβ, it is easy to get the following lemma.
Lemma 2.2**.**
For any n∈N, ϵ∗(1,β)∣n∈Σβn and is maximal in Σβn with lexicographic order .
The following criterion for admissible sequence is due to Parry.
Lemma 2.3** ([Pa60]).**
Let w∈AβN.
Then w is admissible (that is, w∈Σβ) if and only if
[TABLE]
As a corollary of Parry’s criterion, the following lemma can be found in [Pa60].
Lemma 2.4**.**
Let w be a sequence of non-negative integers. Then w is the β-expansion of 1 for some β>1 if and only if σkw≺w for all k≥1. Moreover, such β satisfies w1≤β<w1+1.
Definition 2.5** (cylinder).**
Let w∈Σβ∗. We call
[TABLE]
the cylinder generated by w and
[TABLE]
the cylinder in [0,1) generated by w.
Definition 2.6** (full words and cylinders).**
Let w∈Σβn. If TβnI(w)=[0,1), we call the word w and the cylinders [w],I(w) full. Otherwise, we call them non-full.
Suppose the word w1⋯wn is admissible and wn=0. Then w1⋯wn−1wn′ is full for any wn′<wn.
3. The structures of admissible words, full words and non-full words
The following proposition is a criterion of full words. The equivalence of (1), (2) and (4) can be found in [FW12]. We give some proofs for self-contained and more characterizations (3), (5), (6) are given here.
Proposition 3.1**.**
Let w∈Σβn. Then the following are equivalent.
w* is full, i.e., TβnI(w)=[0,1);*
∣I(w)∣=β−n;
The sequence ww′ is admissible for any w′∈Σβ;
The word ww′ is admissible for any w′∈Σβ∗;
The word wϵ1∗⋯ϵk∗ is admissible for any k≥1;
σn[w]=Σβ.
Proof.
(1)⇒(2) Since w is full, TβnI(w)=[0,1). Noting that
[TABLE]
we can get
[TABLE]
Therefore ∣I(w)∣=β−n.
(2)⇒(3) Let x,x′∈[0,1) such that ϵ(x,β)=w0∞ and ϵ(x′,β)=w′. Then
[TABLE]
Let
[TABLE]
We need to prove ww′∈Σβ. It suffices to prove y∈[0,1) and ϵ(y,β)=ww′. In fact, since I(w) is a left-closed and
right-open interval with βw1+⋯+βnwn as its left endpoint and ∣I(w)∣=β−n, we get
[TABLE]
So y∈I(w)⊂[0,1) and ϵ1(y,β)=w1,⋯,ϵn(y,β)=wn. That is
[TABLE]
which implies Tβny=x′. Then for any k≥1,
[TABLE]
Thus ϵ(y,β)=ww′. Therefore ww′∈Σβ.
(3)⇒(4) is obvious.
(4)⇒(5) follows from ϵ1∗⋯ϵk∗∈Σβ∗ for any k≥1.
(5)⇒(1) We need to prove TβnI(w)=[0,1). It suffices to show TβnI(w)⊃[0,1) since the reverse inclusion is obvious. Indeed, let x∈[0,1) and u=w1⋯wnϵ1(x,β)ϵ2(x,β)⋯.
At first, we prove u∈Σβ. By Lemma 2.3, it suffices to prove σk(u)≺ϵ∗(1,β) for any k≥0 below.
\small{1}⃝ If k≥n, we have
[TABLE]
\small{2}⃝ If 0≤k≤n−1, we have
[TABLE]
Since ϵ(x,β)≺ϵ∗(1,β), there exists m∈N such that ϵ1(x,β)=ϵ1∗,⋯,ϵm−1(x,β)=ϵm−1∗ and ϵm(x,β)<ϵm∗. Combining wϵ1∗⋯ϵm∗∈Σβ∗ and Lemma 2.3, we get
[TABLE]
Therefore u∈Σβ.
Let y∈[0,1) such that ϵ(y,β)=u. Then y∈I(w). Since
[TABLE]
we get x=Tβny∈TβnI(w).
(1)⇔(6) follows from the facts that the function ϵ(⋅,β):[0,1)→Σβ is bijective and the commutativity ϵ(Tβx,β)=σ(ϵ(x,β)).
∎
Proposition 3.2**.**
Let w,w′∈Σβ∗ be full and ∣w∣=n∈N. Then
the word ww′ is full;
the word σk(w):=wk+1⋯wn is full for any 1≤k<n ;
the digit wn<⌊β⌋ if β∈/N. In particular, wn=0 if 1<β<2.
Proof.
A proof has been given in [BuWa14]. We give another proof here to be self-contained. Since w′ is full, by Proposition 3.1 (5) we get w′ϵ1∗⋯ϵm∗∈Σβ∗ for any m≥1. Then ww′ϵ1∗⋯ϵm∗∈Σβ∗ by the fullness of w and Proposition 3.1 (4), which implies that ww′ is full by Proposition 3.1 (5).
Since w is full , by Proposition 3.1 (5) we get w1⋯wnϵ1∗⋯ϵm∗∈Σβ∗, also wk+1⋯wnϵ1∗⋯ϵm∗ ∈Σβ∗ for any m≥1. Therefore wk+1⋯wn is full by Proposition 3.1 (5).
Since w is full, by (2) we know that σn−1w=wn is full. Then ∣I(wn)∣=1/β by Proposition 3.1 (2). Suppose wn=⌊β⌋, then I(wn)=I(⌊β⌋)=[⌊β⌋/β,1) and ∣I(wn)∣=1−⌊β⌋/β<1/β which is a contradiction. Therefore wn=⌊β⌋. So wn<⌊β⌋ noting that wn≤⌊β⌋.
∎
Proposition 3.3**.**
(1) Any truncation of ϵ(1,β) is not full (if it is admissible). That is, ϵ(1,β)∣k is not full for any k∈N (if it is admissible).
(2) Let k∈N. Then ϵ∗(1,β)∣k is full if and only if ϵ(1,β) is finite with length M which exactly divides k, i.e., M∣k.
Proof.
(1) We show the conclusion by the cases that ϵ(1,β) is finite or infinite.
Cases 1. ϵ(1,β) is finite with length M.
\small{1}⃝ If k≥M, then ϵ(1,β)∣k=ϵ1⋯ϵM0k−M is not admissible.
\small{2}⃝ If 1≤k≤M−1, combining ϵk+1⋯ϵM0∞=ϵ(Tβk1,β)∈Σβ, ϵ1⋯ϵkϵk+1⋯ϵM0∞=ϵ(1,β)∈/Σβ and Proposition 3.1 (1) (3), we know that ϵ(1,β)∣k=ϵ1⋯ϵk is not full.
Cases 2. ϵ(1,β) is infinite. It follows from the similar proof with Case 1 \small{2}⃝.
(2) ⇐ Let p∈N with k=pM. For any n≥1, we know that ϵ1∗⋯ϵpM∗ϵ1∗⋯ϵn∗=ϵ∗(1,β)∣k+n is admissible by Lemma 2.2. Therefore ϵ∗(1,β)∣k=ϵ1∗⋯ϵpM∗ is full by Proposition 3.1 (1) (5).
⇒ (By contradiction) Suppose that the conclusion is not true, that is, either ϵ(1,β) is infinite or finite with length M, but M does not divide k exactly.
\small{1}⃝ If ϵ(1,β) is infinite, then ϵ∗(1,β)∣k=ϵ(1,β)∣k is not full by (1), which contradicts our condition.
\small{2}⃝ If ϵ(1,β) is finite with length M, but M∤k, then there exists p≥0 such that pM<k<pM+M. Since ϵ∗(1,β)∣k is full, combining
[TABLE]
and Proposition 3.1 (1) (3), we get ϵ1∗⋯ϵk∗ϵk−pM+1⋯ϵM−1ϵM0∞∈Σβ,
i.e., ϵ1∗⋯ϵpM∗ϵ1⋯ϵM−1ϵM0∞ ∈Σβ which is false since πβ(ϵ1∗⋯ϵpM∗ϵ1⋯ϵM−1ϵM0∞)=1.
∎
The following lemma is a convenient way to show that an admissible word is not full.
Lemma 3.4**.**
Any admissible word ends with a prefix of ϵ(1,β) is not full. That is, if there exists 1≤s≤n such that w=w1⋯wn−sϵ1⋯ϵs∈Σβn, then w is not full.
Proof.
It follows from Proposition 3.2 (2) and Proposition 3.3 (1).
∎
Notation 3.5**.**
Denote the first position where w and ϵ(1,β) are different by
[TABLE]
and
[TABLE]
Remark 3.6*.*
(1) Let ϵ(1,β) be finite with the length M. Then m(w)≤M for any w in Σβ or Σβ∗.
(2) Let w∈Σβn and m(w)≥n. Then w=ϵ1⋯ϵn−1wn with wn≤ϵn.
Proof.
(1) follows from w≺ϵ(1,β).
(2) follows from w1=ϵ1,⋯,wn−1=ϵn−1 and w∈Σβn.
∎
We give the complete characterizations of the structures of admissible words, full words and non-full words by the following two theorems and a corollary as basic results of this paper.
Theorem 3.7** (The structure of admissible words).**
Let w∈Σβn. Then w=w1w2⋯wn can be uniquely decomposed to the form
[TABLE]
*where p≥0, k1,⋯,kp,l∈N, n=k1+...+kp+l, nj=k1+⋯+kj, wnj<ϵkj for all 1≤j≤p, wn≤ϵl and the words ϵ1⋯ϵk1−1wn1,⋯,ϵ1⋯ϵkp−1wnp are all full.
Moreover, if ϵ(1,β) is finite with length M, then k1,⋯,kp,l≤M. For the case l=M, we must have wn<ϵM.*
Theorem 3.8** (The structural criterion of full words).**
Let w∈Σβn and w∗:=ϵ1⋯ϵl−1wn be the suffix of w as in Theorem 3.7. Then
[TABLE]
Corollary 3.9**.**
Let w∈Σβn. Then w is not full if and only if it ends with a prefix of ϵ(1,β). That is, when ϵ(1,β) is infinite (finite with length M), there exists 1≤s≤n ( 1≤s≤min{M−1,n} respectively) such that w=w1⋯wn−sϵ1⋯ϵs.
Proof.
⇒ follows from Theorem 3.7 and Theorem 3.8.
⇐ follows from Lemma 3.4.
∎
Proof of Theorem 3.7.
Firstly, we show the decomposition by the cases that ϵ(1,β) is infinite or finite.
Case 1. ϵ(1,β) is infinite.
Compare w and ϵ(1,β). If m(w)≥n, then w has the form (3.1) with w=ϵ1⋯ϵn−1wn by Remark 3.6 (2). If m(w)<n, let n1=k1=m(w)≥1. Then w∣n1=ϵ1⋯ϵk1−1wn1 with wn1<ϵk1.
Continue to compare the tail of w and ϵ(1,β). If m(wn1+1⋯wn)≥n−n1, then wn1+1⋯wn=ϵ1⋯ϵn−n1−1wn with wn≤ϵn−n1 by Remark 3.6 (2) and w has the form (3.1) with w=ϵ1⋯ϵk1−1wn1ϵ1⋯ϵn−n1−1wn. If m(wn1+1⋯wn)<n−n1, let k2=m(wn1+1⋯wn)≥1 and n2=n1+k2. Then w∣n2=ϵ1⋯ϵk1−1wn1ϵ1⋯ϵk2−1wn2 with wn2<ϵk2.
Continue to compare the tail of w and ϵ(1,β) for finite times. Then we can get that w must have the form (3.1).
Case 2. ϵ(1,β) is finite with length M.
By Remark 3.6(1), we get m(w),m(wn1+1⋯wn), ⋯, m(wnj+1⋯wn), ⋯, m(wnp+1⋯wn)≤M in Case 1. That is, k1,k2,⋯,kp,l≤M in (3.1). For the case l=M, combining wnp+1=ϵ1,⋯,wn−1=ϵM−1 and wnp+1⋯wn≺ϵ1⋯ϵM, we get wn<ϵM.
Secondly, ϵ1⋯ϵk1−1wn1,⋯,ϵ1⋯ϵkp−1wnp are obviously full by Lemma 2.7.
∎
Proof of Theorem 3.8.
By Proposition 3.2 (1) (2), we know that w is full ⟺w∗ is full. So it suffices to prove that w∗ is full ⟺wn<ϵ∣w∗∣.
⇒ By w∗∈Σβ∗, we get wn≤ϵl. Suppose wn=ϵl, then w∗=ϵ1⋯ϵl is not full by Proposition 3.3 (1), which contradicts our condition. Therefore wn<ϵl.
⇐ Let wn<ϵl. We show that w∗ is full by the cases that ϵ(1,β) is infinite or finite.
Case 1. When ϵ(1,β) is infinite. we know that w∗ is full by ϵ1⋯ϵl−1ϵl∈Σβ∗,wn<ϵl and Lemma 2.7.
Case 2. When ϵ(1,β) is finite with length M, we know l≤M by Theorem 3.7.
If l<M, we get ϵ1⋯ϵl−1ϵl∈Σβ∗. Then w∗ is full by wn<ϵl and Lemma 2.7.
If l=M, we know that ϵ1⋯ϵl−1(ϵl−1)=ϵ1⋯ϵM−1(ϵM−1)=ϵ1∗⋯ϵM∗ is full by Proposition 3.3 (2). Then w∗ is full by wn≤ϵl−1 and Lemma 2.7.
∎
From Theorem 3.7, Theorem 3.8 and Corollary 3.9 above, we can understand the structures of admissible words, full words and non-full words clearly, and judge whether an admissible word is full or not conveniently. They will be used for many times in the following sections.
4. The lengths of the runs of full words
Definition 4.1**.**
Let β>1. Define {ni(β)} to be those positions of ϵ(1,β) that are nonzero. That is,
[TABLE]
if there exists k>ni such that ϵk=0 for i≥1. We call {ni(β)} the nonzero sequence of β, also denote it by {ni} if there is no confusion.
Remark 4.2*.*
Let β>1, {ni} be the nonzero sequence of β. Then the followings are obviously true.
n1=1;
ϵ(1,β) is finite if and only if {ni} is finite;
ϵ(1,β)=ϵn10⋯0ϵn20⋯0ϵn30⋯.
Definition 4.3**.**
(1) Denote by [w(1),⋯,w(l)] the l consecutive words from small to large in Σβn with lexicographic order, which is called a run of words and l is the length of the run of words. If w(1),⋯,w(l) are all full, we call [w(1),⋯,w(l)] a run of full words.
(2) A run of full words [w(1),⋯,w(l)] is said to be maximal, if it can not be elongated, i.e., “ the previous word of w(1) in Σβn is not full or w(1)=0n ” and “ the next word of w(l) is not full or w(l)=ϵ∗(1,β)∣n ”.
In a similar way, we can define a run of non-full words and a maximal run of non-full words.
Definition 4.4**.**
We use Fβn to denote the set of all the maximal runs of full words in Σβn and Fβn to denote the length set of Fβn, i.e.,
[TABLE]
Similarly, we use Nβn to denote the set of all the maximal runs of non-full words and Nβn to denote the length set of Nβn.
In Fβn∪Nβn, we use Smaxn to denote the maximal run with ϵ∗(1,β)∣n as its last element.
Remark 4.5*.*
For any w∈Σβn with w=0n and wn=0, the previous word of w in the lexicographic order in Σβn is w1⋯wk−1(wk−1)ϵ1∗⋯ϵn−k∗ where k=max{1≤i≤n−1:wi=0}.
Notice that we will use the basic fact above for many times in the proofs of the following results in this paper.
Theorem 4.6** (The lengths of the maximal runs of full words).**
Let β>1 with β∈/N, {ni} be the nonzero sequence of β. Then
[TABLE]
Proof.
It follows from Definition 4.3, Lemma 4.8, Lemma 4.9 and the fact that ni≤M for any i when ϵ(1,β) is finite with length M.
∎
Remark 4.7*.*
By Theorem 4.6, when 1<β<2, we have
[TABLE]
Lemma 4.8**.**
Let β>1 with β∈/N, {ni} be the nonzero sequence of β. Then the length set of Fβn\{Smaxn}, i.e., {l∈N: there exists [w(1),⋯,w(l)]∈Fβn\{Smaxn}} is
[TABLE]
Proof.
Let [w(l),w(l−1),⋯,w(2),w(1)]∈Fβn\{Smaxn} and w which is not full be the next word of w(1). By Corollary 3.9, there exist 1≤s≤n, 0≤a≤n−1 with a+s=n (s≤M−1, when ϵ(1,β) is finite with length M), such that w=w1⋯waϵ1⋯ϵs.
(1) If s=1, that is, w=w1⋯wn−1ϵ1, then
w(1)=w1⋯wn−1(ϵ1−1),
w(2)=w1⋯wn−1(ϵ1−2),
⋯,
w(ϵ1)=w1⋯wn−10 are full by Lemma 2.7.
\small{1}⃝ If n=1 or w1⋯wn−1=0n−1, it is obvious that l=ϵ1.
\small{2}⃝ If n≥2 and w1⋯wn−1=0n−1, there exists 1≤k≤n−1 such that wk=0 and wk+1=⋯=wn−1=0. Then the previous word of w(ϵ1) is
[TABLE]
If ϵ(1,β) is infinite or finite with length M≥n, then w(ϵ1+1)=w1⋯wk−1(wk−1)ϵ1⋯ϵn−k is not full by Lemma 3.4. Therefore l=ϵ1.
If ϵ(1,β) is finite with length M<n, we divide this case into two parts according to M∤n−k or M∣n−k.
\small{a}⃝ If M∤n−k, then ϵ1∗⋯ϵn−k∗ is not full by Proposition 3.3 (2) and w(ϵ1+1) is also not full by Proposition 3.2 (2). Therefore l=ϵ1.
\small{b}⃝ If M∣n−k, then ϵ1∗⋯ϵn−k∗ is full by Proposition 3.3 (2) and w(ϵ1+1) is also full by Lemma 2.7 and Proposition 3.2 (1). Let w1′⋯wn−M′:=w1⋯wk−1(wk−1)ϵ1∗⋯ϵn−k−M∗. Then
[TABLE]
The consecutive previous words
[TABLE]
are all full by Lemma 2.7. Since ϵ1=0 and M>1, there exists 1≤t≤M−1 such that ϵt=0 and ϵt+1=⋯=ϵM−1=0. Then, as the previous word of w(ϵ1+ϵM),
[TABLE]
is not full by Lemma 3.4. Therefore l=ϵ1+ϵM.
(2) If 2≤s≤n, we divide this case into two parts according to ϵs=0 or not.
\small{1}⃝ If ϵs=0, there exists 1≤t≤s−1 such that ϵt=0 and ϵt+1=⋯=ϵs=0 by ϵ1=0. Then w=w1⋯waϵ1⋯ϵt0s−t, and w(1)=w1⋯waϵ1⋯ϵt−1(ϵt−1)ϵ1⋯ϵs−t is not full by Lemma 3.4, which contradicts our assumption.
\small{2}⃝ If ϵs=0, then
[TABLE]
are full by Lemma 2.7.
By nearly the same way of \small{1}⃝, we can prove that the previous word of w(ϵs) is not full. Therefore l=ϵs.
If ϵ(1,β) is infinite or finite with length M>n, combining 2≤s≤n and ϵs=0, we know that the set of all values of l=ϵs is {ϵni:2≤ni≤n}.
If ϵ(1,β) finite with length M≤n, combining 2≤s≤M−1 and ϵs=0, we know that the set of all values of l=ϵs is {ϵni:2≤ni<M}.
By the discussion above, we can see that in every case, every value of l can be achieved. Combining ni≤M for any i when ϵ(1,β) is finite with length M, ϵn1=ϵ1 and all the cases discussed above, we get the conclusion of this lemma.
∎
Lemma 4.9**.**
Let β>1 with β∈/N. If ϵ(1,β) is finite with length M and M∣n, then Smaxn∈Fβn and the length of Smaxn is ϵM. Otherwise, Smaxn∈Nβn.
Proof.
Let w(1)=ϵ1∗⋯ϵn∗.
If ϵ(1,β) is finite with length M and M∣n, then w(1) is full by Proposition 3.3 (2). We get Smaxn∈Fβn. Let p=n/m−1≥0. As the consecutive previous words of w(1), w(2)=(ϵ1⋯ϵM−1(ϵM−1))pϵ1⋯ϵM−1(ϵM−2),
⋯,
w(ϵM)=(ϵ1⋯ϵM−1(ϵM−1))pϵ1⋯ϵM−10 are full by Lemma 2.7.
By nearly the same way in the proof of Lemma 4.8 (2) \small{1}⃝, we know that the previous word of w(ϵM) is not full. Therefore the number of Smaxn is ϵM.
Otherwise, w(1) is not full by Proposition 3.3 (2). We get Smaxn∈Nβn.
∎
Remark 4.10*.*
All the locations of all the lengths in Theorem 4.6 can be found in the proof of Lemma 4.8 and Lemma 4.9.
Corollary 4.11** (The maximal length of the runs of full words).**
Let β>1 with β∈/N. Then
[TABLE]
Proof.
It follows from ϵni≤ϵn1=ϵ1=⌊β⌋ for any i and Theorem 4.6.
∎
Corollary 4.12** (The minimal length of the maximal runs of full words).**
Let β>1 with β∈/N, {ni} be the nonzero sequence of β. Then
[TABLE]
Proof.
It follows from ni≤M for any i when ϵ(1,β) is finite with length M and Theorem 4.6.
∎
Remark 4.13*.*
It follows from Theorem 4.6 that the lengths of maximal runs of full words rely on the nonzero terms in ϵ(1,β), i.e., {ϵni}.
5. The lengths of runs of non-full words
Let {ni} be the nonzero sequence of β. We will use a similar concept of numeration system and greedy algorithm in the sense of [AlSh03, Section 3.1] to define the function τβ below. For any s∈N, we can write s=∑i≥1aini greedily and uniquely where ai∈N∪{0} for any i and then define τβ(s)=∑i≥1ai. Equivalently, we have the following.
Definition 5.1** (The function τβ).**
Let β>1, {ni} be the nonzero sequence of β and s∈N. Define τβ(s) to be the number needed to add up to s greedily by {ni} with repetition. We define it precisely below.
Let ni1=max{ni:ni≤s}. (Notice n1=1.)
If ni1=s, define τβ(s):=1.
If ni1<s, let t1=s−ni1 and ni2=max{ni:ni≤t1}.
If ni2=t1, define τβ(s):=2.
If ni2<t1, let t2=t1−ni2 and ni3=max{ni:ni≤t2}.
⋯
\begin{array}[]{ll}\mbox{Generally for }j\in\mathbb{N}.&\mbox{ If }n_{i_{j}}=t_{j-1}(t_{0}:=s),\mbox{ define }\tau_{\beta}(s):=j.\\
&\mbox{ If }n_{i_{j}}<t_{j-1},\mbox{ let }t_{j}=t_{j-1}-n_{i_{j}}\mbox{ and }n_{i_{j+1}}=\max\{n_{i}:n_{i}\leq t_{j}\}.\end{array}
⋯
Noting that n1=1, it is obvious that there exist ni1≥ni2≥⋯≥nid all in {ni} such that s=ni1+ni2+⋯+nid, i.e., nid=td−1. Define τβ(s):=d.
In the following we give an example to show how to calculate τβ.
Example 5.2*.*
Let β>1 such that ϵ(1,β)=302000010∞ (such β exists by Lemma 2.4). Then the nonzero sequence of β is {1,3,8}. The way to add up to 7 greedily with repetition is 7=3+3+1. Therefore τβ(7)=3.
Proposition 5.3** (Properties of τβ).**
Let β>1, {ni} be the nonzero sequence of β and n∈N. Then
τβ(ni)=1* for any i;*
τβ(s)=s* for any 1≤s≤n2−1, and τβ(s)≤s for any s∈N;*
{1,2,⋯,k}⊂{τβ(s):1≤s≤n}* for any k∈{τβ(s):1≤s≤n};*
{τβ(s):1≤s≤n}={1,2,⋯,1≤s≤nmaxτβ(s)}.
Proof.
(1) and (2) follow from Definition 5.1 and n1=1.
Let k∈{τβ(s):1≤s≤n}. If k=1, the conclusion is obviously true. If k≥2, let 2≤t0≤n such that k=τβ(t0), ni1=max{ni:ni≤t0} and t1=t0−ni1. Then 1≤t1<t0≤n and it is obvious that k−1=τβ(t1)∈{τβ(s):1≤s≤n} by Definition 5.1. By the same way, we can get k−2,k−3,⋯,1∈{τβ(s):1≤s≤n}. Therefore {1,2,⋯,k}⊂{τβ(s):1≤s≤n}.
The inclusion {τβ(s):1≤s≤n}⊂{1,2,⋯,1≤s≤nmaxτβ(s)} is obvious and the reverse inclusion follows from 1≤s≤nmaxτβ(s)∈{τβ(s):1≤s≤n} and (3).
∎
For n∈N, we use rn(β) to denote the maximal length of the strings of 0’s in ϵ1∗⋯ϵn∗ as in [FWL16], [HTY16] and [TYZ16], i.e.,
[TABLE]
with the convention that max∅=0.
The following relation between τβ(s) and rs(β) will be used in the proof of Corollary 5.9.
Proposition 5.4**.**
Let β>1. If ϵ(1,β) is infinite, then τβ(s)≤rs(β)+1 for any s≥1. If ϵ(1,β) is finite with length M, then τβ(s)≤rs(β)+1 is true for any 1≤s≤M.
Proof.
Let {ni} be the nonzero sequence of β and ni1=max{ni:ni≤s}. No matter ϵ(1,β) is infinite with s≥1 or finite with length M≥s≥1, we have
[TABLE]
since s−ni1=0 or ϵni1+1∗ϵni1+2∗⋯ϵs∗=ϵni1+1ϵni1+2⋯ϵs=0s−ni1.
∎
Lemma 5.5**.**
Let n∈N, β>1 with β∈/N and w∈Σβn end with a prefix of ϵ(1,β), i.e., w=w1⋯wn−sϵ1⋯ϵs where 1≤s≤n. Then the previous consecutive τβ(s) words starting from w in Σβn are not full, but the previous (τβ(s)+1)-th word is full.
Remark 5.6*.*
Notice that w=w1⋯wn−sϵ1⋯ϵs does not imply that w1⋯wn−s is full. For example, when β>1 with ϵ(1,β)=1010010∞, let w=001010=w1⋯w4ϵ1ϵ2. But w1⋯w4=0010 is not full by Lemma 3.4.
Proof of Lemma 5.5.
Let {ni} be the nonzero sequence of β and
[TABLE]
where a1=n−s. It is not full by Lemma 3.4.
⋯
Generally for any j≥1, suppose w(j),w(j−1),⋯,w(2),w(1) to be j consecutive non-full words in Σβn where w(j)=w1(j)⋯waj(j)ϵ1⋯ϵtj−1, tj−1>0 (t0:=s). Let w(j+1)∈Σβn be the previous word of w(j) and nij:=max{ni:ni≤tj−1}.
If nij=tj−1, then ϵtj−1>0 and w(j+1)=w1(j)⋯waj(j)ϵ1⋯ϵtj−1−1(ϵtj−1−1) is full by Lemma 2.7. We get the conclusion of this lemma since τβ(s)=j at this time.
If nij<tj−1, let tj=tj−1−nij. Then w(j)=w1(j)⋯waj(j)ϵ1⋯ϵnij0tj and the previous word is
[TABLE]
where aj+1=aj+nij. By Lemma 3.4, w(j+1) is also not full. At this time, w(j+1),w(j),⋯,w(2),w(1) are j+1 consecutive non-full words in Σβn.
⋯
Noting that n1=1, it is obvious that there exist d∈N such that w(d),⋯,w(1) are not full, and s=ni1+ni2+⋯+nid, i.e., nid=td−1. Then ϵtd−1>0 and w(d+1)=w1(d)⋯wad(d)ϵ1⋯ϵtd−1−1(ϵtd−1−1) is full by Lemma 2.7. We get the conclusion since τβ(s)=d.
∎
Corollary 5.7** (The maximal length of the runs of non-full words).**
Let β>1 with β∈/N. Then
[TABLE]
Proof.
Let l∈Nβn and [w(l),w(l−1),⋯,w(2),w(1)]∈Nβn. Then, by Corollary 3.9, there exists
[TABLE]
such that w(1)=w1(1)⋯wn−s0(1)ϵ1⋯ϵs0 and we have l=τβ(s0) by Lemma 5.5. Therefore
[TABLE]
by the randomicity of the selection of l. On the other hand, the equality follows from the fact that 0n−t0ϵ1⋯ϵt0∈Σβn included, the previous consecutive τβ(t0) words are not full by Lemma 5.5 where
[TABLE]
∎
In the following we give an example to show how to calculate the maximal length of the runs of non-full words in Σβn.
Example 5.8*.*
Let n=8 and ϵ(1,β)=ϵn10ϵn2000ϵn30⋯0ϵn40⋯0ϵn50⋯,
where n1=1,n2=3,n3=7,n4>8,ϵni=0 for any i. Then, by Corollary 5.7, the maximal length of the runs of non-full words in Σβ8 is max{τβ(s):1≤s≤8}. Since
\begin{array}[]{llllllll}1=1&\Rightarrow\tau_{\beta}(1)=1;&&2=1+1&\Rightarrow\tau_{\beta}(2)=2;&&3=3&\Rightarrow\tau_{\beta}(3)=1;\\
4=3+1&\Rightarrow\tau_{\beta}(4)=2;&&5=3+1+1&\Rightarrow\tau_{\beta}(5)=3;&&6=3+3&\Rightarrow\tau_{\beta}(6)=2;\\
7=7&\Rightarrow\tau_{\beta}(7)=1;&&8=7+1&\Rightarrow\tau_{\beta}(8)=2,\end{array}
we get that max{τβ(s):1≤s≤8}=3 is the maximal length.
Corollary 5.9**.**
Let β>1. We have maxNβn≤rn(β)+1 for any n∈N. Moreover, if ϵ(1,β) is finite with length M, then maxNβn≤rM−1(β)+1 for any n∈N.
Proof.
If ϵ(1,β) is infinite, then
[TABLE]
If ϵ(1,β) is finite with length M, then
[TABLE]
and we have maxNβn≤rn(β)+1 and maxNβn≤rM−1(β)+1.
∎
Remark 5.10*.*
Combining Corollary 5.7 and τβ(n)≤n (or Corollary 5.9 and rn(β)+1≤n), we have maxNβn≤n for any n∈N which contains the result about the distribution of full cylinders given by Bugeaud and Wang [BuWa14, Theorem 1.2]. Moreover, if ϵ(1,β) is finite with length M, then maxNβn≤M−1 for any n∈N. If β∈A0 which is a class of β given by Li and Wu [LiWu08], then maxNβn has the upper bound s≥1maxrs(β)+1 which does not rely on n.
Theorem 5.11** (The lengths of the maximal runs of non-full words).**
Let β>1 with β∈/N and {ni} be the nonzero sequence of β. Then Nβn is given by the following table.
[TABLE]
\begin{array}[]{rl}\mbox{Here }&D_{1}=\{1,2,\cdots,\max\{\tau_{\beta}(s):1\leq s\leq n\}\};\\
&D_{2}=\{1,2,\cdots,\max\{\tau_{\beta}(s):1\leq s\leq\min\{M-1,n\}\}\};\\
&D_{3}=\{1,2,\cdots,\max\{\tau_{\beta}(s):1\leq s\leq M-1\}\};\\
&D_{4}=\{1,2,\cdots,\min\{n-M,M-1\}\}\cup\{M-1\};\\
&D_{5}=\{1,2,\cdots,\min\{n_{2}-1,n-n_{2}+1\}\}\cup\{\tau_{\beta}(s):n_{2}-1\leq s\leq n\}.\end{array}**
Corollary 5.12** (The minimal length of the maximal runs of non-full words).**
Let β>1 with β∈/N and {ni} be the nonzero sequence of β. Then
[TABLE]
Proof.
It follows from Theorem 5.11.
∎
Proof of Theorem 5.11.
We prove the conclusions for the cases (1)-(10) from simple ones to complicate as below.
Cases (3), (5) and (8) can be proved together. When 1<β<2 and n<n2, no matter ϵ(1,β) is finite or not, noting that ⌊β⌋=1 and ϵ(1,β)∣n2=10n2−21, we get ϵ1⋯ϵn=10n−1. Then all the elements in Σβn from small to large are 0n, 0n−11, 0n−210, ⋯, 10n−1, where 0n is full and the others are all not full by Lemma 3.4. Therefore Nβn={n}.
Case (6). When 1<β<2, ϵ(1,β) is finite with length M and n=n2=M, noting that ⌊β⌋=1 and ϵ(1,β)=10M−210∞, all the elements in Σβn from small to large are 0M, 0M−11, 0M−210, ⋯, 010M−2, 10M−1, where 0M is full, 10M−1 is also full by Proposition 3.3 (2) and the others are all not full by Lemma 3.4. Therefore Nβn={M−1}.
Case (1). When β>2 and ϵ(1,β) is infinite, it suffices to prove Nβn⊃D1 since the reverse inclusion follows immediately from Corollary 5.7. By Proposition 5.3 (4), it suffices to show Nβn⊃{τβ(s):1≤s≤n}. In fact:
For any 1≤s≤n−1, let u=0n−s−110s. It is full by ϵ1=⌊β⌋≥2 and Corollary 3.9. The previous word u(1)=0n−sϵ1⋯ϵs is not full by Lemma 3.4. So τβ(s)∈Nβn by Lemma 5.5.
For s=n, combining the fact that ϵ1⋯ϵs is maximal in Σβn and Lemma 5.5, we get τβ(s)∈Nβn.
Therefore Nβn=D1.
Case (2) can be proved by similar way as Case (1).
Case (10). When 1<β<2, ϵ(1,β) is finite with length M and n2<M≤n, we have ϵ(1,β)=10n2−21ϵn2+1⋯ϵM0∞. It suffices to prove Nβn⊃D3 since the reverse inclusion follows immediately from Corollary 5.7. By Proposition 5.3 (4), it suffices to show Nβn⊃{τβ(s):1≤s≤M−1}. In fact:
For any n2−1≤s≤M−1, let u=0n−s−110s. It is full by s≥n2−1 and Corollary 3.9. The previous word u(1)=0n−sϵ1∗⋯ϵs∗=0n−sϵ1⋯ϵs is not full by Lemma 3.4. So τβ(s)∈Nβn by Lemma 5.5.
For any 1≤s≤n2−2, we get n2−1≤n3−n2 by Lemma 2.4. So 1≤s≤n2−2≤n3−n2−1≤M−n2−1≤n−n2−1 and then n−n2−s≥1. Let
[TABLE]
It is full by n2+s−1≥n2−1 and Corollary 3.9. Noting that n2≤n2+s−1<n3, the previous word of u is
[TABLE]
which is not full by Lemma 3.4. So τβ(s)∈Nβn by Lemma 5.5.
Therefore Nβn=D3.
Case (7). When 1<β<2, ϵ(1,β) is finite with length M and n>n2=M, we have ϵ(1,β)=10M−210∞.
On the one hand, we prove Nβn⊂D4. Let l∈Nβn and [w(l),w(l−1),⋯,w(2),w(1)]∈Nβn. By Corollary 3.9, there exist 1≤s≤M−1, 2≤n−M+1≤a≤n−1 such that a+s=n and w(1)=w1⋯waϵ1⋯ϵs.
Then l=τβ(s)=s by Lemma 5.5 and s≤n2−1. Moreover, w(1)=w1⋯wa10s−1.
If w1⋯wa=0a, then the next word of w(1) is w:=0a−110s which is full by [w(l), w(l−1), ⋯, w(2), w(1)] ∈Nβn. Combining s≤M−1 and Corollary 3.9, we get s=M−1. Hence l=M−1∈D4.
If w1⋯wa=0a, we get a≥M by wk+1⋯wa10∞≺ϵ(1,β)=10M−210∞ for any k≥0. Hence s≤n−M and l=s∈D4.
On the other hand, we prove Nβn⊃D4.
For M−1, let u=0n−M10M−1 which is full by Corollary 3.9. The consecutive previous words are u(1)=0n−M+110M−2,⋯,u(M−1)=0n−11,u(M)=0n where u(1),⋯,u(M−1) are not full by Lemma 3.4, and u(M) is full. Therefore M−1∈Nβn.
For any 1≤s≤min{n−M,M−1}, let
[TABLE]
i) If s=n−M, then u(1)=ϵ1∗⋯ϵM+s∗ is maximal in Σβn.
ii) If s<n−M, i.e.,n−M−s−1≥0, then the next word of u(1) is 0n−M−s−110M+s which is full by Corollary 3.9.
Hence we must have s=τβ(s)∈Nβn by s≤n2−1 and Lemma 5.5.
Therefore Nβn=D4.
Cases (4) and (9) can be proved together. When 1<β<2, ϵ(1,β) is infinite with n≥n2 or ϵ(1,β) is finite with length M and n2≤n<M, we have ϵ(1,β)=10n2−21ϵn2+1ϵn2+2⋯. By Proposition 5.3 (2), we get
[TABLE]
On the one hand, we prove Nβn⊂D5. Let l∈Nβn and [w(l),w(l−1),⋯,w(2),w(1)]∈Nβn. By Corollary 3.9, there exist 1≤s≤n, 0≤a≤n−1 such that a+s=n and w(1)=w1⋯waϵ1⋯ϵs. Then l=τβ(s) by Lemma 5.5.
If a=0, then s=n and l=τβ(n)∈D5.
If a≥1, we divide it into two cases.
i) If w1⋯wa=0a, then the next word of w(1) is 0a−110s which is full by [w(l), w(l−1), ⋯, w(2), w(1)] ∈Nβn. Combining ϵ(1,β)=10n2−21ϵn2+1ϵn2+2⋯ and Corollary 3.9, we get s≥n2−1. Hence l=τβ(s)∈D5.
ii) If w1⋯wa=0a, we get a≥n2−1 by wk+1⋯wa10∞≺ϵ(1,β)=10n2−21ϵn2+1ϵn2+2⋯ for any k≥0. Hence s≤n−n2+1.
\small{a}⃝ If s≥n2−1, then l=τβ(s)∈{τβ(s):n2−1≤s≤n}⊂D5.
\small{b}⃝ If s≤n2−1, then l=τβ(s)∈{τβ(s):1≤s≤min{n2−1,n−n2+1}}⊂D5.
On the other hand, we prove Nβn⊃D5.
For any n2−1≤s≤n, let u(1)=0n−sϵ1∗⋯ϵs∗. No matter whether ϵ(1,β) is infinite or finite with length M>n (which implies s<M), we get u(1)=0n−sϵ1⋯ϵs which is not full by Lemma 3.4.
i) If s=n, then u(1)=ϵ1∗⋯ϵn∗ is maximal in Σβn.
ii) If n2−1≤s≤n−1, then the next word of u(1) is 0n−s−110s which is full by s≥n2−1 and Corollary 3.9.
Hence we must have τβ(s)∈Nβn by Lemma 5.5.
For any 1≤s≤min{n2−1,n−n2+1}, let
[TABLE]
No matter ϵ(1,β) is infinite or finite with length M>n (which implies n2+s−1≤n<M), we get
[TABLE]
Since Lemma 2.4 implies n2−1≤n3−n2, we get 1≤s≤n2−1≤n3−n2 and then n2≤n2+s−1<n3. Hence
[TABLE]
[TABLE]
which is not full by Lemma 3.4.
i) If s=n−n2+1, then u(1)=ϵ1∗⋯ϵn∗ is maximal in Σβn.
ii) If s<n−n2+1, i.e., n−n2−s≥0, then the next word of u(1) is 0n−n2−s10n2+s−1 which is full by Corollary 3.9.
Hence we must have τβ(s)∈Nβn by Lemma 5.5.
Therefore Nβn=D5.
∎
Remark 5.13*.*
It follows from Theorem 5.11 that the lengths of the maximal runs of non-full words rely on the positions of nonzero terms in ϵ(1,β), i.e., {ni}.
Acknowledgement*.*
The work was supported by NSFC 11671151 and Guangdong Natural Science Foundation 2014A030313230.