1 Introduction

The \(\beta \)-transformation has been extensively studied since the seminal paper of Rényi in 1957 (see [10]). There is a huge amount of literature on the map itself and on the associated symbolic dynamics. Over the past decade, people became interested in the \((-\,\beta )\)-transformation, changing the slope of the map from positive to negative. Various studies have focused on the similarities and differences between the two maps from several points of view. This paper fits in this last line of research.

The paper compares two aspects of the \((-\,\beta )\)-shift to the \(\beta \)-shift. For the \(\beta \)-shift it is known that a prefix code always exists. The paper first investigates whether or not the same is true for the \((-\,\beta )\)-shift. By \( (-\,\beta )\)-shift (respectively \(\beta \)-shift) we understand the closure of the set of expansions in base \(-\,\beta \) (respectively \( \beta \)). The conclusion is stated in Theorem 1, which says that a prefix code exists in the negative case only under certain conditions, namely if and only if \(\beta \) is bigger than the golden ratio and the orbit of the left endpoint of the domain of the \((-\,\beta )\)-transformation is not periodic with odd period. It turns out that the discovered prefix codes are recurrent. Even though the codes can be complicated, the zeta functions apparently have a very simple form (see Theorem 6) and it can be noted the similarities with that of the positive parameter determined in [1, 5, 7].

Rényi introduced the \( \beta \)-expansion of positive real numbers in [10]: for a fixed real \( \beta > 1 \), all non-negative real number x has one representation in base \(\beta \). He defined the \( \beta \)-transformation \( T_{\beta } \) from [0, 1) into [0, 1) by

$$\begin{aligned} T_\beta (y) = \beta y -\lfloor \beta y\rfloor \end{aligned}$$

where \( \lfloor x \rfloor \) denotes the largest integer less than x. We can find a sequence of positive integers \( ( x_i)_{i \ge -n+1} \) such that \( x = \sum \nolimits _{i \ge -n+1}\dfrac{x_i}{\beta ^i} \) where \(x_i \in \left\{ 0, 1, \ldots , \lfloor \beta \rfloor \right\} \), \( x_{-n+i} = \lfloor \beta T^{i-1}_\beta (\frac{x}{\beta ^n}) \rfloor \) and n is the smallest positive integer for which \( \frac{x}{\beta ^n} \) belongs to the interval [0, 1) . Various topics about \( \beta \)-expansion have been studied.

Let b be an integer strictly bigger than 1. It is well-known that any number can be represented without a sign in base \( -\,b \) thanks to digits of the alphabet \( \left\{ 0, 1, \ldots , b-1 \right\} \). In 2009, Ito and Sadahiro in [6] generalized this approach for all negative base (integer or not). They defined a \((-\,\beta )\)-transformation \( T_{-\,\beta } \), the map from the interval \( I_{\beta } = [-\,\frac{\beta }{\beta +1}, \frac{1}{\beta }) \) into itself such that

$$\begin{aligned} T_{-\,\beta }(x) = -\,\beta x - \left\lfloor -\,\beta x + \frac{\beta }{\beta +1} \right\rfloor . \end{aligned}$$

The expansion in base \( -\,\beta \) of a real x (denoted by \( d(x, -\,\beta )\)) is given by the following algorithm:

  • if x belongs to \( I_\beta \), \( d(x, -\,\beta ) = .x_1x_2\ldots , \) where

    $$\begin{aligned} x_i = \left\lfloor -\,\beta T_{-\,\beta }^{i-1}(x) + \frac{\beta }{\beta +1} \right\rfloor ; \end{aligned}$$
  • if \( x \not \in I_{\beta } \), one finds the smallest integer n for which one has \( \frac{x}{(-\,\beta )^n} \in I_{\beta }\). In this case, the expansion is \( d(x, -\,\beta ) =x_{-n+1}\cdots x_0. x_1x_2 \cdots \), where

    $$\begin{aligned} x_{-n+i} = \left\lfloor -\,\beta T_{-\,\beta }^{i-1}\left( \frac{x}{(-\,\beta )^n}\right) +\frac{\beta }{\beta +1} \right\rfloor ,\ i \ge 1. \end{aligned}$$

In both cases, \( x = \sum \nolimits _{ i \ge -n+1}{\sum }\dfrac{x_i}{(-\,\beta )^i} \). If there is no mixup, we often denote \( d(x, -\,\beta )\) by \( (x_i)_{i \ge -n+1} \).

1.1 Alternating lexicographic order

Definition 1

Let \(\mathcal {A}= \{0, 1, \ldots , k \}\) be an alphabet. A word on \(\mathcal {A}\) is a concatenation of elements of \(\mathcal {A}\). Let \( x=x_1 x_2 \ldots x_n \) be a word on \( \mathcal {A}\), we call sub-word (or factor) of x all word which appears in x. \(\mathcal {A}^*\) denotes the set of words on \( \mathcal {A}\).

Let \( \mathcal {A}= \{0, 1, \ldots , d_1 \} \). We endow \( \mathcal {A}^*\) with the order \(\prec \) defined as follows: for a pair of words \( X_n= x_1 x_2 \ldots x_n \) and \( Y_n = y_1 y_2 \ldots y_n \), \(n \in \mathbb {N}^{*}\)

$$\begin{aligned} X_n \prec Y_n \Leftrightarrow \exists k, x_1 \ldots x_{k-1} = y_1 \ldots y_{k-1}\ \text {and}\ (-1)^k(x_k-y_k)< 0 . \end{aligned}$$

We say \( X_n \) is less than \( Y_n \) with respect to \( \prec \). Comparison is also possible for words of distinct lengths (see [9]).

The order “\(\prec \)” is called alternating lexicographic order. With this order, we have the following property: let u, v and w be three words on \( \mathcal {A}\),

$$\begin{aligned} u \prec v \Rightarrow {\left\{ \begin{array}{ll} w u \prec w v &{}\quad \text { if}\quad |w|\ \text {is even }\\ w v \prec w u &{}\quad \text { if}\quad |w|\ \text {is odd }, \\ u w \prec v w &{}\quad \text { in all cases}. \end{array}\right. } \end{aligned}$$
(1)

1.2 The \((-\,\beta )\)-shift

The \( (-\,\beta )\)shift is the closure of the set of expansions in base \(-\,\beta \). The sequence \(d(-\,\frac{\beta }{\beta +1}, -\,\beta )\) plays an important role in the characterization of this set. In the following,

$$\begin{aligned} d(l_\beta , -\,\beta ) = \cdot d_1 d_2 \cdots \end{aligned}$$

with \( l_\beta = -\,\frac{\beta }{\beta + 1} \), \( r_\beta = \frac{1}{\beta + 1} \), \( d_0 = 0 \) and

$$\begin{aligned} (d_{i}^{*})_{i \ge 1} = {\left\{ \begin{array}{ll} \overline{(d_1, \ldots , d_{2n_i-2}, d_{2n-1}-1, 0)} &{}\quad \text { if}\quad \ (d_i)_{i \ge 1} = \overline{(d_1, \ldots , d_{2n-1} )}\\ (d_i)_{i \ge 1} &{}\quad \text { otherwise } \end{array}\right. } \end{aligned}$$
(2)

where \( \overline{t} = ttt \cdots \) is the purely periodic sequence with period |t|.

$$\begin{aligned} S_{-\,\beta } = \{ x_k x_{k+1} \cdots x_0 \cdot x_1\cdots \vert (d_i)_{i\ge 1} \preceq (x_i)_{i \ge m} \preceq (d_{i-1}^{*})_{i \ge 1}, \forall m\ge k, \forall k \} . \end{aligned}$$
(3)

2 Coded negative beta-shift

Let us start by giving the definitions of the main terms used throughout this paper.

2.1 Definitions

Definition 2

Let \(\mathcal {A}= \{0, 1, \ldots , k \}\) be an alphabet. A language L on \(\mathcal {A}\) is a set of words on \(\mathcal {A}\) (or the set of finite sequences on \(\mathcal {A}\)).

A language L is extendable if for all word \( x_1x_2 \cdots x_n \) in L, there exist two letters a and b in \( \mathcal {A}\) such that \( ax_1 x_2\cdots x_n b \) belongs to L. It is said transitive if \( \forall v, w \in L \), there exists u such that \( vuw \in L \).

Let \( \mathcal {A}= \{0, 1, \ldots , k \}\) be a finite alphabet. One endows \(\mathcal {A}^{\mathbb {N}}\) (or \( \mathcal {A}^{\mathbb {Z}}\)) with the topology product of the discrete topology on \(\mathcal {A}\). Let \(\sigma \) be the map from \( \mathcal {A}^{\mathbb {N}} \) (or \(\mathcal {A}^{\mathbb {Z}}\)) into itself defined by \(\sigma ((x_n)_{n \in \mathbb {N}}) = (x_{n+1})_{n \in \mathbb {N}}\). The closed \(\sigma \)-invariant subsets of \(\mathcal {A}^{\mathbb {N}}\) are called sub-shifts.

Definition 3

Let S be a sub-shift on \(\mathcal {A}\). The pair \( (S, \sigma )\) is called symbolic dynamical system. \( (S, \sigma ) \) will be denoted by S whenever there is no risk of mixup.

A language \( L_S \) of a dynamical system S is the set of factors of words of S. The system is transitive if its language is transitive.

Definition 4

A code Y on \( \mathcal {A}\) is a language such that, for any equality

$$\begin{aligned} x_1\cdots x_n = y_1 \cdots y_p \end{aligned}$$

with \( x_i, y_i \in Y \), one has \( n=p \) and \( x_i = y_i \).

Let L be a language on \(\mathcal {A}\). In the following, \(L^{*}\) denotes the concatenations of words of L.

Definition 5

A prefix code is a language \( \mathfrak {C}\) for which no word is the beginning of another.

$$\begin{aligned} \forall x, y \in \mathfrak {C}, x = yz \Rightarrow x = y \text { and } z = \varepsilon \end{aligned}$$

where \( \varepsilon \) is the empty word.

If in \( \mathfrak {C}\), no word ends by another, then the language \( \mathfrak {C}\) is a suffix code.

The symbolic dynamical system S is said coded by the prefix code \(\mathfrak {C}\) if \(L_S \) is the set of factors of words contained in \(\mathfrak {C}^{*}\).

Definition 6

Let L be a language on \( \mathcal {A}\). The radius \( \rho _L\) of the power series \( \sum \nolimits _{ n \ge 1} card (L\cap \mathcal {A}^n)z^n \) is called radius of convergence of L.

A prefix code \( \mathfrak {C}\) is said recurrent positive if

$$\begin{aligned} \sum \limits _{x \in \mathfrak {C}} \rho _{\mathfrak {C}^{*}}^{ \vert x \vert } = 1 \text { and } \sum \limits _{x \in \mathfrak {C}} \vert x \vert \rho _{\mathfrak {C}^{*}}^{\vert x \vert } < \infty . \end{aligned}$$

2.2 Constructing of a code

Let \( \beta \) be a real number bigger than 1 and \( S_\beta \) the associated \(\beta \)-shift. If \( (a_i)_{i \ge 1} \) denotes the expansion of 1 in base \( \beta \), the \(\beta \)-shift, \( S_{\beta }\) is coded by the prefix code \( Y_{\beta } \) defined as follows:

$$\begin{aligned} Y_{\beta } = \left\{ a_1a_2\cdots a_n j ; j < a_{n+1}, \forall n \in \mathbb {N}\right\} . \end{aligned}$$
(4)

Hence, all \( \beta \)-shift is coded. It is one of the differences between \( \beta \)-shifts and \( (-\,\beta )\)-shifts. In fact, the \((-\,\beta )\)-shifts, given in (3) are not always coded. One of the natural and important question is whether the \((-\,\beta )\)-shift is coded. In this section, we shall provide some contributions to this question. Furthermore, when it is coded, it is not easy to find a set of words coding its language. We distinguish two cases: for all \( i \ge 1\), \(0\le d_{2i} < d_1 \) and \( d_{2i} =d_1 \) for some i.

Throughout in the rest of this paper, \( L_{\beta }\) denotes the language of the \((-\,\beta )\)-shift.

The following theorem states the conditions on the parameter \( \beta \) to have a coded \((-\,\beta )\)-shift.

Theorem 1

Let \( \beta \) be a real number greater than 1. The associated \((-\,\beta )\)-shift \( S_{-\,\beta }\) is coded if only if \( \beta \) is greater than or equal to the golden ratio and \( d(l_\beta , -\,\beta )\) is not periodic with odd period.

Lemma 1

Let \( \beta > 1\) and \( (d_i)_{i \ge 1}\) the \( (-\,\beta )\)-expansion of \( -\,\frac{\beta }{\beta +1} \). If for all integer \( i \ge 1 \), \(d_{2i} < d_1 \), then \( \beta \) is bigger than or equal to the golden ratio.

Proof

Let \( \gamma _0\) be the golden ratio. To prove this lemma, it is enough to determine the \((-\,\gamma _0)\)-expansion of \(l_{\gamma _0}=-\,\frac{\gamma _0}{1+\gamma _0}\). In fact, if we consider two real numbers \( \beta \) and \( \alpha \) strictly greater than 1 then,

$$\begin{aligned} d(l_\alpha , -\,\alpha ) \prec d(l_\beta , -\,\beta ) \Leftrightarrow \beta < \alpha . \end{aligned}$$

We obtain the equivalence above thanks to Lemma 3 of [9].

$$\begin{aligned} d(l_{\gamma _0}, -\,\gamma _0) = \cdot 1 \overline{0}. \end{aligned}$$

We assume that \( \beta < \gamma _0\) and \( d(l_\beta , -\,\beta ) = (d_i)_{i \ge 1}\). Then,

$$\begin{aligned} 1\overline{0} \prec d_1 d_2 d_3 \cdots . \end{aligned}$$

That means there exists n such that \( -(-1)^nd_n < 0 \) and \( d_1 d_2 \cdots d_{n-1} = 1 0\cdots 0 \). Thus, \( d_n = 1 \) and n is even. So, there exists \( i_0\) such that \(n=2i_0\) and \( d_{2i_0} =1= d_1 \). Thus, if \( d_{2i}<d_1 \) for all \( i \ge 1 \), \( \beta \ge \gamma _0 \). \(\square \)

Proposition 1

Let \( \beta \) be a real number greater than 1. We denote by \(S_{-\,\beta }\) the associated \((-\,\beta )\)-shift, \( (d_i)_{i \ge 1}\) the \( (-\,\beta )\)-expansion of \(l_\beta =-\,\frac{\beta }{\beta +1} \). If \((d_i)_{i \ge 1}\) is periodic with odd period or \( \beta < \frac{1+\sqrt{5}}{2} \) then, \( S_{-\,\beta }\) is not transitive.

Proof

  • Assume \( \beta < \frac{1+\sqrt{5}}{2} \). By Lemma 1, there exists \( i_0\) such that

    $$\begin{aligned} d_1\cdots d_{2i_0} = 1(0)^{2(i_0-1)}1 . \end{aligned}$$

    In the admissible words, after 1, the length of the longest sequence of zeros is \( 2(i_0-1)\).

    $$\begin{aligned} 1(0)^{2i_0-1}\prec 1(0)^{2(i_0-1)}1. \end{aligned}$$

    It follows that for all \(w\in L_{\beta }\), \( 1w(0)^{2i_0-1} \notin L_{\beta }\) (\(1\in L_{\beta }\) and \( (0)^n \in L_{\beta }\) for all \( n \in \mathbb {N}^*\)). Thus, \( S_{-\,\beta }\) is not transitive for \( \beta < \gamma _0\).

  • Assume that \( d(l_\beta , -\,\beta ) = \overline{ d_1 d_2 \cdots d_{2n-1} }\). Consider a word \( x_1 x_2 \cdots x_k \in L_\beta \) such that

    $$\begin{aligned} d_1 d_2 \cdots d_{2n-1} x_1 x_2 \cdots x_k \in L_\beta . \end{aligned}$$

    Then,

    $$\begin{aligned} d_1 \cdots d_{2n-1} d_1 \cdots d_k \preceq d_1 \cdots d_{2n-1} x_1 \cdots x_k. \end{aligned}$$

    there exists an integer m, \( 1 \le m \le k \) such that \( x_i =d_i \) for \( 1 \le i < m \) and \( (-1)^{2n-1+m}(d_m - x_m) \le 0 \). That is \( (-1)^m(x_m - d_m) \le 0\). In other words,

    $$\begin{aligned} x_1 x_2 \cdots x_k \preceq d_1 d_2 \cdots d_k. \end{aligned}$$

    In fact, \( uv \prec uw \) implies that \( v \prec w \) if \( \vert u \vert \) is even and \( w \prec v \) if \( \vert u \vert \) is odd.

    But, \( x_1 \cdots x_k \in L_\beta \). Thus, \( d_1 \cdots d_k \preceq x_1 \cdots x_k \). Hence, it follows that \( x_1 x_2 \cdots x_k = d_1 d_2 \cdots d_k \). Then, for all \( X=d_1 d_2 \cdots d_{p-1} j \in L_\beta \), with \( (-1)^p(d_p - j) < 0\) (we have \( d_1 \cdots d_{\vert X \vert } \prec X \)) there does not exist \( Y \in L_\beta \) such that \( d_1 d_2 \cdots d_{2n-1} Y X \in L_\beta \). This implies that \( S_{-\,\beta }\) is not transitive.

\(\square \)

Remark 1

It is well-known that all coded system is transitive (see [4]). That is, a non transitive system cannot be coded. Thus, the previous proposition allows us to observe that for all \(\beta \) such that \( d(-\,\frac{\beta }{\beta +1}, -\,\beta ) \) is periodic with odd period or \( \beta \) is less than the golden ratio \(\gamma _0\), \( S_{-\,\beta } \) is not a coded system.

Any word of the code of the \(\beta \)-shift (given in (4)) accepts at right any word of the language of the \(\beta \)-shift. We want to construct a code in the signed parameter case \(-\,\beta \) with this property. To do that, if \( d(l_{\beta }, -\,\beta ) = (d_i)_{i \ge 1}\), we start by storing these sequences in two groups: at first those for which for all integer \( i\ge 1 \), \( d_{2i}< d_1\), and secondly, the sequences for which there exists an integer i such that \( d_{2i} = d_1\).

  • If for all \( i \ge 1 \), \( d_{2i}< d_1\) then, we observe that all concatenation of words of the type \( d_1\cdots d_{2n-1} \) (\(n \in \mathbb {N}^*)\) is admissible. Moreover we can add at right of such a word any sequence starting by \( d_1\). Therefore, \(d_1\cdots d_{n-1}j \) (with \(0\le j < d_1\) and \( (-1)^n(d_n-j)<0\)) can be extended at right by any admissible word.

  • Suppose there exists an integer i such that \( d_{2i} = d_1 \). So, \( d(l_\beta , -\,\beta )\) is defined thanks to sequences of positive integers \( (n_i)_{i \ge 1} \) (increasing) and \((p_i)_{i \ge 1}\) such that:

    $$\begin{aligned} d(l_\beta , -\,\beta ) = d_1 d_2 \cdots d_{2n_1-1}d_1 \cdots d_{p_1} d_{2n_1 + p_1} \cdots d_{2n_2-1}d_1 \cdots d_{p_2} d_{2n_2 + p_2} \cdots . \end{aligned}$$
    (5)

    In \( d(l_\beta , -\,\beta )\), \(d_{2n_i-1+k} = d_k \) for all integer k satisfying \( 1 \le k \le p_i \). If \( p_i = 2n_i-1 \), \( d(l_\beta , -\,\beta )\) is periodic with odd period. If \((d_i)_{i \ge 1} \) is not periodic with odd period, \( p_i \) satisfies both following conditions: \( p_i < 2n_i-1 \) and \( (-\,1)^{p_i+1}(d_{p_i+1}-d_{2n_i+p_i})<0\) since \( d_1 \cdots d_{p_i}d_{2n_i+p_i}\) is an admissible word.

    Note that if (5) is satisfied, all concatenation of words \(d_1 \cdots d_{2n-1}\) is no longer admissible like in the previous item.

    We assume \( (d_i)_{i\ge 1}\) non periodic with odd period and we set

    $$\begin{aligned} B_{i} = d_1 \cdots d_{2n_i-1}. \end{aligned}$$

Remark 2

The word \( X = B_{k_1} \cdots B_{k_t} \) over \(\{0,1, \ldots , d_1\} \) is admissible if and only if \( p_{k_i} \le 2n_{k_{i+1}}-1\), with \( 1 \le i \le t-1 \).

The words \( d_1 \cdots d_{2k-1} \) such that

$$\begin{aligned} 2n_i+p_i \le 2k-1 \le 2n_{i+1}-3 \end{aligned}$$
(6)

for some integer i (we suppose that \( 2n_0+p_0 = 0 \)), and

$$\begin{aligned} B_{k_1}B_{k_2} \cdots B_{k_m} d_1\cdots d_{2k-1} \end{aligned}$$
(7)

can be extended at right by any sequence starting by \( d_1\) when \(p_{k_i} \le 2n_{k_{i+1}}-1\) for \( 1\le i \le m-1\), \( 2k-1 \) satisfying (6) and \( 2k-1 > p_{k_m} \). We set

$$\begin{aligned} \varDelta _{odd}^0&= \{ d_1 \cdots d_{2n-1}, 2n_i+p_i \le 2n-1< 2n_{i+1}-1 \vert i \in \mathbb {N}^{*} \text { or } n < n_1 \} , \end{aligned}$$
(8)
$$\begin{aligned} \varDelta _{odd}^1&= \left\{ B_{k_1}\cdots B_{k_m} X\vert p_{k_i}< 2n_{k_{i+1}}-1, X \in \varDelta _{odd}^0, \vert X \vert > p_{k_m} \right\} , \end{aligned}$$
(9)

Moreover, if we want the word \(d_1 \cdots d_{n-1}j \) such that for all \( x \in L_{\beta }\), \(d_1 \cdots d_{n-1}jx \in L_{\beta } \), it is necessary to require the following conditions on j:

$$\begin{aligned} \left\{ \begin{array}{ll} (-\,1)^n(d_n-j)< 0, &{}\quad 0 \le j < d_1 \\ 2n_i+p_i + 1 \le n \le 2n_{i+1}-1, &{}\quad i \in \mathbb {N}\end{array}\right. \end{aligned}$$
(10)

with \( 2n_0+p_0 = 0 \). If \( n = 2n_i+p_i \) for some positive integer i,

$$\begin{aligned} d_1 \cdots d_{n-1}j = d_1 \cdots d_{2n_i-1} d_1 \cdots d_{p_i}j; \end{aligned}$$

the admissibility of this word implies that:

$$\begin{aligned} d_1 \cdots d_{2n_i-1} d_1 \cdots d_{p_i}d_{2n_i+p_i} \preceq d_1 \cdots d_{2n_i-1} d_1 \cdots d_{p_i}j \end{aligned}$$

and

$$\begin{aligned} d_1\cdots d_{p_i}d_{p_i+1} \prec d_1 \cdots d_{p_i}j, \end{aligned}$$

and thus:

$$\begin{aligned} {\left\{ \begin{array}{ll} (-\,1)^{2n_i+p_i}(d_{2n_i+p_i}-j)< 0, \ \ \quad 0\le j< d_1 \\ (-\,1)^{p_i+1}(d_{p_i+1}-j)<0. \end{array}\right. } \end{aligned}$$
(11)

That is

$$\begin{aligned} (-\,1)^{p_i}d_{p_i+1}> (-1)^{p_i}j > (-1)^{p_i}d_{2n_i+p_i} . \end{aligned}$$
(12)

So, we define the sets \( \varGamma _0\), \( \varGamma _0^{'}\), \(\varGamma _1\) and \( \varGamma _1^{'}\) as follows:

$$\begin{aligned} x \in \varGamma _0\Leftrightarrow {\left\{ \begin{array}{ll} x=d_1 \cdots d_{n}j, &{}\quad \text { with}\ n \in \mathbb {N}\\ (-\,1)^{n+1}(d_{n+1}-j)< 0, &{}\quad \text { with}\ 0\le j<d_1 ,\\ 2n_i+p_i\le n \le 2n_{i+1}-2, &{}\quad i\in \mathbb {N}, n_0=p_0 = 0. \end{array}\right. } \end{aligned}$$
(13)

In \( \varGamma _0^{'} \), we have words of the type \( d_1\cdots d_{2n_i+p_i-1} j \) with j satisfying (12).

$$\begin{aligned} x\in & {} \varGamma _0^{'} \Leftrightarrow {\left\{ \begin{array}{ll} x= d_1\cdots d_{2n_i+p_i-1} j, &{}\text { with}\ i \in \mathbb {N}^*,\\ (-1)^{p_i}d_{p_i+1}>(-1)^{p_i}j>(-1)^{p_i}d_{2n_i+p_i}; \end{array}\right. } \end{aligned}$$
(14)
$$\begin{aligned} x\in & {} \varGamma _1 \Leftrightarrow {\left\{ \begin{array}{ll} x=B_{k_1}\cdots B_{k_m}y &{}\text { with}\ y\in \varGamma _0, |y|\ge p_{k_m}+2;\\ k_1, \cdots , k_m \in \mathbb {N}^*\\ p_{k_i}<2n_{k_{i+1}}-1, &{} 1\le i \le m-1. \end{array}\right. } \end{aligned}$$
(15)

We denote by \( \varGamma _1^{'} \) the set of admissible words of the form

$$\begin{aligned} B_{k_1} \cdots B_{k_{m-1}} B_{k_m}d_1 \cdots d_{p_{k_m}}j, \end{aligned}$$

with j satisfying (12) and for \( 1 \le i \le m-1\), \(p_{k_i}< 2n_{k_{i+1}}-1\). In fact, \( B_{k_m}d_1 \cdots d_{p_{k_m}}j\) is just a word of \(\varGamma _0^{'} \) having a length greater than \( p_{k_{m-1}}\). So,

$$\begin{aligned} x\in \varGamma _1^{'} \Leftrightarrow {\left\{ \begin{array}{ll} x= B_{k_1}\cdots B_{k_{m-1}} y\\ y\in \varGamma _0^{'} &{}\text { with}\ |y|\ge p_{k_{m-1}}+1,\\ p_{k_i} < 2n_{k_{i+1}}-1 &{}\text { with } 1\le i \le m-2. \end{array}\right. } \end{aligned}$$
(16)

If \((d_i)_{i \ge 1}\) is periodic with odd period, we use the sequence \((d_i^*)_{i\ge 1}\) in the definition of \( \varDelta _{odd}^0\), \(\varDelta _{odd}^1 \), \( \varGamma _0 \), \( \varGamma _0^{'} \), \( \varGamma _1\) and \(\varGamma _1^{'} \) instead of \((d_i)_{i \ge 1}\).

We set

$$\begin{aligned} \varDelta _{odd} = {\left\{ \begin{array}{ll} \varDelta _{odd}^0\cup \varDelta _{odd}^1 &{}\quad \text { if}\ (5)\ \text {is satisfied }\\ \{d_1\cdots d_{2k+1} | k \in \mathbb {N}\} &{}\quad \text { if}\ d_{2i}< d_1 ,\forall i \in \mathbb {N}^* \end{array}\right. }, \end{aligned}$$
(17)

and

$$\begin{aligned} \varGamma = {\left\{ \begin{array}{ll} \varGamma _0 \cup \varGamma _0^{'} \cup \varGamma _1 \cup \varGamma _1^{'} &{}\quad \text { if}\ (5)\ \text {holds} \\ \{d_1 \cdots d_{n-1}j | (-1)^n(d_n-j)<0, 0 \le j < d_1, n\in \mathbb {N}^* \} &{}\quad \text { otherwise}. \end{array}\right. } \end{aligned}$$
(18)

In (18), if \(n=1\), \( d_1 \cdots d_{n-1} = \varepsilon \) (the empty word) and thus, \( d_1 \cdots d_{n-1} j =j\).

Example 1

If \( d_1d_2\cdots = 302\overline{1}\), we have

$$\begin{aligned} \varDelta _{odd}= & {} \{3, 302, 30211, 3021111, \cdots \}\\ \varGamma= & {} \{0,1,2, 31, 32, 300, 301, 3022, 30210, 302112, \cdots \}. \end{aligned}$$

Example 2

Let \( \beta \) be the algebraic integer satisfying \( \beta ^4+2 \beta ^3+\beta ^2-\beta - 1 = 0 \);

$$\begin{aligned} d(l_\beta , -\,\beta ) = 2012\overline{1}. \end{aligned}$$

The sequence \( (n_i)_{i \ge 1} \) is finite: \( 2n_1 - 1 = 3 \), \( p_1 = 1 \), and thus we have \( d_1 \cdots d_{2n_1-1} = 2 0 1 \), \(d_1\cdots d_{p_1} = 2\), and \( d_{2n_1 + p_1} = 1 \).

Now, we can give a language of admissible words with properties similar to those of the code of the \(\beta \)-shift.

At right of a word of \( \varDelta _{odd} \), we can add any admissible word starting by \( d_1\).Thus the free monoid \( \varDelta _{odd}^* \) generated by \(\varDelta _{odd}\) is a subset of \( L_{\beta }\). Moreover all concatenation of a word of \( \varDelta _{odd}^*\) and a word of \(\varGamma \) starting by \( d_1 \) is admissible. Let \( \mathfrak {C}\) be the language defined by:

$$\begin{aligned} \mathfrak {C}= \{ x y | x \in \varDelta _{odd}^*, y \in \varGamma , |y|\ge 2 \} \cup \varGamma . \end{aligned}$$
(19)

By definition of \( \varGamma \), it is obvious to see that at right of each element of \( \mathfrak {C}\), we can add any admissible word.

If \( \beta \) is less than or equal to the golden ratio \(\gamma _0\), \(\mathfrak {C}= \{ 0 \} \). However if \( \beta > \gamma _0 \), by construction, \(\mathfrak {C}\) is a prefix code on \( \mathcal {A}= \{0, 1, \cdots , d_1 \}\).

Let \( \varDelta _{evn}^0 \) and \( \varDelta _{evn}^1 \) be the sets defined as follows:

$$\begin{aligned} \varDelta _{evn}^0&= \{ d_1 \cdots d_{2n} \vert n \in \mathbb {N}\} , \end{aligned}$$
(20)
$$\begin{aligned} \varDelta _{evn}^1&= \{ B_{k_1}\cdots B_{k_m} X\vert p_{k_i}< 2n_{k_{i+1}}-1, X \in \varDelta _{evn}^0 \} , \end{aligned}$$
(21)

When \( n = 0 \), \( d_1 \cdots d_{2n}\) is the empty word \(\varepsilon \). We set

$$\begin{aligned} \varDelta _{evn} = {\left\{ \begin{array}{ll} \varDelta _{evn}^0\cup \varDelta _{evn}^1 &{}\text { if}\ (5)\ \text {is satisfied } \\ \{ d_1\cdots d_{2n} \vert n \in \mathbb {N}\} &{} \text { if}\ d_{2i}< d_1 , \forall i \in \mathbb {N}^* \end{array}\right. }. \end{aligned}$$
(22)

Lemma 2

For all \( (k_1, \cdots , k_t) \in \mathbb {N}^{*t}\), \( 1 \le n \le p_{k_t}\), \(p_{k_i} < 2n_{k_{i+1}}-1\) with \( 1 \le i \le t-1\),

$$\begin{aligned} B_{k_1}\cdots B_{k_t}d_1 \cdots d_n \in \varDelta _{evn}. \end{aligned}$$

Proof

It is enough to see that for \( 1 \le n \le p_i \), for all \( i \in \mathbb {N}^{*}\),

$$\begin{aligned} d_1\cdots d_{2n_i-1+n} = d_1 \cdots d_{2n_i-1}d_1\cdots d_n. \end{aligned}$$

If n is odd, \( 2n_i-1+n \) is even and then, \( d_1 \cdots d_{2n_i-1+n} \in \varDelta _{evn}^{0} \subset \varDelta _{evn}\).

If n is even, \( d_1 \cdots d_{2n_i-1+n} \) can be seen as a concatenation of \( d_1\cdots d_{2n_i-1} \) and \( d_1 \cdots d_n \). So,

$$\begin{aligned} d_1 \cdots d_{2n_i-1+n} = d_1 \cdots d_{2n_i-1}d_1\cdots d_n \in \varDelta _{evn}^1 \subset \varDelta _{evn}. \end{aligned}$$

\(\square \)

From Lemma 2, we can see \( \varDelta _{evn} \) as the set of admissible concatenations of words of the type \( B_i \) eventually extended at right by \( d_1 \cdots d_n \) with n even. So, if x is an admissible word:

  • x begins by a word of \( \mathfrak {C}\), or

  • x is an admissible concatenation of words of the type \( d_1\cdots d_{2k+1} \) eventually extended at right by \( d_1\cdots d_{2n}\).

If we set

$$\begin{aligned} D= & {} \left\{ xy \vert x\in \varDelta _{odd}^*\cup \{\varepsilon \}, \ y \in \varDelta _{evn} \right\} \nonumber \\= & {} \left\{ x y | x \in \varDelta _{odd}, \ y \in D \right\} \cup \varDelta _{evn}, \end{aligned}$$
(23)

then, the language \( L_{\beta }\) is given by:

$$\begin{aligned} L_{\beta }=\left\{ u v \vert u \in \mathfrak {C}, v \in L_{\beta }\right\} \cup D. \end{aligned}$$
(24)

Remark 3

From Theorem 3 of [9], if \( \beta > \gamma _0\) (that is \((d_i)_{i \ge 1} \prec 1\overline{0}\)), all sequence between \( d_1\overline{(d_1-1)0} \) and \( \overline{(d_1-1)0} \) cannot be an expansion of \(-\,\frac{\beta }{\beta +1} \) for some \( \beta > 1\) except \(\overline{d_1}\). Then, there exists \( y \in \varGamma _1\) such that \( \vert y \vert \ge 2\). Indeed,

$$\begin{aligned} \left[ (d_i)_{i \ge 1} = d(l_\beta , -\,\beta )\text { and } \beta > \gamma _0 \right] \Rightarrow (d_i)_{i \ge 1} \prec d_1\overline{(d_1-1)0}. \end{aligned}$$

So, we can find \( n\in \mathbb {N}\) such that \( d_1\overline{(d_1-1)0}^n \) or \( d_1\overline{(d_1-1)0}^n(d_1-1) \) belongs to \(\varGamma _1\).

Theorem 2

Let \( \beta > \gamma _0 \) and \( d(-\,\frac{\beta }{\beta +1}, -\,\beta ) = (d_i)_{i \ge 1}\). We assume that \((d_i)_{i \ge 1}\) is not periodic with odd period. Then for all n, \( d_1 \cdots d_n \in L_{\mathfrak {C}^*}\).

Lemma 3

Let \( \beta > 1 \). We assume that \((d_i)_{i\ge 1} = d(l_{\beta }, -\,\beta ) \) is not periodic with odd period and it satisfies (5). If there exists an integer \( i_0 \) such that for all \(t \ge i_0 \), \( d_{2n_t} \cdots d_{2n_{t+1}-1} \preceq d_{2n_{i_0}} \cdots d_{2n_{i_0+1}-1} \), then

$$\begin{aligned} d_1 \cdots d_{2n_{i_0}-1} \overline{ d_{2n_{i_0}} \cdots d_{2n_{i_0+1}-1}} \preceq (d_i)_{i \ge 1} \prec \overline{d_{2n_{i_0}} \cdots d_{2n_{i_0+1}-1}}. \end{aligned}$$
(25)

Proof

We set \( u = d_1 \cdots d_{2n_{i_0}-1} \) and \( v = d_{2n_{i_0}}\cdots d_{2n_{i_0+1}-1} \). Since \( (d_i)_{i \ge 1} \) is not periodic with odd period, we have \( u \prec v \). Since \((d_i)_{i \ge 1} \) starts by u, it becomes obvious that \( (d_i)_{i \ge 1} \prec \overline{v}\).

If \((d_i)_{\ge 1} \ne u \overline{v} \), \( (d_{i})_{i \ge 2n_{i_0}} \ne \overline{v}\). There exists a non negative integer m such that

$$\begin{aligned} (d_i)_{i \ge 2n_{i_0}} = {\left\{ \begin{array}{ll} v^m d_{2n_{t}}\cdots d_{2n_{t+1}-1}d_{2n_{t+1}} \cdots d_{2n_{t+2}-1} \cdots \\ d_{2n_{t}}\cdots d_{2n_{t+1}-1} \prec v. \end{array}\right. } \end{aligned}$$
(26)

Since the length of v is even, it follows that \( (d_i)_{i \ge 2n_{i_0}}\prec \overline{v}\). We obtain the result by adding at left of both words \( u = d_1 \cdots d_{2n_{i_0}-1} \) which is of odd length \( 2n_{i_0}-1 \) and using the property of the alternating order given in (1). \(\square \)

Proof of Theorem 2

From Remark 3, if \( \beta > \gamma _0\), \( \varGamma _1 \) contains at least one word y such that \( \vert y \vert \ge 2 \).

If \( d_{2i} < d_1 \) for all \(i\ge 1\), \( d_1 \cdots d_{2n-1} y \in \mathfrak {C}\) for all \( n \in \mathbb {N}^{*}\) and \( y \in \varGamma \) with \( \vert y \vert \ge 2\). Thus, for all \( n \in \mathbb {N}^{*} \), \( d_1 \cdots d_n \) is the beginning of a word of \( \mathfrak {C}\).

We assume (5) satisfied and \((d_i)_{i\ge 1} \) is not periodic with odd period. Suppose \( d_1\cdots d_n \notin L_{\mathfrak {C}^*}\).

Let \(k_0\) be the smallest integer such that \( d_1\cdots d_{k_0} \notin L_{\mathfrak {C}^*} \) and \( i> 0\) such that \( 2n_{i}-1 \le k_0 < 2n_{i+1}-1\). Note that for all \( n \ge k_0\), \( d_1 \cdots d_n \notin L_{\mathfrak {C}^*}\). Then, for all \( t \ge i \), \( d_1 \cdots d_{p_t}d_{2n_t+p_t}\) and \( d_1 \cdots d_{p_t+1}\) are consecutive (with respect to the alternating order). It follows that

$$\begin{aligned} d_{2n_t+p_t} = d_{p_t+1}-(-1)^{p_t} , \end{aligned}$$
(27)

otherwise, \( d_1 \cdots d_{2n_t+p_t-1}(d_{p_t+1}-(-1)^{p_t}) \in \mathfrak {C}\). Also, there does not exist an integer k such that \(2n_t+p_t \le 2k-1 < 2n_{t+1}-1 \), otherwise \( d_1 \cdots d_{2k-1} y \in \mathfrak {C}\) for all \( y \in \mathfrak {C}\) with \( \vert y \vert \ge 2 \). Therefore

$$\begin{aligned} 2n_{t+1}-1 = {\left\{ \begin{array}{ll} 2n_t+p_t &{}\text { if}\ p_t\ \text {is odd }\\ 2n_t+p_t+1 &{}\text { if}\ p_t\ \text {is even}. \end{array}\right. } \end{aligned}$$

If \( p_t\) is even, \( d_{2n_t+p_t+1} = 0 \), otherwise \( d_1\cdots d_{2n_t-1}d_1\cdots d_{p_t}d_{2n_t+p_t}0 \in \varGamma _1 \subset \mathfrak {C}\). So

$$\begin{aligned} d_1\cdots d_{2n_{t+1}-1}= {\left\{ \begin{array}{ll} d_1\cdots d_{2n_t-1}d_1\cdots d_{p_t}(d_{p_t+1}+1) &{}\text { if}\ p_t\ \text {is odd }\\ d_1\cdots d_{2n_t-1}d_1\cdots d_{p_t}(d_{p_t+1}-1)0 &{}\text { if}\ p_t\ \text {is even }. \end{array}\right. } \end{aligned}$$
(28)

Observe that if \( d_1 \cdots d_{p_t + 1}\) is the beginning of a word of \( \mathfrak {C}\), automatically \( d_1 \cdots d_{2n_t-1} d_1 \cdots d_{p_t+1}\) is the beginning of a word of \(\mathfrak {C}\). Thus, \( d_1 \cdots d_{2n_t-1} \not \in L_{\mathfrak {C}^*}\) implies that \( d_1 \cdots d_{p_t+1} \not \in L_{\mathfrak {C}^*}\). Since \((d_i)_{i \ge 1}\) is not periodic with odd period, \( p_i < 2n_i-1\). But, \( k_0\) is supposed to be greater than \( 2n_i - 1\). Thus we have \(p_i < k_0\), and then for any integer \( t \ge i \), \( p_i < k_0 \le p_t +1\). That is \( p_i \le p_t \). In particular \( p_i < 2n_i-1 \le k_0 \le p_i+1\) (and then, \( p_i+1 = 2n_{i}-1\)).

If \( p_t = p_i \), (28) requires \( d_{2n_i} \cdots d_{2n_{i+1}-1}= d_{2n_t} \cdots d_{2n_{t+1}-1} \). If \( p_t> p_i \), we have

$$\begin{aligned} d_{2n_t} \cdots d_{2n_{t+1}-1} \prec d_{2n_i} \cdots d_{2n_{i+1}-1}. \end{aligned}$$

Then,

$$\begin{aligned} d_1\cdots d_{p_i}d_{p_i+1}d_{p_i+2} = d_1\cdots d_{2n_i-2}d_{2n_i-1}d_1. \end{aligned}$$

We set

$$\begin{aligned} U_0&= d_1\cdots d_{2n_i-1} \\ V_0&= d_{2n_i} \cdots d_{2n_{i+1}-1} = d_1 \cdots d_{p_i}d_{2n_i+p_i} \cdots d_{2n_{i+1}-1}. \end{aligned}$$

\( V_0 \) is such that:

$$\begin{aligned} V_0 =d_1 \cdots d_{2n_i-2}(d_{2n_i-1}-1)0. \end{aligned}$$
(29)

From Lemma 3, \( U_0 \overline{V_0}\preceq (d_i)_{i \ge 1} \prec \overline{V_0}\). From Proposition 9 and Theorem 3 of [9], the unique sequence between \(U_0\overline{V_0} \) and \( \overline{V_0}\) which is the \((-\,\beta )\)-expansion of \(l_{\beta }\), for some \( \beta > \gamma _0\) is \( \overline{U_0}\). This is absurd, since \( (d_i)_{i \ge 1 } = d(l_{\beta }, -\,\beta )\) is supposed to be non-periodic with odd period and because \((d_i)_{i \ge 1} \) starts by \( U_0\). Then the assumption \( n \ge 2n_i-1\), \(d_1 \cdots d_n \) is not the beginning of a word of \( \mathfrak {C}\) is inaccurate. \(\square \)

From Proposition 9 of [9], when \( \overline{V_0} \prec 1\overline{0} \), the sub-shift of infinite words for which all sub-words is bigger than \( U_0 \overline{V_0} \) and the sub-shift of infinite words for which all sub-words is bigger than \(\overline{V_0} \) have the same entropy. We denote by \( \psi \) the map from \( \{U_0, V_0 \} \) into \( \{U_0, V_0 \}^* \) defined by \(\psi (U_0) = U_0V_0 = U_1 \) and \( \psi (V_0) = U_0U_0 = V_1 \). The limit of non-periodic infinite words \((d_i)_{i \ge 1} \) such that \(U_0 \overline{V_0} \preceq (d_i)_{i \ge 1} \preceq \overline{V_0} \) and \( (d_i)_{i\ge 1} \prec (d_{i})_{i \ge k } \) for all \( k > 1 \) (not necessary the \((-\,\beta )\)-expansion of \( l_{\beta } \) for some \( \beta > \gamma _0\)) is \( \psi ^{\infty }(U_0) = \lim \nolimits _{n \mapsto \infty } \psi ^n(U_0) \).

$$\begin{aligned} \psi ^{\infty }(U_0) = U_0V_0U_0U_0U_0V_0U_0V_0U_0V_0U_0U_0U_0V_0U_0U_0\cdots . \end{aligned}$$
(30)

In fact, if \( \psi ^{\infty }(U_0) \prec (d_i)_{i \ge 1} \prec \overline{V_0}\), then there exists \( n \in \mathbb {N}^* \) such that \((d_i)_{i \ge 1} = \overline{\psi ^n(U_0)} \).

If \( U_0 = d_1 \cdots d_{2n_i-1} = 1 \), \( V_0 = 00 \), \( \beta \le \gamma _0\).

$$\begin{aligned} \psi ^{\infty }(1) = 1001110010010011100111001110010010011100100\cdots . \end{aligned}$$

In this case, the \((-\,\beta )\)-expansion of \( l_{\beta }\) is between \(U_0 \overline{V_0} = 1 \overline{00}\) and \( \psi ^{\infty }(1)\).

$$\begin{aligned} \psi ^{\infty }(1) = \lim \limits _{ \beta \mapsto 1} d(l_{\beta }, -\,\beta ). \end{aligned}$$

Lemma 4

Let \( \beta \) be a real number bigger than the golden ratio \(\gamma _0\) and \( d(l_\beta , -\,\beta ) \) non-periodic with odd period. Then, the \((-\,\beta )\)-shift \( S_{-\,\beta } \) is coded by \( \mathfrak {C}\).

Proof

Suppose \( \beta > \gamma _0\). Then, \( \mathfrak {C}\) is a prefix code. From Theorem 2, for all \( n \in \mathbb {N}^* \), \( d_1 \cdots d_n \in L_{\mathfrak {C}^*}\). It follows that \( D \subset L_{\mathfrak {C}^*} \). To conclude, it suffices to observe that (since the empty word \(\varepsilon \) belongs to D):

$$\begin{aligned} \{ x y | x \in \mathfrak {C}, y \in L_{\beta }\} = \{ x y | x \in \mathfrak {C}^{*} \text { and} \ y \in D \}. \end{aligned}$$

\(\square \)

From the proof of Theorem 2, if \( \beta > \gamma _0 \) and \(d(l_{\beta }, -\,\beta ) = \overline{d_1 \cdots d_{2n_i-1} }\), we have \( d_{2n_i-1}\ne 0 \) and the word \( d_1\cdots d_{2n_i-1}\) is intransitive. The \((-\,\beta )\)-shift, as defined in (3), is not coded, but contains a coded sub-shift: the dynamical system of words for which, in the meaning of alternating order, all sub-word is bigger than \( \overline{d_1\cdots d_{2n_i-2}(d_{2n_i-1}-1)0}\). Moreover, both systems have the same entropy (see [9]).

If we consider the definition of the \( (-\,\beta )\)-shift given in the introduction in the case where \( \beta \) is integer, that is, the expansion of \( -\,\frac{\beta }{\beta +1} \) is periodic with period 1, we obtain

$$\begin{aligned} S_{-\,\beta } = \left\{ (x_i)_{i \in \mathbb {Z}}; \overline{\beta } \preceq (x_i)_{i \ge n} \preceq \overline{(0, \beta -1)}, \forall n \right\} . \end{aligned}$$

But in this special case, the definition given by S. Ito and T. Sadahiro is

$$\begin{aligned} S_{-\,\beta } = \left\{ (x_i)_{i \in \mathbb {Z}}; \overline{(\beta -1,0)} \preceq (x_i)_{i \ge n} , \forall n \right\} . \end{aligned}$$
(31)

In fact, all sequence \( (x_i)_{i \in \mathbb {Z}} \) of \( S_{-\,\beta } \) satisfies, for all n

$$\begin{aligned} \lim \limits _{ y \rightarrow l_{\beta }^+}d(y, -\,\beta ) \preceq x_nx_{n+1}\cdots \preceq \lim \limits _{ y \rightarrow r_{\beta }^-}d(y, -\,\beta ) \end{aligned}$$
(32)

with \( l_{\beta } = -\,\frac{\beta }{\beta +1} \) and \( r_{\beta } = \frac{1}{\beta +1} \). Using Lemma 6 of [6], \(\lim \nolimits _{ y \rightarrow l_{\beta }^+}d(y, -\,\beta )= \overline{(\beta -1,0)} \) and \( \lim \nolimits _{ y \rightarrow r_{\beta }^-}d(y, -\,\beta ) = \overline{(0, \beta -1)} \). In this form, \( S_{-\,\beta } \) is coded. Generally, the symbolic dynamical system \(S_{-\,\beta } \) contains a sub-shift coded by a prefix code and which is the support of the maximal entropy measure. When \( d(l_\beta , -\,\beta )\) is periodic with odd period \( 2n-1\), we introduce the sub-shift \(\tilde{S}_{-\,\beta } \) (corrected \((-\,\beta )\)-shift) defined by:

Definition 7

$$\begin{aligned} \tilde{S}_{-\,\beta } = \left\{ (x_i)_{i \in \mathbb {Z}} ; d_1^*d_2^*\cdots \preceq x_k x_{k+1} \ldots , \forall k \right\} \end{aligned}$$

with

$$\begin{aligned} (d_{i}^{*})_{i \ge 1} = {\left\{ \begin{array}{ll} \overline{(d_1, \ldots , d_{2n-2}, d_{2n-1}-1, 0)} &{}\text { if}\ (d_i)_{i \ge 1} = \overline{(d_1, \ldots , d_{2n-1} )}\\ (d_i)_{i \ge 1} &{}\text { otherwise }. \end{array}\right. } \end{aligned}$$

Using Lemma 6 of [6], we see easily that \((d_1^*,d_2^*, \ldots )= \lim \nolimits _{ x \rightarrow l_{\beta }^+}d(x, -\,\beta )\) (corrected \((-\,\beta )\)-expansion of \( l_{\beta }\)).

All real has a representation in \(\tilde{S}_{-\,\beta } \) since \(\sum \nolimits _{i\ge 1}\frac{d_i^{*}}{(-\,\beta )^i} = l_\beta \) (see the proof of Proposition 8 of [9]). We find more convenient to use \(\tilde{S}_{-\,\beta }\) as \((-\,\beta )\)-shift instead of \( S_{-\,\beta }\). In fact, the sequence \((d_i^*)_{i \ge 1}\) plays the role of \(0.9999999\cdots \) in base 10. For instance, \(0.9999999\cdots \) is the representation of 1 in base 10.

$$\begin{aligned} 1= 0.9999999999\cdots \end{aligned}$$

Now, we are ready to yield the proof of Theorem 1.

Proof of Theorem 1

When \( \beta = \gamma _0\), it is easy to see that the system is coded by \(\varDelta _{odd} = \{1, 100, 10000, \ldots \}\). But this code is not optimal. Indeed, this language is obtained owing to two words: 1 and 00. Thus, we code \(S_{\gamma _0}\) by \( \{1, 00\}\). To complete the proof of Theorem 1, it is enough to use Lemma 4 and Proposition 1. \(\square \)

From Theorem 1, \(\tilde{S}_{-\,\beta }\) is a coded (by \(\mathfrak {C}\) defined in (19)) if only if \( \beta \ge \gamma _0\). Throughout the rest of this paper, we focus our interest in the study of \(\tilde{S}_{-\,\beta }\) instead of \( S_{-\,\beta }\).

2.3 Recurrent positive code

We have seen in the previous subsection that when \( \beta > \gamma _0\), the symbolic dynamical system \( \tilde{S}_{-\,\beta }\) is coded by the language \( \mathfrak {C}\) and D is a subset of \( L_{\mathfrak {C}^*} \). In fact, \(\tilde{S}_{-\,\beta }\) can be seen as the support of the maximal entropy measure. If furthermore \( d_{2i} < d_1 \) for all integer \( i > 0\), \( \mathfrak {C}\) and \(\varDelta _{odd} \) allow us to characterize words of \( L_{\beta }\).

When (5) is satisfied, it becomes increasingly unclear because of the non admissibility of certain concatenations of \( B_i\) (see Remark 2). In particular, for \( \beta < \gamma _0\), we know that \(\tilde{S}_{-\,\beta }\) (and then \( S_{-\,\beta }\)) is not transitive and \(\mathfrak {C}= \{0\}\). This implies that the support of the maximal entropy measure is included in D. It may asked: what is this support? With a view to determining this support, we study in detail hereafter the conditions of admissibility of product of \( B_i \) and also, we get another formulation of the set D. We exhibit different codes for the writing of these concatenations. If a language \( \varOmega \) is one of these codes, any concatenation in \( \varOmega \) is admissible.

Remark 4

Let \( X=B_{k_1}\cdots B_{k_m} \) be an admissible word of a code, \( X X \in L_{\beta }\). From Remark 2, \( p_{k_i} \le 2n_{k_{i+1}}-1\) with \( 1\le i \le m-1\), and \( p_{k_m} \le 2n_{k_1}-1\). If \( 2n_i-1 < p_{t_m} \le 2n_{i+1}\) for some i, X can be extended at right by any word starting by \( B_{i+1}\).

We set

$$\begin{aligned} J(0) = \{ t, p_t \le 2n_1-1 \}, \end{aligned}$$
(33)

and for all \( i \ge 1 \),

$$\begin{aligned} J(i) = \{ t, 2n_i-1 \le p_t < 2n_{i+1}-1 \} . \end{aligned}$$
(34)

Let \( \varDelta ^{(i)}\) be the sets such that:

$$\begin{aligned} x \in \varDelta ^{(i)} \Longleftrightarrow {\left\{ \begin{array}{ll} x = B_{t_1}\cdots B_{t_m}, \\ p_{t_k} \le 2n_{t_{k+1}}-1, p_{t_m}< 2n_{t_1}-1 \\ t_m \in J(i), \\ t_k \in J(l) \text { for}\ k\ne m\ \text {and}\ l \ge i+1. \end{array}\right. } \end{aligned}$$
(35)

Let us explain a little bit the definition of the set \(\varDelta ^{(i)}\). Consider an element \( x =B_{t_1}\cdots B_{t_m}\) of \(\varDelta ^{(i)}\).

  • The condition \( t_k \in J(l) \) with \( l \ge i+1\) involves that \( t_k \not \in J(i)\) and then x cannot be a concatenation of words of \(\varDelta ^{(i)}\). That is \( \varDelta ^{(i)}\) is a (prefix or suffix) code.

  • \( p_{t_k} \le 2n_{t_{k+1}}-1 \) allows to have x admissible, but when \(p_{t_m}< 2n_{t_1}-1\), the word generates a periodic expansion.

  • For the condition \( l \ge i + 1\), if we suppose \( t_1 \in J(l) \) with \( l < i \), the word \( B_{t_2}\cdots B_{t_m}B_{t_1} \in \varDelta ^{(l)}\) and it is a result of a permutation of x. In fact, if \( t_1 \in J(l) \) with \( l < i \), x is a word of the language of the free monoid generated by \( \varDelta ^{(l)}\). Thus \( l \ge i+1\) ensures the fact that two words \( x \in \varDelta ^{(i)}\) and \( y \in \varDelta ^{(i)}\) cannot generate the same periodic orbit.

From Remark 2, \( (\varDelta ^{(i)})^* \subset L_{\beta }\).

Lemma 5

Let \( x \in \varDelta ^{(i)} \) and \( y \in \varDelta ^{(j)}\), with \( i \le j \). Then, \( xy \in L_{\beta }\).

Proof

Let \( x = B_{t_1}\cdots B_{t_s} \in \varDelta ^{(i)} \) and \( y = B_{t_{s+1}}\cdots B_{s+m}\in \varDelta ^{(j)} \). From (35), \(2n_i-1<p_{t_s} < 2n_{i+1}-1\). Since \( n_{t_{s+1}} \ge n_{n_{j+1}}\), we have

$$\begin{aligned} i \le j \Rightarrow 2n_{t_{s+1}}-1 \ge 2n_{j+1}-1 \ge 2n_{i+1}-1 > p_{t_s} \end{aligned}$$

and we find hence that \( xy \in L_{\beta }\). \(\square \)

Now, we know the different sub-languages necessary to characterize words of \( L_{\beta }\): \( \mathfrak {C}\), \( \varDelta _{odd} \), \( \varDelta ^{(i)}\) for all \( i \in \mathbb {N}^*\) if the corrected \((-\,\beta )\)-expansion of \(l_{\beta }\) satisfies (5); or \( \mathfrak {C}\) and \( \varDelta _{odd} \) if (5) does not hold.

Let \( \beta \) be a real number bigger than 1. In the previous paragraph, we constructed a prefix code of the \((-\,\beta )\)-shift. But, if a code is recurrent positive, it is more interesting above all if the system is intrinsically ergodic with entropy \( \log \beta \). Start by giving the following definition:

Definition 8

Let X be a symbolic dynamical system and \( t = t_1 \cdots t_n \) a word of \(L_X\). We denotes by [t] , the set of infinite words \((x_i)_{i \ge 1} \) starting by t. That is:

$$\begin{aligned} x_1x_2\cdots x_n= t_1t_2 \cdots t_n. \end{aligned}$$

Consider a symbolic dynamical system X. In fact, the existence of a recurrent positive prefix code \( \mathfrak {C}\) implies that there exists a probability measure \( \nu \) on the space \(W(\mathfrak {C})\), closure \(\mathfrak {C}^{\mathbb {Z}}\) defined as:

$$\begin{aligned} \nu ([x]) = \frac{1}{\beta ^{\vert x \vert }}, \text { for all}\ x \in \mathfrak {C}, \end{aligned}$$

with \( \log \beta \) the entropy of X endowed with the shift. We have \(W(\mathfrak {C}) = \bigcup \nolimits _{x \in \mathfrak {C}}[x] \); for \((x,y)\in \mathfrak {C}^2 \), \( x\ne y\), \( [x] \cap [y] = \varnothing \). Thus,

$$\begin{aligned} \nu (W(\mathfrak {C}))&= \sum \limits _{x \in \mathfrak {C}} \nu ([x]) \\&= \sum \limits _{x \in \mathfrak {C}} \frac{1}{\beta ^{\vert x \vert }} \\&= 1. \end{aligned}$$

The entropy \( h_{\nu }\) of the probability \(\nu \) is:

$$\begin{aligned} h_{\nu }&= -\, \sum \limits _{x\in \mathfrak {C}} \nu ([x])\log \nu ([x]) \\&= \left( \sum \limits _{x\in \mathfrak {C}} \frac{ \vert x \vert }{\beta ^{\vert x \vert }}\right) \log \beta . \end{aligned}$$

This expression exists since \( \sum \nolimits _{x\in \mathfrak {C}} \frac{ \vert x \vert }{\beta ^{\vert x \vert }} < +\, \infty \) when the code is recurrent positive. Thus, the maximal entropy measure \( \mu \) is given by:

$$\begin{aligned} \mu = \left( \sum \limits _{x\in \mathfrak {C}} \frac{ \vert x \vert }{\beta ^{\vert x \vert }}\right) ^{-1} \nu . \end{aligned}$$

See for example [2, 4] for more explanations.

Using the formal power series, the following result establishes a link between \( L_{\beta }\), \(\varDelta _{odd}\) and \( \varDelta ^{(i)}\), \( i \ge 1\).

Theorem 3

Let \( \beta \) be a real number (\(\beta > 1\)), \( L_{\beta }\) the language of the corrected \((-\,\beta )\)-shift \(\tilde{S}_{-\,\beta }\), \(\mathfrak {C}\), \( \varDelta _{odd}\) and \(\varDelta ^{(i)}\) be the sets defined in (19), (17), and (35) respectively. In the meaning of the formal power series, we have the following relations:

$$\begin{aligned} \sum \limits _{n \ge 0}z^n= ( 1+z)\left( 1-\sum \limits _{x\in \mathfrak {C}}z^{\vert x \vert }\right) \left( 1-\sum \limits _{x \in \varDelta _{odd}}z^{\vert x \vert }\right) \prod \limits _{i \ge 1}\left( 1-\sum \limits _{x \in \varDelta ^{(i)}}z^{\vert x \vert }\right) \sum \limits _{x \in L_{\tilde{S}_{-\,\beta }}}z^{\vert x \vert } \end{aligned}$$
(36)

if (5) occurs, or

$$\begin{aligned} \sum \limits _{n \ge 0}z^n= \left( 1+z\right) \left( 1-\sum \limits _{x\in \mathfrak {C}}z^{\vert x \vert }\right) \left( 1-\sum \limits _{x \in \varDelta _{odd}}z^{\vert x \vert }\right) \sum \limits _{x \in L_{\beta }}z^{\vert x \vert } \end{aligned}$$

if \( d_{2i}^* < d_1^* \), \( \forall i \in \mathbb {N}^* \) and where \((d_i^*)_{i \ge 1}\) is the corrected \((-\,\beta )\)-expansion of \(l_{\beta } = -\,\frac{\beta }{\beta +1}\).

Proof

In the following, \( H_n\), \(c_n\), \( a_n \) and \( \delta _n \) denote respectively the number of words of length n in \( L_{\beta }\), \( \mathfrak {C}\), \( \varDelta _{odd}\) and D (given in (23)).

We have seen that a word of \( \mathfrak {C}\) can be extended at right by any word of \( L_{\beta }\). Therefore, at right of a word of \( \varDelta _{odd} \) can be added any word of D. So, from (24)

$$\begin{aligned} \sum \limits _{n \ge 0} H_nz^n = \left( \sum \limits _{n \ge 1}c_nz^n \right) \sum \limits _{n \ge 0} H_nz^n +\sum \limits _{n \ge 0} \delta _n z^n. \end{aligned}$$
(37)

Let us explain a little bit the equation above. The coefficients of the formal power series \( \left( \sum \nolimits _{n \ge 1}c_nz^n \right) \sum \nolimits _{n \ge 0} H_nz^n\) count admissible finite sequence starting by a word of \( \mathfrak {C}\).

We denote by \( \sum \nolimits _{n \ge 1} b_{i,n}z^n \) the formal power series for which the coefficients count the words of \(\varDelta _{evn}\) which start by a word of \( \varDelta ^{(j)}\) with \(j\ge i\). So, the coefficients of \( \sum \nolimits _{n \ge 1} b_{0,n}z^n\) count all words of \( \varDelta _{evn}\).

$$\begin{aligned} \sum \limits _{n \ge 0} \delta _nz^n = \left( \sum \limits _{n \ge 1} a_n z^n\right) \left( \sum \limits _{n \ge 0} \delta _nz^n \right) +\sum \limits _{n \ge 1} b_{0,n}z^n+1. \end{aligned}$$
(38)

This equation means that in D, we have admissible strings starting by words of \( \varDelta _{odd} \) and those belonging to \(\varDelta _{evn}\). We set

$$\begin{aligned} \sum \limits _{x\in \varDelta ^{(i)}}z^{\vert x \vert } = P_i. \end{aligned}$$

From Lemmas 2, 5 and Remark 4

$$\begin{aligned} \sum \limits _{n \ge 1}b_{0,n}z^n= {\left\{ \begin{array}{ll} \sum \limits _{n \ge 1}z^{2n} +\sum \limits _{n \ge 1}b_{1,n}z^n &{}\quad \text { if}\ (5)\ \text {occurs }; \\ \sum \limits _{n \ge 1} z^{2n} &{}\quad \text { if}\ d_{2i}^* < d_1^* , \forall i \end{array}\right. } \end{aligned}$$
(39)

and for all \(i\ge 1\),

$$\begin{aligned} \sum \limits _{n \ge 1}b_{i,n}z^n= P_{i}\left( \sum \limits _{n \ge 0}z^{2n}+\sum \limits _{n \ge 1}b_{i,n}z^n\right) +\sum \limits _{n \ge 1}b_{i+1,n}z^n. \end{aligned}$$
(40)

From (38), (39) and (40), we have

$$\begin{aligned} \sum \limits _{n \ge 0}z^{2n}= {\left\{ \begin{array}{ll} \left( 1-\sum \limits _{n \ge 1}a_nz^n\right) \prod \limits _{i \ge 1}(1-P_i)\sum \limits _{n\ge 0}\delta _nz^n &{}\quad \text { if}\ (5)\ \text {occurs }\\ \left( 1-\sum \limits _{n \ge 1}a_nz^n\right) \sum \limits _{n\ge 0}\delta _nz^n &{}\quad \text { if}\ d_{2i}^* < d_1^* , \forall i \in \mathbb {N}^* \end{array}\right. } \end{aligned}$$
(41)

Thus, to obtain (36), it is enough to multiply (41) by \( 1+z \) and use (37). \(\square \)

The following corollaries are the consequences of Theorem 3 and Lemma 1 of [9].

Corollary 1

In the disk \( b(0, \frac{1}{\beta })\) of center 0 and radius \(\frac{1}{\beta } \), we have:

$$\begin{aligned}&1-\sum \limits _{n \ge 1} (d_{n-1}^*-d_n^*)(-z)^n\nonumber \\&\quad =(1+z) \left( 1-\sum \limits _{x \in \mathfrak {C}}z^{\vert x \vert }\right) \left( 1-\sum \limits _{x \in \varDelta _{odd}} z^{\vert x \vert }\right) \prod \limits _{i \ge 1} \left( 1-\sum \limits _{x \in \varDelta ^{(i)}} z^{\vert x \vert }\right) \end{aligned}$$
(42)

with \(\sum \nolimits _{x \in \varDelta ^{(i)}} z^{\vert x \vert } = 0\) when \(d_{2i}^*<d_1^*\) for all \( i \ge 1\).

Proof

Let \( H_n \) be the number of words of length n in \( L_{\beta }\). From [9], we know that the formula for the factor complexity of the corrected \( (-\,\beta )\)-shift (or the language \(L_{\beta }\)) is given by:

$$\begin{aligned} H_n = \sum \limits _{k=1}^{n}(-1)^k(d_{k-1}^*-d_k^*)H_{n-k} + 1 \end{aligned}$$

with \( (d_i)_{i \ge 1}=d(l_{\beta }, -\,\beta )\), \( d_0 = 0 \) and \( H_0 = 1\). By simple calculus in the sense of power formal series,

$$\begin{aligned} \sum \limits _{x\in L_{\tilde{S}_{-\,\beta }}}z^{\vert x \vert } = \dfrac{\sum \nolimits _{n \ge 0}z^n}{1-\sum \nolimits _{n \ge 1}(-1)^n(d_{n-1}^*-d_n^*)z^n}. \end{aligned}$$

We conclude by using Theorem 3. \(\square \)

Corollary 2

The expansion \(d(l_{\beta },-\,\beta )\) is supposed to be periodic with odd period \( 2p-1\). Then, in the sense of formal power series,

$$\begin{aligned} \sum \limits _{x \in L_{\beta }}z^{\vert x \vert } =\dfrac{(1-z^{2p})\sum \nolimits _{n \ge 0}z^n}{1-\sum \nolimits _{n \ge 1}(-1)^n(d_{n-1}-d_n)z^n} . \end{aligned}$$
(43)

Proof

Any word \((x_i)_{i \ge 1}\) in the \((-\,\beta )\)-shift \( S_{-\,\beta }\) satisfies

$$\begin{aligned} (d_i)_{i \ge 1} \preceq (x_{i + n})_{i\ge 1} \preceq (d_{i-1}^*)_{i \ge 1}, \forall n \in \mathbb {N}. \end{aligned}$$

According to Lemma 1 of [9], the formula for the factor complexity of the \((-\,\beta )\)-shift is:

$$\begin{aligned} \tilde{H}_n =\sum \limits _{k=1}^{n}(-1)^k(d_{k-1}^*-d_k)\tilde{H}_{n-k} + 1 \end{aligned}$$
(44)

where \( \tilde{H}_n \) denotes the number of words of length n in the language of the \((-\,\beta )\)-shift. We obtain (43) by using the definition of \((d_i^*)_{i \ge 1} \) given in (2). \(\square \)

From (42) and (43), \( \sum \nolimits _{n \ge 0} H_n z^n\) and \( \sum \nolimits _{n \ge 0} \tilde{H}_n z^n \) have at pole at \(\frac{1}{\beta }\) and it is the smallest pole in modulus. In fact, \(\frac{1}{\beta }\) si the smallest zero in modulus of

$$\begin{aligned} 1-\sum \limits _{k\ge 1}(-1)^k(d_{k-1}^*-d_k)z^k \end{aligned}$$

However, if \( \beta \) is less than the golden ratio, both inclusions can not hold. Indeed, \(\mathfrak {C}= \{0\}\) and then \( L_{\mathfrak {C}^{*}} = \{ \overline{0}^{n}, n \in \mathbb {N}^{*} \} \). The support of the maximal entropy measure is coded by \( \varDelta _{odd}\) (in this case \(\sum \nolimits _{x \in \varDelta _{odd}}\frac{1}{\beta ^{\vert x \vert }}=1\)) or by \( \varDelta ^{(i)}\) for some i (and \(\sum \nolimits _{x \in \varDelta ^{(i)}}\frac{1}{\beta ^{\vert x \vert }}=1\)).

Recall that the morphism \( \psi \) on \( \{0, 1 \} \) is given by \( \psi (0) = 1 \), \( \psi (1) = 100\) and define the sequences \( (u_n)_{n \ge 0} \) and \( (v_n)_{n \ge 0}\) by \( u_0 = 1 \), \( v_0 = 00\) and for \( n \ge 1\), \(u_n= u_{n-1}v_{n-1} = \psi ^n(1) \), \( v_n = u_{n-1}u_{n-1}\). From Lemma 2 of [9], \( \vert u_n \vert \) is odd and \( \vert v_n \vert \) is even. In fact,

$$\begin{aligned} \vert u_n \vert = \vert v_n \vert + (-1)^n. \end{aligned}$$

Moreover, note that there is no word between \(u_k=u_{k-1}u_{k-2}u_{k-2} \) and \( v_k = u_{k-1}u_{k-1}\). Indeed, from the definition of \( u_k \), we observe easily that

$$\begin{aligned} u_k = {\left\{ \begin{array}{ll} u_{k-1}u_{k-2} u_{k-3}\cdots u_1 u_0 1 &{}\quad \text { if}\ k\ \text {is even,}\\ u_{k-1}u_{k-2} u_{k-3}\cdots u_1 u_0 00 &{}\quad \text { if}\ k\ \text {is odd } \end{array}\right. } \end{aligned}$$

and

$$\begin{aligned} v_k = {\left\{ \begin{array}{ll} u_{k-1}u_{k-2} u_{k-3}\cdots u_1 u_000 &{}\quad \text { if}\ n\ \text {is even,} \\ u_{k-1}u_{k-2} u_{k-3}\cdots u_1 u_0 1 &{}\quad \text { if}\ n\ \text {is odd }. \end{array}\right. } \end{aligned}$$

Let \(\gamma _n \) be the real number such that

$$\begin{aligned} d(l_{\gamma _n}, -\,\gamma _n) = u_n \overline{v_n}. \end{aligned}$$

\( \gamma _n \) is the largest number satisfying:

$$\begin{aligned} 1 = \frac{1}{\gamma _n^{\vert u_n \vert }}+\frac{1}{\gamma _n^{\vert v_n \vert }}, \end{aligned}$$

that is, \( \gamma _n \) is the largest root of \( X^{l_n} - X - 1 \), where \( l_n = max(\vert u_n \vert , \vert v_n \vert )\). The sequence \((\gamma _n)_{n \ge 0} \) decreases until 1 (see Proposition 5 and 6 of [9]) and we have \( \lim \nolimits _{n \rightarrow +\infty }d(l_{\gamma _n}, -\,\gamma _n) = \psi ^{\infty }(1)\).

The following proposition gives us a writing of \( d(l_{\beta }, -\,\beta )\) for \( \beta \) less than the golden ratio.

Proposition 2

Let \( \beta \) be a real number such that \( 1< \beta < \gamma _0\). Then, there exists a sequence of integers \( (k_i)_{i \ge 1} \) and \(n \in \mathbb {N}\) such that

$$\begin{aligned} d(l_{\beta }, -\,\beta ) = u_n \overline{v_n}^{k_1+1}u_n\overline{v_n}^{k_2}u_n \overline{v_n}^{k_3}\cdots , \end{aligned}$$
(45)

or

$$\begin{aligned} d(l_{\beta }, -\,\beta ) = u_n v_n (u_nu_n)^{k_1}v_n (u_n)^{k_2}v_n(u_n)^{k_3}v_n \cdots . \end{aligned}$$
(46)

Proof

Let \( \beta \) be a real number and suppose \( 1< \beta < \gamma _0\). Since \( (\gamma _n)_{n \ge 0} \) decreases until 1, there exists an integer n such that \( \gamma _{n+1} \le \beta < \gamma _n \). So,

$$\begin{aligned} d(l_{\gamma _n}, -\,\gamma _n) \prec d(l_{\beta }, -\,\beta ) \preceq d(l_{\gamma _{n+1}}, -\,\gamma _{n+1}). \end{aligned}$$

This means

$$\begin{aligned} u_n\overline{v_n} \prec d(l_{\beta }, -\,\beta ) \preceq u_{n}v_n\overline{u_n}. \end{aligned}$$

It is easy to see that \( u_k \prec v_k \) and there is no word between \( u_k \) and \( v_k \). In an infinite word, \(u_k \) is followed by \( v_k\) or by \( u_k \). We obtain (45) by using the fact that \( u_n\overline{v_n} \prec d(l_{\beta }, -\,\beta ) \). To obtain (46), we interpret the fact that \( d(l_{\beta }, -\,\beta ) \preceq u_{n}v_n\overline{u_n} \). \(\square \)

Ito and Sadahiro determined the unique \(T_{-\,\beta }\)-invariant measure with maximal entropy on \(I_{\beta } = [-\,\frac{\beta }{\beta +1}, \frac{1}{\beta +1} )\). Note that the structure of the one-side (right) \((-\,\beta )\)-shift endowed with the shift \(\sigma \) is transported to \(I_{\beta }\) endowed with the \((-\,\beta )\)-transformation. For \( \beta \) taken in the open interval delimited by 1 and the golden ratio, we know that the system is not coded, and then the support of the measure of maximal entropy is a coded subsystem strictly included in the \((-\,\beta )\)-shift. The images by \( T: (x_i)_{i \ge 1} \in S_{-\,\beta }^r\mapsto \sum \nolimits _{n\ge 1}\frac{x_i}{(-\,\beta )^n} \in \overline{I_{\beta }}\) of subsystems non included in the support of the intrinsic ergodic measure correspond to gaps on \( I_{\beta }\). This phenomenon has been closely studied by L. Liao and W. Steiner in [8].

The gaps on \(I_{\beta }\) are the intervals \(A_{k, i}\) defined as followed:

$$\begin{aligned} A_{k, i} = {\left\{ \begin{array}{ll} {[}s_{\vert u_k \vert +i}, s_{\vert u_k \vert + \vert u_{k-1} \vert + i} ) &{}\text { if}\ i\ \text {is even} \\ {[} s_{\vert u_k \vert + \vert u_{k-1} \vert + i}, s_{\vert u_k \vert +i} ) &{}\text { if}\ i\ \text {is odd } \end{array}\right. } \end{aligned}$$
(47)

with \( k < n \), \( i < \vert u_{k-1} \vert \) and \( s_t = T_{-\,\beta }^t(l_{\beta })\). Note that

$$\begin{aligned} u_n = u_ku_{k-1}u_{k-1}u_ku_k \cdots u_{n-2}u_{n-2}. \end{aligned}$$

From (45),

$$\begin{aligned} d(s_{\vert u_k \vert +i}, -\,\beta ) = \sigma ^i(u_{k-1})u_{k-1}u_ku_k \cdots u_{n-2}u_{n-2} \overline{v_n}^{k_1}u_n\overline{v_n}^{k_2}u_n \overline{v_n}^{k_3}\cdots \end{aligned}$$

and

$$\begin{aligned} d(s_{\vert u_k \vert + \vert u_{k-1}\vert + i}, -\,\beta ) =\sigma ^i(u_{k-1})u_ku_k \cdots u_{n-2}u_{n-2} \overline{v_n}^{k_1}u_n\overline{v_n}^{k_2}u_n \overline{v_n}^{k_3}\cdots . \end{aligned}$$

Thus, the \((-\,\beta )\)-expansions of real numbers which belong to gaps start by \( \sigma ^i(u_{k-1})u_{k-1}u_{k-1} \) or \(\sigma ^i(u_{k-1})u_ku_k\).

If \( \beta \) belongs to \( [\gamma _{n+1}, \gamma _n [ \), \(d(l_{\beta }, -\,\beta )\) satisfies (5). As given in (29)

$$\begin{aligned} v_k = {\left\{ \begin{array}{ll} d_1 \cdots d_{\vert u_k \vert -1}(d_{\vert u_k \vert }-1)0 &{}\text { if} \ d_{\vert u_k \vert } =1\\ d_1 \cdots d_{\vert u_k \vert -2}(d_{\vert u_k \vert -1}+1) &{}\text { if} \ d_{\vert u_k \vert } =0 . \end{array}\right. } \end{aligned}$$

Thus, for \( 1\le i \le n \), \( d_1 \cdots d_{2n_i-1} = u_i \) and \(d_1 \cdots d_{p_i} d_{p_i+2n_i} = v_i \) if i is odd or \( d_1 \cdots d_{p_i} d_{p_i+2n_i}0 = v_i \) if i is even.

In fact, \( \varDelta _{odd} \) or one of \( \varDelta ^{(i)}\) codes the support of the maximal entropy measure on \( S_{-\,\beta } \) endowed with the shift \( \sigma \). That is, the support is the closure of \(\varDelta _{odd}^{\mathbb {Z}}\) or \( \varDelta ^{(i_0)\mathbb {Z}}\) for some \( i_0 \).

Remark 5

We assume that (5) is satisfied. If there exists an integer i such that

$$\begin{aligned} d_1\cdots d_{n-1}(d_n+(-1)^n)\not \in L_{\beta }, \forall n , n\ge 2n_i-1 \end{aligned}$$
(48)

then, \((d_i)_{i \ge 1}\) is periodic with odd period. Indeed, at first, note that

$$\begin{aligned} d_1 \cdots d_{2n_i-1} d_1 d_2 d_3 d_4\cdots \end{aligned}$$

is the upper (with respect to the alternating order) sequence starting by the string \( d_1 \cdots d_{2n_i-1} \). Thus, for any integer n greater than \( 2n_i\), \( d_1 \cdots d_{n-1}(d_n+(-1)^n) \not \in L_{\beta }\) means that there is no word between \( d_1\cdots d_{2n_i-1} d_1 d_2 d_3 \cdots \) and \((d_i)_{i \ge 1}\). That is, for any \( n\ge 1\), \( d_n = d_{2n_i-1+n}\).

Remark 6

Let \( \beta \) be the real number such that \( \gamma _1 < \beta \le \gamma _0 \), and \((d_i)_{i \ge 1} \) is supposed to be non periodic with odd period. If \((d_i)_{i \ge 1}\) satisfied (5), \( d_2 \cdots d_{2n_1-1}\) is the longest sequence of zero. It exists in \(\varDelta _{odd}\) a word starting by \( d_1\cdots d_{2n_1-1}\). Indeed, from Proposition 2,

$$\begin{aligned} d(l_{\beta }, -\,\beta ) = 1 00 (11)^{k_1}00 (1)^{k_2}00(1)^{k_3}00 \cdots . \end{aligned}$$
  • If \( k_1\ne 0\), \( d_1\cdots d_{2n_1 - 1} = 100\) and \( 100(11)^{k_1}\in \varDelta _{odd} \).

  • If \(k_1 = 0\), we can write \((d_i)_{i \ge 1 }\) on the form

    $$\begin{aligned} (d_i)_{i \ge 1 } = 1(00)^{t_1}1(00)^{t_2}1(00)^{t_3}1\cdots , \end{aligned}$$
    (49)

    with \(t_1 \ge 2\) (we use the fact that \(d(l_{\gamma _0}, -\,\gamma _0)\prec (d_i)_{i \ge 1}\)). One has:

    $$\begin{aligned} d_1\cdots d_{2n_1-1} = 1(00)^{t_1}. \end{aligned}$$

    When \( t_3 \ne 0\), \( 1(00)^{t_1}1(00)^{t_2}1 \) belongs to \( \varDelta _{odd}\). If \( t_3 = 0\), we have

    $$\begin{aligned} 1(00)^{t_1}1(00)^{t_2}100 \in \varDelta _{odd} . \end{aligned}$$

In both cases, there exists in \(\varDelta _{odd}\) a word starting by \(d_1 \cdots d_{2n_1-1} \).

Lemma 6

Let \( \beta \) be a real number such that \( \gamma _1 < \beta \le \gamma _0 \). Then \( \varDelta _{odd}\) codes the support of the maximal entropy measure and \( \varDelta ^{(i)*} \subset L_{\varDelta _{odd}^*}\).

Proof

From Remark 5, if \( (d_i)_{i \ge 1}\) is not periodic with odd period, for any integer k, we can find \( n \ge 1 \) such that \( d_1 \cdots d_{n-1}(d_n+(-1)^n) \in L_{\beta } \).

If n is even, \( d_n+1 = 1\). That is, \( d_n = 0\). From Remark 6, there is a word \( y \in \varDelta _{odd}\) starting by \(d_1\cdots d_{2n_1-1}\). The sequence \( d_1\cdots d_{n-1}y \in L_{\varDelta _{odd}^*}\). If n is odd, \( d_n-1 = 0\). That is \( d_n = 1\). Note that, \((d_i)_{i \ge 1}\) is a concatenation of 1 and 00. The word \( d_1 \cdots d_n \) and by a string of the type \(1(00)^t1\) and \((00)^t\) is not the longest sequence of zero.

$$\begin{aligned} d_1 \cdots d_n = d_1 \cdots d_{n-2t-2}1(00)^t1. \end{aligned}$$
(50)

It follows that \(d_1 \cdots d_{n-2t-2}y \in L_{\varDelta _{odd}^*}\) since this word end by a word of \(\varDelta _{odd}\). Thus, for any admissible concatenation \( B_{k_1} \cdots B_{k_m} \), for all n, \( n \ge p_{k_m}\), \(B_{k_1} \cdots B_{k_m}d_1\cdots d_n \in L_{\varDelta _{odd}^*}\). That is \( B_{k_1} \cdots B_{k_m} \in L_{\varDelta _{odd}^*}\). \(\square \)

Lemma 7

Let \( \beta \) be a real number such that for all n in \( \mathbb {N}^*\), \(\gamma _{n+1}\le \beta < \gamma _n \), the support of the maximal entropy measure is coded by \( \varDelta ^{(n)}\).

Proof

Note that \(\varDelta _{odd}=\{1\}\), \(\varDelta ^{(i)}=\{ u_i \} \) (with \( i < n \)). Therefore, \( d(l_{\beta }, -\,\beta ) \in \{u_n, v_n \}^*\) and satisfies (46). That is

$$\begin{aligned} d(l_{\beta }, -\,\beta )= u_n^n v_n(u_nu_n)^{k_1}v_n(u_n)^{k_2}v_n(u_n)^{k_3}v_n \cdots . \end{aligned}$$

We obtain the same result as in Lemma 6 by changing the alphabet \(\{1, 00 \} \) to \(\{u_n, v_n \}\). So the language which codes the support of the maximal entropy of the \(\sigma \)-invariant measure contains \( u_n \). Thus, the right choice is \(\varDelta ^{(n)}\). For \( i > n \), \(\varDelta ^{(i)*} \subset L_{\varDelta ^{(n)*}}\). But this inclusion can not hold for \(i < n\). \(\square \)

Each set \(\mathfrak {C}\), \( \varDelta _{odd}\), \(\varDelta ^{(i)}\), \(i< n\) defines a class of words forbidden in the language of the support of the maximal entropy measure. These words are: \( u_k u_k u_ku_k \) and \(u_k u_{k+1} u_{k+2} \) with \( -1 \le k < n\) and \(u_{-1}=0\). In the one side right \((-\,\beta )\)-shift, we add \( \sigma ^i(u_k)u_ku_ku_k \) and \( \sigma ^i(u_k)u_{k+1}u_{k+2}\) (with \(i < \vert u_k \vert \)). It easy to see that one of these sequences appears in the expansion of a real taken in a gap.

3 Lap counting function

The lap counting function of a continuous map T whose consists of a finite number of monotone segments (called laps) is the formal power series

$$\begin{aligned} L_T(z) = \sum \limits _{ n \ge 0} L_n(T)z^n \end{aligned}$$
(51)

in which \( L_0(T) = 1 \) and for all \( n \ge 1 \), \( L_n(T)\) counts the number of laps of the iterate \( T^n \). This function was been introduced by Milnor and Thurston. It is another approach to computing the zeta function.

Let \( \beta > 1\). In this section, we give lap-counting function of the \((-\,\beta )\)- transformation and its classical properties. In the following, \( S_{-\,\beta }^r \) denotes the one-side right \((-\,\beta )\)-shift (\((-\,\beta )\)-representations of real belonging to \(I_{\beta }\)).

Theorem 4

Let consider a real \( \beta > 1\) and \( T_{-\,\beta }\), \((-\,\beta )\)-transformation. We set \( d(l_\beta , -\,\beta ) = (d_i)_{i \ge 1} \). Then, the lap counting function \( L_{T_{-\,\beta }} \) of \(T_{-\,\beta }\) is given by:

$$\begin{aligned} L_{T_{-\,\beta }}(z) = \dfrac{1}{(1-z)\left( 1-\sum \nolimits _{n \ge 1} (-1)^n(d^{*}_{n-1}-d^{*}_n)z^n\right) }; \end{aligned}$$
(52)

where \( (d^{*}_i)_{i \ge 1} \) is defined in (2).

Remark 7

For a fixed real non integer \( \beta > 1\), the graph of \(T_{-\,\beta }\) consists of \( \lfloor \beta \rfloor +1 \) segments. Indeed, we can see \( I_\beta \) as union of \( \lfloor \beta \rfloor +1 \) intervals \(I_k \) defined by \( I_{0} = (-\,\frac{1}{\beta }+r_\beta , r_\beta )\), \( I_k = ( -\,\frac{k+1}{\beta } + r_\beta , -\,\frac{k}{\beta }+r_\beta ]\) with \( 0< k < \lfloor \beta \rfloor -1 \), and \( I_{\lfloor \beta \rfloor } = [ l_\beta , -\,\frac{\lfloor \beta \rfloor }{\beta } +r_\beta ]\).

Lemma 8

The \((-\,\beta )\)-transformation \( T_{-\,\beta }\) is affine on each interval \( I_k \). Moreover, \( x \in I_k \) if only if \(d(x, -\,\beta )\) starts by k.

Proof

Let \( x \in I_{\beta }\).

$$\begin{aligned} x \in I_k&\Longleftrightarrow -\,\frac{k+1}{\beta } +r_\beta< x \le -\,\frac{k}{\beta } +r_\beta .\\&\Longleftrightarrow k \le -\,\beta x -l_\beta < k+1 \\&\Longleftrightarrow \lfloor -\,\beta x -l_\beta \rfloor = k. \end{aligned}$$

We set \( (x_i)_{i \ge 1} = d(x, -\,\beta ) \). We know that \( x_i =\lfloor -\,\beta T^{i-1}_{-\,\beta }(x)-l_\beta \rfloor \) (see [6]). So, we have proved that for all \( x \in I_k\), \(x_1 = \lfloor -\,\beta x - l_\beta \rfloor = k \) and \( T_{-\,\beta }(x) = -\,\beta x -k\), \( 0 \le k \le \lfloor \beta \rfloor \). \(\square \)

Note that, if \( \beta \in \mathbb {N}\), \( I_{\lfloor \beta \rfloor } = \{ l_\beta \} \). In this case, the graph of the \((-\,\beta )\)- transformation is given by \( \beta \) segments.

From the previous lemma, \( T_{-\,\beta }\) has \( \lfloor \beta \rfloor +1\) laps if \( \beta \not \in \mathbb {N}\) and \( \beta \) laps otherwise.

$$\begin{aligned} d\left( -\,\frac{k+1}{\beta }+r_\beta , -\,\beta \right) = \cdot (k+1)d_1d_2\cdots , \end{aligned}$$
(53)

with \( 0 \le k < d_1 \) and \(d(l_\beta , -\,\beta ) = (d_i)_{i\ge 1}\). It is easy to see that \( \cdot k d_1d_2\cdots \) is the maximum (with respect to the alternating order) in the family of words of \(S_\beta \) starting by k.

Throughout the rest of this section, we set \( I_{a_1a_2\cdots a_n} =\{ T_{-\,\beta }^{k-1}(x) \in I_{a_k}, 1 \le k \le n \} \).

Remark 8

Let T be the map from \( S_{-\,\beta }\) to \( I_{\beta }\) defined by

$$\begin{aligned} T((x_i)_{i \ge 1}) = \sum \limits _{n \ge 1}\frac{x_n}{(-\,\beta )^n}. \end{aligned}$$

The map T is increasing in the sense of the alternating order (see [6]). It is easy to verify that the words \(X=x_1 \cdots x_{n-1}(x_n+1)d_1 d_2 \cdots \) and \( Y=x_1 \cdots x_{n-1}x_n0d_1d_2 \cdots \) have same image by T.

Indeed,

$$\begin{aligned} T(X) - T(Y)&= \frac{1}{(-\,\beta )^n} (1+ l_\beta - r_\beta ) \\&= 0 \end{aligned}$$

We have the same result if in Remark 8, we replace \((d_i)_{i \ge 1}\) by \( (d_{i}^*)_{i \ge 1}\).

Lemma 9

Let \( I_{a_1a_2\cdots a_n} = \{ T_{-\,\beta }^{k-1}(x) \in I_{a_k}, 1 \le k \le n \} \). It is the interval of real numbers of \(I_{\beta }\) for which the \((-\,\beta )\)-expansions begins by the admissible word \( a_1a_2\cdots a_n \).

Proof

Let \( x \in I_{a_1 a_2 \cdots a_n} \). For \( 1\le k \le n \), \(T_{-\,\beta }^{k-1}(x) \in I_{a_k} \). From the previous corollary,

$$\begin{aligned} \lfloor -\,\beta T_{-\,\beta }^{k-1}(x) - l_\beta \rfloor = a_k, \end{aligned}$$
(54)

that is \(d(x, -\,\beta ) \) begins by \( a_1 a_2 \cdots a_n \).

Furthermore, consider the set of \((-\,\beta )\)-expansions of reals of \(I_{a_1 \cdots a_n }\).

  1. (a)

    If \( a_1 \cdots a_n \) ends by a word of the type \( d_1 \cdots d_{n-1}j\) with \((-1)^n(d_n - j)<0 \) and \( j \ne d_1 \), the \((-\,\beta )\)-expansions of \( I_{a_1 \cdots a_n}\) endpoints are \( a_1 a_2 \cdots a_n d_1 d_2 \cdots \) and \( a_1 \cdots a_{n-1} (a_n + 1) d_1 d_2 \cdots \). In fact, \( a_1 \cdots a_n 0d_1^*d_2^*d_3^* \cdots \) is one of the endpoints \((-\,\beta )\)-representations starting by \( a_1 a_2 \cdots a_n \). But, this word cannot be an expansion. From Remark 8, both words

    $$\begin{aligned} a_1 \cdots a_{n-1} (a_n + 1) d_1 d_2 \cdots \end{aligned}$$

    and

    $$\begin{aligned} a_1 \cdots a_n 0d_1^*d_2^*d_3^* \cdots \end{aligned}$$

    have the same image by T.

  2. (b)

    We assume that \(d_{2i} < d_1 \) for all integer \( i \ge 1\) and \( a_1 \cdots a_n \) ends by a sequence of the type \( d_1 \cdots d_k \), we set \( a_1 \cdots a_n = a_1 \cdots a_{n-k} d_1 \cdots d_k \). Thus, the word \( a_1 \cdots a_{n-k}d(l_\beta , -\,\beta ) \) is a endpoint \((-\,\beta )\)-expansion. The maximum in \( S_{-\,\beta } \) starting by \( d_1 \cdots d_k \) is \( d_1 \cdots d_k d(l_\beta , -\,\beta )\) if k is odd and \( d_1 \cdots d_k 0 d_1^*d_2^*d_3^*\cdots \) if k is even. This last word is not a \((-\,\beta )\)-expansion. We replace it by

    $$\begin{aligned} a_1 \cdots a_{n-k}d_1\cdots d_{k-1} (d_k+1)d(l_\beta , -\,\beta ). \end{aligned}$$
  3. (c)

    Now, we assume that \( a_1 \cdots a_n \) ends by a sequence of the type \( d_1 \cdots d_k \), k even and \( d_k = d_1\), then, the endpoints have expansions \(a_1\cdots a_{n-k}d(l_\beta , -\,\beta )\) and \( a_1\cdots a_{n-k}d_1\cdots d_{k-1}d(l_\beta , -\,\beta ).\)

    This last case implies that \( d(l_\beta , -\,\beta )\) satisfies (5). In the language of \( S_{-\,\beta }\), we know that \( d_1 \cdots d_{2n_i-1} \) is always followed by \( d_1 \cdots d_{p_i}\). Thus, if \( 2n_i \le k \le 2n_i+p_i - 1\), the endpoints of \( I_{a_1\cdots a_n} \) have expansions \( a_1\cdots a_{n-k} d(l_\beta , -\,\beta ) \) and \( a_1 \cdots a_{n-k}d_1\cdots d_{2n_i-1} d(l_\beta , -\,\beta )\). That is, for all tr and s in \( \mathbb {N}\), such that \( 2n_i \le r, s \le 2n_i+p_i-1\),

    $$\begin{aligned} I_{a_1\cdots a_t d_1 \cdots d_r} = I_{a_1\cdots a_td_1\cdots d_s }. \end{aligned}$$

Suppose \( d(l_\beta , -\,\beta ) \) periodic with odd period \( 2n-1\). There exists i such that \( d_{2n_i}= d_{2n} = d_1\) and \( d_1 \cdots d_{p_i} = 2n-1 = 2n_i-1\). (c) allows us to say that \( I_{a_1 \cdots a_kd_1\cdots d_{2n-1}}\) is reduced to the singleton \(\{ T(a_1\cdots a_k) + \frac{l_\beta }{(-\,\beta )^k}\) }. It is not an interval. In fact, in an infinite admissible word, \( d_1 \cdots d_{2n-1} \) is always followed by itself. \(\square \)

Remark 9

Let \( \beta \) be a real number strictly bigger than 1 and \(L_{\beta }\) the language of the words \( (x_i)_{i\ge 1} \) such that

$$\begin{aligned} (d_i^*)_{i \ge 1} \preceq (x_{i+n})_{i \ge 1} \prec (d_{i-1}^*)_{i \ge 1}, \forall n \ge 0\ \text {and}\ d_0^* = 0. \end{aligned}$$

From the previous corollary, one has for all fixed integer \( n>0 \),

$$\begin{aligned} I_{\beta } = \underset{\underset{ \vert x \vert = n}{x \in L_{\beta }}}{\bigcup } I_{x}. \end{aligned}$$
(55)

Rather than counting intervals, one can just count words of the language of \(S_{-\,\beta }\). This approach allows to obtain the laps of \( T_{-\,\beta }^n \), for all \( n \in \mathbb {N}^{*} \).

Proof of Theorem 4

Let \( \beta > 1\). We recall that \( d(l_\beta , -\,\beta ) = (d_i)_{i \ge 1} \). From the formula for the factor complexity of the corrected \( (-\,\beta )\)-shift given in Sect. 2 (we can also see in [3, 9]), and from Lemmas 8, 9, and Remark 9, one has

$$\begin{aligned} L_n = \sum \limits _{i = 1}^{n}(-1)^i(d^*_{i-1}-d^*_i)L_{n-i} + 1. \end{aligned}$$

In fact, \( L_n \) counts the number of words of length n in the language of \( \tilde{S}_{-\,\beta }\). Then, by simple calculus in the open unit disk except in \( \frac{1}{\beta }\),

$$\begin{aligned} L_{T_{-\,\beta }}(z) = \left( \sum \limits _{n \ge 1}(-1)^n(d_{n-1}^*-d_n^*)z^n\right) L_{T_{-\,\beta }}(z) +\sum \limits _{n \ge 0}z^n. \end{aligned}$$

Hence the result follows. \(\square \)

Example 3

The following figures represent the graphs of \( T_{-\,2.5}\), \(T_{-\,2.5}^2 \) and \( T_{-\,2.5}^3\) respectively in \( I_{2.5} =[-\,\frac{2.5}{3.5}, \frac{1}{3.5} ) \) (Figs. 1, 2, 3).

Fig. 1
figure 1

\(T_{-\,\beta }\) for \( \beta = 2.5 \)

Fig. 2
figure 2

\(T_{-\,\beta }^2\) for \( \beta = 2.5 \)

Fig. 3
figure 3

\(T_{-\,\beta }^3\) for \( \beta = 2.5 \)

We set \(d(l_\beta , -\,\beta ) = (d_i)_{i \ge 1}\) and we verify easily that \( d_1 = 2\), \(d_2 = 1\) and \( d_3 = 1\). The laps of \(T_{-\,\beta }^i\) correspond to the number of oblique segments in the different graphs. These oblique segments allow to determine the number of words of length i in the \((-\,2.5)\)-shift language.

  • For \( i=1 \), we have three laps (oblique segments) and three admissible words of length 1: 0, 1 and 2 (\( d_1 = 2\)).

  • If \( i = 2\), \( d_1 d_2 = 21\); there are 8 oblique lines and then 8 admissible words of length 2: 21, 22, 10, 11, 12, 00, 01, 02.

  • When \( i = 3\), \( d_1 d_2 d_3 = 211\); we count twenty laps, then there exist 20 admissible words of length 3: 211, 210, 222, 221, 102, 101, 100, 112, 111, 110, 122, 121, 002, 001, 000, 012, 011, 010, 022, 021.

4 Zeta function

The notion of dynamical zeta function was been introduced by M. Artin and B. Mazur in 1965. We consider a diffeomorphism \( \delta \) on a compact space such that all of its iterates \( \delta ^n \) have isolated fixed points. The zeta function associated to \( \delta \) is given by:

$$\begin{aligned} \zeta _{\delta }(z) = exp\left( \sum _{k \ge 1} \frac{\sharp Fix(\delta ^k)}{k}z^k\right) \end{aligned}$$
(56)

where \( \sharp Fix (\delta ^k) \) counts the number of fixed points of \( \delta ^k \), by analogy with the geometric zeta function.

In 1994, Flatto et al. (see [5]) dealt with the zeta function of the \(\beta \)-transformation. They consider the application from [0, 1) to [0, 1) defined by:

$$\begin{aligned} T_{\beta } : x \mapsto \left\{ \beta x \right\} \text { for} \ \beta > 1 \end{aligned}$$

where \( \left\{ x \right\} \) denotes the fractional part of x. The associated zeta function is:

$$\begin{aligned} \zeta _{\beta }(z) = exp \left( \sum _{k \ge 1} \frac{p_k}{k}z^k \right) \end{aligned}$$
(57)

where \( p_k \) counts the number of fixed points of \( T_{\beta }^k \). In other words, \( p_k \) is the number of periodic admissible sequences \( .x_1x_2\cdots \) with period k. We denote by \(d_{\beta }(x) \) the expansion of x in base \( \beta \).

$$\begin{aligned} x_1x_2\cdots = d_{\beta }(x), T_{\beta }^k (x) = x \Rightarrow d_{\beta }(x)=d_{\beta }\left( T_{\beta }^k(x)\right) . \end{aligned}$$

And then, \( ( x_{k+i} )_{i \ge 1} = (x_i)_{i \ge 1} \) since the expansion is unique for each number and all sub-words of an admissible word is an expansion.

After the introduction of the \((-\,\beta )\)-expansion in 2009 by Ito and Sadahiro in [6], in the following sentences, we focus our study on the determination of the zeta functions of the \((-\,\beta )\)-transformation and the one of the \((-\,\beta )\)-shift endowed with the shift.

4.1 Zeta function of symbolic dynamical system defined by an exhaustive prefix code

Let X be a symbolic dynamical system. Suppose X coded by C.

Definition 9

The code C is said exhaustive if all periodic word P can be written uniquely as:

$$\begin{aligned} P = a_1a_2\cdots a_s x_{1,1}x_{1,2}\cdots x_{1,k_1}x_{2,1} \cdots x_{2,k_2} \cdots x_{h-1,1}\cdots x_{h-1,k_{h-1}}b_1 \cdots b_r \end{aligned}$$

where

$$\begin{aligned} x_1&= x_{1,1} \cdots x_{1,k_1}&\in C \\ x_2&= x_{2,1} \cdots x_{2,k_2}&\in C \\&\vdots \\ x_{h-1}&= x_{h-1,1} \cdots x_{h-1, k_{h-1} }&\in C \\ x_h&= b_1 b_2 \cdots b_r a_1a_2 \cdots a_s&\in C. \end{aligned}$$

P and \( x_1 x_2 \cdots x_h \) have the same orbit.

Theorem 5

Let X be a coded system defined by an exhaustive prefix code C. Then, if \( p_n \) counts the number of periodic words of period n in X the associated zeta function is defined by

$$\begin{aligned} \zeta _X (t)= & {} exp\left( \sum \limits _{n \ge 1} \frac{p_n}{n}t^n \right) \nonumber \\= & {} \frac{1}{1 - \sum \nolimits _{n \ge 1}b_n t^n} \end{aligned}$$
(58)

where \( b_n \) counts the number of words of length n in C.

Proof

Observe that, in the meaning of formal power series,

$$\begin{aligned} \log \dfrac{1}{1-\sum \nolimits _{n \ge 1} b_n t^n}= & {} -\,\log \left( 1-\sum \limits _{n\ge 1}b_nt^n\right) \\= & {} \underset{n \ge 1}{\sum }b_nt^n + \frac{1}{2}\left( \underset{n \ge 1}{\sum } b_nt^n\right) ^2 + \frac{1}{3}\left( \underset{n \ge 1}{\sum }b_nt^n\right) ^3 +\cdots \\= & {} \sum \limits _{k\ge 1}\frac{1}{k}\left( \sum \limits _{n \ge 1}b_nt^n\right) ^k. \end{aligned}$$

Let \( (\delta _{n,k})_{n\ge k \ge 1} \) be the sequence of positive integers such that \( \delta _{n,k} \) counts the number of periodic words of length n having the same orbit than a product of k pieces of the exhaustive prefix code. Thus, \( p_n = \sum _{k=1}^n \delta _{n,k} \). In the sense of formal power series, we rewrite \(\sum _{n \ge 1}\frac{p_n}{n}t^n \) as:

$$\begin{aligned} \sum _{n \ge 1}\frac{p_n}{n}t^n = \sum _{n \ge 1}\frac{\delta _{n,1}}{n}t^n+\cdots + \sum _{n \ge k}\frac{\delta _{n,k}}{n}t^n+ \cdots . \end{aligned}$$

Let \( x_1, x_2, \ldots , x_k \) k pieces of C with \( \vert x_1x_2\cdots x_k \vert = n \) and ph two integers such that \(x_1 x_2 \cdots x_k = (x_1x_2\cdots x_p)^h \) where p is minimal, that is \( x_1 \cdots x_p \) denotes the smallest word (in size) with orbit \( \overline{x_1x_2 \cdots x_k}\).

$$\begin{aligned} k = hp \text { and } \vert x_1x_2\cdots x_k \vert = \sum _{i = 1}^{k} \vert x_i \vert = h \sum _{i = 1}^{p} \vert x_i \vert . \end{aligned}$$

Then,

$$\begin{aligned} \delta _{n,k}&= \underset{\overset{(i_1, i_2, \cdots i_p)}{\underset{ph=k}{h\sum _{j=1}^pi_j=n}}}{\sum }\left( \sum _{j=1}^{p}i_j\right) (b_{i_1}\cdots b_{i_p})^h \\&= \underset{\overset{(i_1, i_2, \cdots i_p)}{\underset{ph=k}{h\sum _{j=1}^pi_j=n}}}{\sum } \frac{n}{h}(b_{i_1}\cdots b_{i_p})^h. \end{aligned}$$

Thus,

$$\begin{aligned} \underset{n \ge k}{\sum } \frac{1}{n}\delta _{n,k}t^n&= \underset{n \ge k}{\sum } \underset{\overset{(i_1, i_2, \cdots i_p)}{\underset{ph=k}{h\sum _{j=1}^pi_j=n}}}{\sum }\frac{1}{h}(b_{i_1}\cdots b_{i_p})^h t^n \\&=\frac{1}{k}\underset{n \ge k}{\sum }\underset{\overset{(i_1, i_2, \cdots i_p)}{\underset{ph=k}{h\sum _{j=1}^pi_j=n}}}{\sum }\frac{k}{h}(b_{i_1}\cdots b_{i_p})^h t^n \\&=\frac{1}{k}\underset{n \ge k}{\sum }\underset{\overset{(i_1, i_2, \cdots i_p)}{\underset{ph=k}{h\sum _{j=1}^pi_j=n}}}{\sum }p(b_{i_1}\cdots b_{i_p})^h t^n \end{aligned}$$

p minimal, \( ph = k\text { and } h \sum _{j=1}^p i_j = n\), the integer \( p (b_{i_1}\cdots b_{i_p})^h \) counts the periodic words resulting to the circular permutations of concatenations of k monotonic piecewises of the code. Then, regardless of the commutative property of the multiplication in \( \mathbb {R}\), and in the sense of formal power series,

$$\begin{aligned} \underset{n \ge k}{\sum } \frac{1}{n}\delta _{n,k}t^n = \frac{1}{k} \underset{n \ge k}{\sum }{\underset{ \overset{k}{\underset{j=1}{\sum }}i_j = n}{\sum }}b_{i_1}\cdots b_{i_k}t^n, \end{aligned}$$

but

$$\begin{aligned} \underset{n \ge k}{\sum }{\underset{ \overset{k}{\underset{i=1}{\sum }}i_j = n}{\sum }}b_{i_1}\cdots b_{i_k}t^n = \left( \underset{ n \ge 1}{\sum }b_nt^n\right) ^k . \end{aligned}$$

That is,

$$\begin{aligned} \underset{n \ge k}{\sum } \frac{1}{n}\delta _{n,k}t^n =\frac{1}{k}\left( \underset{ n \ge 1}{\sum }b_nt^n\right) ^k. \end{aligned}$$

Hence,

$$\begin{aligned} \underset{n \ge 1}{\sum }\frac{p_n}{n}t^n = \underset{n \ge 1}{\sum }b_nt^n + \frac{1}{2} \left( \underset{n \ge 1}{\sum } b_nt^n\right) ^2 + \frac{1}{3}\left( \underset{n \ge 1}{\sum }b_nt^n\right) ^3 +\cdots \end{aligned}$$

\(\square \)

Theorem 5 reveals an important property of coded systems: the density of the set of periodic points.

Example 4

Let \( \beta \) be a real number, \( \beta > 1 \). Let \( X_\beta \) be the \( \beta \)-shift and \( (a_i)_{i \ge 1} \) the expansion of 1 in base \( \beta \). We assume that \( \beta \) is not a simple \( \beta \)-number and we set \( C_\beta = \left\{ a_1\cdots a_{k}i, k\in \mathbb {N}, 0\le i \le a_{k+1}-1 \right\} \).

The \( \beta \)-shift \( X_\beta \) is coded by \( C_\beta \) which is an exhaustive prefix code. The integer \( a_k \) counts the number of pieces of length k in \( C_{\beta }\). Thus, the zeta function associated to \( X_\beta \) is given by:

$$\begin{aligned} \zeta _{X_{\beta }}(z) = \dfrac{1}{1-\sum \limits _{n \ge 1}a_nz^n}. \end{aligned}$$

4.2 Zeta function of the negative beta-transformation

We consider a real number \( \beta > 1\). Recall that the \((-\,\beta )\)-transformation \( T_{-\,\beta }\) denotes the map from \(I_{\beta } = [\frac{-\,\beta }{\beta +1}, \frac{1}{\beta +1} ) \) into itself defined by:

$$\begin{aligned} T_{-\,\beta }(x) = -\,\beta x - \left\lfloor -\,\beta x +\dfrac{\beta }{\beta +1} \right\rfloor . \end{aligned}$$

The aim of this section is to determine the zeta function \(\zeta _{-\,\beta }\) of the map \( T_{-\,\beta }\). We know that each number has a \((-\,\beta )\)-representation in \(\tilde{S}_{-\,\beta }\). Moreover, it is easy to see that a real x is a fixed point of \(T_{-\,\beta }^k\) if only if the \((-\,\beta )\)-representation of x in \(\tilde{S}_{-\,\beta }\) is periodic with period dividing k.

Theorem 6

Let \( \beta \) be a real number strictly greater than 1, \( (d_i)_{i \ge 1}\) the \((-\,\beta )\)-expansion of \( l_\beta = -\,\frac{\beta }{\beta + 1}\) and \( \zeta _{-\,\beta } \) the Zeta function of the \((-\,\beta )\)-transformation. Then, in the ball of radius \(\frac{1}{\beta }\) and center 0,

  • if \((d_i)_{i \ge 1}\) is not periodic

    $$\begin{aligned} \zeta _{-\,\beta }(z) = \dfrac{1+z}{1-\sum \nolimits _{n \ge 1}(-1)^n(d_{n-1}-d_{n})z^n}; \end{aligned}$$
  • if \((d_i)_{i \ge 1}\) is periodic with period k,

    $$\begin{aligned} \zeta _{-\,\beta }(z) = \dfrac{1+z}{(1-z^k)\left( 1-\sum \nolimits _{n \ge 1}(d_{n-1}^* - d_n^*)(-z)^n\right) }. \end{aligned}$$

If we consider a real \(\beta > 1\) and \((a_i)_{i \ge 1}\) the \(\beta \)-expansion of 1, the zeta function of the \(\beta \)-shift, determined by Flatto et al. [5], is given by

$$\begin{aligned} \zeta _{\beta }(z) = \frac{1}{1-\sum \nolimits _{n \ge 1} a_nz^n}. \end{aligned}$$

So, we remark some similarities between this zeta function and that of the \((-\,\beta )\)-shift given in the previous theorem. For instance, \( \frac{1}{\beta } \) is a pole of these both functions.

Lemma 10

Let \(\beta > 1\) and \( d(l_\beta , -\,\beta ) = (d_i)_{i \ge 1}\) periodic with period h.

$$\begin{aligned} d(l_\beta , -\,\beta ) = \cdot \overline{ d_1\cdots d_h }. \end{aligned}$$

Then, \( d_h \ne 0 \).

Proof

Suppose \( d_h = 0\). Since \( (d_{h+i})_{i \ge 1} = (d_i)_{i \ge 1}\)

$$\begin{aligned} T_{-\,\beta }^n(l_\beta ) = \sum \limits _{n \ge 1}\frac{d_{n+i}}{(-\,\beta )^i}\Rightarrow \sum \limits _{i \ge 1}\frac{d_{h+i}}{(-\,\beta )^i} = l_\beta . \end{aligned}$$

Furthermore,

$$\begin{aligned} d_{h-1} = \left\lfloor -\,\beta T_{-\,\beta }^{h-2}(l_\beta )-l_\beta \right\rfloor . \end{aligned}$$

Since \( T_{-\,\beta }^{h-2}(l_\beta ) = \sum \nolimits _{i \ge 1}\frac{d_{h-2+i}}{(-\,\beta )^i}\) and \( d_h = 0\), it follows that

$$\begin{aligned} d_{h-1} = \left\lfloor d_{h-1} - \frac{1}{\beta } \sum \limits _{i \ge 1}\frac{d_{h+i}}{(-\,\beta )^i} -l_\beta \right\rfloor . \end{aligned}$$

Thus, \( d_{h-1} = d_{h-1} + 1\). This is absurd. Then, \( d_h\ne 0\). \(\square \)

As consequence, \( (d_{i-1})_{i \ge 1}\) (with \( d_0 = 0\) ) is not periodic. Then, in addition to periodic words listed in the previous paragraphs, if \( d(l_\beta , -\,\beta ) \) is periodic with even period, we should take account of circular permutations of \( (d_1d_2 \cdots d_{2p})^k\). For each integer k, there are 2p words.

Let \( X_{-\,\beta }^r\) be the set of \((-\,\beta )\)-expansions of real numbers which belongs to \( I_{\beta }\). We know that the correspondence \( X_{-\,\beta }^r \leftrightarrow I_{\beta }\) is one to one. In fact, each real number has one and only one \((-\,\beta )\)-expansion. Moreover, \( X_{-\,\beta }^r\) is invariant by the shift (all infinite sub-word of a \((-\,\beta )\)-expansion is a \((-\,\beta )\)-expansion). Let \( x \in I_{\beta } \) and \(d(x, -\,\beta ) =(x_i)_{i \ge 1}\). Then, \( d(T_{-\,\beta }^n(x), -\,\beta ) =(x_{i+n})_{i\ge 1}\). So, if x is a fixed point of \(T_{-\,\beta }^{n}\), then \( d(x, -\,\beta )\) is periodic with period dividing n. The number of fixed points of \(T_{-\,\beta }^n \) equals the number of periodic orbits in \(X_{-\,\beta }^r\) with period dividing n.

Note that in \( S_{-\,\beta }^d\), the sequences which are not \((-\,\beta )\)-expansions end by \((d_{i-1}^*)_{i \ge 1}\) (with \( d_0^* = 0 \)).

When \((d_i)_{i \ge 1}\) is not periodic with odd period \((d_{i-1}^*)_{i \ge 1} = (d_{i-1})_{i \ge 1}\) is not periodic. In this case, the periodic orbits of \(S_{-\,\beta }^r\) belong to \(X_{-\,\beta }^r\).

When \((d_i)_{i \ge 1}\) is periodic with odd period, \((d_{i-1}^*)_{i \ge 1}\) is periodic. The periodic orbits of \(S_{-\,\beta }^r\) belong to \( X_{-\,\beta }^r\) except \((d_{i-1}^*)_{i \ge 1}\).

Remark 10

In Sect. 2, we distinguished in \( \tilde{S}_{-\,\beta } \) three types of admissible concatenations and then three types of periodic words:

  • at first, there are the concatenations in \( \mathfrak {C}\);

  • secondly, the concatenations of words of \( \varDelta _{odd}\);

  • and finally, there are products of words of \( \varDelta ^{(i)} \), for all positive integer i.

In other hands, the periodic orbits of \( \tilde{S}_{-\,\beta }\) are circular permutations of sequences of \( \mathfrak {C}^{\mathbb {Z}} \cup \varDelta _{odd}^{\mathbb {Z}} \cup ( {\bigcup }_{i \ge 1} \varDelta ^{(i)\mathbb {Z}} ) \), if \( (d_i^*)_{i \ge 1} \) not periodic. When \((d_i)_{i\ge 1}\) is periodic with period 2p, we add the circular permutations of \((d_i)_{i\ge 1}\). If the period of \((d_i)_{i\ge 1}\) is \(2p - 1\), \((d_i)_{i\ge 1}\) does not belong to \(\tilde{S}_{-\,\beta }\). Let \( \mathbb {P}(X) \) be the set of periodic orbit of X. One has:

$$\begin{aligned} \mathbb {P}(\tilde{S}_{-\,\beta })= & {} {\left\{ \begin{array}{ll} \mathfrak {C}^{\mathbb {Z}} \cup \varDelta _{odd}^{\mathbb {Z}} \cup \left( \underset{i \ge 1}{\bigcup } \varDelta ^{(i)\mathbb {Z}} \right) &{}\text { if}\ (d_i^*)_{i \ge 1} \ \text {is not periodic}\\ \mathfrak {C}^{\mathbb {Z}} \cup \varDelta _{odd}^{\mathbb {Z}} \cup \left( \underset{i \ge 1}{\bigcup } \varDelta ^{(i)\mathbb {Z}} \right) \cup \{(d_i^*)_{i \ge 1}\} &{}\text { if}\ (d_i^*)_{i \ge 1}\ \text {is periodic } \end{array}\right. }\nonumber \\ \end{aligned}$$
(59)
$$\begin{aligned} \mathbb {P}(X_{-\,\beta }^r)&{\left\{ \begin{array}{ll} \mathfrak {C}^{\mathbb {Z}} \cup \varDelta _{odd}^{\mathbb {Z}} \cup \left( \underset{i \ge 1}{\bigcup } \varDelta ^{(i)\mathbb {Z}} \right) &{}\text { if}\ (d_i)_{i \ge 1}\ \text {is not periodic}\\ \mathfrak {C}^{\mathbb {Z}} \cup \varDelta _{odd}^{\mathbb {Z}} \cup \left( \underset{i \ge 1}{\bigcup } \varDelta ^{(i)\mathbb {Z}} \right) \cup \{(d_i)_{i \ge 1}\} &{}\text { if} \ (d_i)_{i \ge 1}\ \text {is periodic} \end{array}\right. }\nonumber \\ \end{aligned}$$
(60)

Let \( p_n \) be number of fixed points of \(\sigma ^n\) in \(\tilde{S}_{-\,\beta } \) and \( q_n \) the number of fixed points of \(T_{-\,\beta }^n\), according to the previous remark, \( p_n = q_n \) if \((d_i)_{i \ge 1} \) is not periodic with odd period. If \((d_i)_{i \ge 1} \) is periodic with odd period

(61)

According to (61), when \((d_i)_{_ \ge 1}\) is periodic with odd period, we have the following relation between the zeta fonction of \( T_{-\,\beta }\) (denoted by \(\zeta _{-\,\beta }\)) and that of \(\tilde{S}_{-\,\beta }\) (denoted by \( \zeta _{\tilde{S}_{-\,\beta }} \)):

$$\begin{aligned} (1-t^{2p-1})\zeta _{-\,\beta }(t) =(1-t^{2p})\zeta _{\tilde{S}_{-\,\beta }}(t). \end{aligned}$$
(62)

We use the fact that

(63)

and

$$\begin{aligned} \sum \limits _{k\ge 1}\frac{1}{2p(2p-1)k}t^{2p(2p-1)k} =\sum \limits _{\underset{2p-1\vert k}{k\ge 1}}\frac{1}{k}t^{2pk}-\sum \limits _{\underset{2p\vert k}{k\ge 1}}\frac{1}{k}t^{(2p-1)k}. \end{aligned}$$
(64)

Proof of Theorem 6

The sets \( \mathfrak {C}^{\mathbb {Z}} \), \( \varDelta _{odd}^{\mathbb {Z}} \) and \( \varDelta ^{(i)\mathbb {Z}} \) are coded by \( \mathfrak {C}\), \( \varDelta _{odd} \) and \( \varDelta ^{(i)} \) respectively. Let \(q_n\), \( p_{\mathfrak {C}, n}\), \(p_{0,n}\) and \( p_{i, n}\) count the number of fixed points \( T_{\beta }^n \), \(\sigma ^n \) in \(\mathfrak {C}^{\mathbb {Z}} \), \( \varDelta _{odd}^{\mathbb {Z}} \) and \( \varDelta ^{(i)\mathbb {Z}} \) respectively. If \( (d_i^*)_{i \ge 1} \) is not periodic,

$$\begin{aligned} q_n = p_{\mathfrak {C}, n} + p_{0, n}+\sum \limits _{i \ge 1}p_{i, n}; \end{aligned}$$
(65)

if \( (d_i)_{i \ge 1} \) is periodic with period 2p,

(66)

If \( (d_i)_{i \ge 1} \) is periodic with period odd \( 2p-1 \),

(67)

Thus, \( \zeta _{-\,\beta }\) is product of elementary Zeta functions of \( \mathfrak {C}^{\mathbb {Z}} \), \( \varDelta _{odd}^{\mathbb {Z}} \) , \( \varDelta ^{(i)\mathbb {Z}} \) and also \(\{ d_1 \cdots d_{k} \}^{\mathbb {Z}}\) (if \( (d_i)_{i \ge 1} \) is periodic with period k ). From Theorem 5,

$$\begin{aligned} \zeta _{-\,\beta }(z) = \frac{1}{1-\sum \nolimits _{x \in \mathfrak {C}} z^{\vert x \vert } } \frac{1}{1-\sum \nolimits _{x \in \varDelta _{odd}} z^{\vert x \vert }}\left( \prod \limits _{i \ge 1} \frac{1}{1-\sum \nolimits _{x \in \varDelta ^{(i)}} z^{\vert x \vert }}\right) \end{aligned}$$
(68)

if \((d_i)_{i \ge 1} \) is not periodic; or

$$\begin{aligned} \zeta _{-\,\beta }(z) = \frac{1}{1-\sum \nolimits _{x \in \mathfrak {C}} z^{\vert x \vert } } \frac{1}{1-\sum \nolimits _{x \in \varDelta _{odd}} z^{\vert x \vert }}\left( \prod \limits _{i \ge 1} \frac{1}{1-\sum \nolimits _{x \in \varDelta ^{(i)}} z^{\vert x \vert }}\right) \frac{1}{1-z^{k}} \end{aligned}$$
(69)

if \((d_i)_{i \ge 1} \) is periodic with period k. We conclude thanks to (42). \(\square \)

From (59), if \( (d_i)_{i \ge 1}\) is periodic with odd period \( 2p-1\),

$$\begin{aligned} \zeta _{\tilde{S}_{-\,\beta }}(z) = \frac{1}{1-\sum \nolimits _{x \in \mathfrak {C}} z^{\vert x \vert } } \frac{1}{1-\sum \nolimits _{x \in \varDelta _{odd}} z^{\vert x \vert }}\left( \prod \limits _{i \ge 1} \frac{1}{1-\sum \nolimits _{x \in \varDelta ^{(i)}} z^{\vert x \vert }}\right) \frac{1}{1-z^{2p}}. \end{aligned}$$
(70)

With (70) and (69), we find again the relation given in (62).

The previous theorem can be proved also just using the Lap-counting function. Indeed, from the Eq. (42) and the formula of the factor complexity, the coefficients of the power series expansions of \(\frac{1}{1-\sum \nolimits _{x \in \mathfrak {C}} z^{\vert x \vert }}\), \(\frac{1}{1-\sum \nolimits _{x \in \varDelta _{odd}} z^{\vert x \vert }}\) and \( \frac{1}{1-\sum \nolimits _{x \in \varDelta ^{(i)}} z^{\vert x \vert }}\) for all i, count the fixed points of iterates of \(T_{-\,\beta }\) except the orbit of the left end point of \( I_{\beta }\) when its expansion is periodic.

Furthermore, (68) and (69) provide us an interesting information on the influence of gaps in the interval on the \((-\,\beta )\)-transformation zeta function for \( \beta < \frac{1+\sqrt{5}}{2}\). They correspond to factors in the denominator of the zeta function.

Remark 11

From Sect. 3 and Theorem 6, we have the following relation between the zeta-function of the \((-\,\beta )\)-transformation and its lap-counting function:

$$\begin{aligned} \begin{array}{ll} \zeta _{-\,\beta }(z) = (1-z^2)L_{T_{-\,\beta }} &{}\quad \text { if}\; d(l_\beta , -\,\beta )\ \text {is non-periodic } \\ (1-z^k)\zeta _{-\,\beta }(z) = (1-z^2)L_{T_{-\,\beta }} &{}\quad \text { if} \; d(l_\beta , -\,\beta )\ \text {is periodic with period}\ k. \end{array} \end{aligned}$$

Example 5

Let \( \gamma _0 \) be the golden ratio: \(\gamma _0 = \frac{1+\sqrt{5}}{2} \), \( d(l_{\gamma _0}, -\,\gamma _0) = 1 \overline{0} \). The zeta function is given by two types of periodic words: the sequences of zero and words \( x_1 x_2 \cdots x_n \) such that \( x_i \in \{10^{2n}, n \in \mathbb {N}\} \). \( \vert 0 \vert = 1\), \(\vert 10^{2n} \vert = 2n+1\). Moreover, the \((-\,\gamma _0)\)-shift and the \((-\,\gamma _0)\)-transformation have the same zeta function, since \( d(l_{\gamma _0}, -\,\gamma _0)\) is not periodic. Thus

$$\begin{aligned} \zeta _{-\,\gamma _0}(z)&= \dfrac{1}{(1-z^{\vert 0 \vert })\left( 1-\sum \nolimits _{n \ge 0} z^{\vert 10^{2n} \vert }\right) } \\&= \dfrac{1+z}{1-z-z^2}. \end{aligned}$$

Moreover, \( \sum \nolimits _{n \ge 1} (-1)^n(d_{n-1}-d_n)z^n = z+z^2 \). Then,

$$\begin{aligned} L_{T_{-\,\gamma _0}}(z) = \dfrac{1}{(1-z)(1-z-z^2)}. \end{aligned}$$

We verify easily that \( \zeta _{-\,\gamma _0} = (1-z^2)L_{T_{-\,\gamma _0}}\).

The previous remark allows to observe that the relation between the zeta function of \(T_{-\,\beta }\) and its lap-counting function differs a little bit from that of the \(\beta \)-transformation and the associated lap-counting function. Indeed, denote by \( \zeta _{\beta }\) and \( L_{T_{\beta }} \) the zeta function and the lap-counting function of the \(\beta \)-transformation, according to [5], \( \zeta _\beta = (1-z)L_{T_{\beta }} \) if \(\beta \) is not simple \(\beta \)-number.

4.3 Zeta-function of the negative beta-shift

Consider a real number \( \beta > 1\). We have seen that when \(d(l_{\beta }, -\,\beta )\) is not periodic with odd period, \((d_{i-1}^*)_{i \ge 1}\) is not periodic and for a periodic orbit \(\overline{x_1x_2\cdots x_n} \),

$$\begin{aligned} d_1d_2\cdots \prec \overline{x_kx_{k+1} \cdots x_nx_1\cdots x_{k-1}} \prec 0d_1^{*}d_2^{*}\cdots \forall k, 1 \le k \le n. \end{aligned}$$

In other words, all periodic word is a \((-\,\beta )\)-expansion. And then, \( S_{-\,\beta }\) and \( T_{-\,\beta }\) have the same zeta function.

However, if \( (d_i)_{i \ge 1}\) is periodic with odd period p, \(0d_1^*d_2 ^* \cdots \) is periodic too (with period \( p+1\)). But, it is not an expansion in base \( -\,\beta \). Let \( p_n \) counts the number of fixed points of \( T_{-\,\beta }^n\) and \( \tilde{p}_n \) the number of periodic words with period dividing n in \(S_{-\,\beta }\). We have the following result

\(p+1\) counts the circular permutations of the sequences \(\overline{d_1\cdots d_{p-1}(d_p-1)0}\). We denote by \( \tilde{\zeta }_{-\,\beta }\) the zeta function of the \( (-\,\beta )\)-shift. Then,

$$\begin{aligned} (1-z^{p+1}) \tilde{\zeta }_{-\,\beta }(z) = \zeta _{-\,\beta }(z). \end{aligned}$$
(71)

In short, \( \forall z \in B(0, \frac{1}{\beta })\),

$$\begin{aligned} \zeta _{-\,\beta }(z) = {\left\{ \begin{array}{ll} (1-z^{p+1})\tilde{\zeta }_{-\,\beta }(z) &{}\quad \text { if}\; \ d(l_\beta ,-\,\beta )=\overline{d_1 \cdots d_p}, p\ \text {odd } \\ \tilde{\zeta }_{-\,\beta }(z) &{}\quad \text { otherwise}. \end{array}\right. } \end{aligned}$$

5 Conclusion

Finally, we have seen that for a real number \( \beta > 1\), the associated \((-\,\beta )\)-shift is coded if only if \( \beta \ge \frac{1+\sqrt{5}}{2} \) and the \((-\,\beta )\)-expansion of \( l_{\beta }=-\, \frac{\beta }{\beta +1} \) is not periodic with odd period. The non-coded case is due to the existence of intransitive words in the language of the system. In the periodic case with odd period, shall we say \( d(l_\beta , -\,\beta ) = \overline{d_1 \cdots d_{2p-1}}\), the word \( d_1 \cdots d_{2p-1} \) is intransitive. For \( \gamma _n \ge \beta \), \( u_k u_ku_ku_k \) is an intransitive word, with \( k < n-1\), where \(d(l_{\gamma _n}, -\,\gamma _n) = u_n \overline{u_{n-1}}\), \(u_k =\phi ^k(1)\), \( \phi (1) = 100\), and \( \phi (0) = 1 \).

Moreover, the zeta-functions of the \((-\,\beta )\)- shift and \(\beta \)- shift (determined by Flatto et al. [5]) have some similarities: \(\frac{1}{\beta }\) is a pole for these both functions.

However, if we consider \( \tilde{S}_{-\,\beta }\) as \( (-\,\beta )\)-shift, \( \tilde{S}_{-\,\beta }\) is coded if only if \( \beta \) is greater than or equal to the golden ratio \( \gamma _0\). But, if \( \beta \) less than the golden ratio, the systems \(S_{-\,\beta } \) or \( \tilde{S}_{-\,\beta }\) contains coded sub-shift with maximal entropy \( \log \beta \).