1 Introduction

We consider representations of numbers in a base \(\beta \in \mathbb {C}\), \(|\beta |>1\), using a finite alphabet of digits. When \(\beta \) is positive and real, the classical way to obtain representations is to apply the greedy algorithm and use the ‘canonical’ alphabet \(\{a\in \mathbb {Z}: 0\le a<\beta \}\). A well known result of Schmidt [22] states that if \(\beta \) is a Pisot number then every positive element of the field \(\mathbb {Q}(\beta )\) has eventually periodic greedy \(\beta \)-expansion, i.e.

$$\begin{aligned} \mathrm{Per}(\beta ):= & {} \{x\ge 0: x\text { has eventually periodic greedy } \beta \text {-expansion}\}\\&=\mathbb {Q}(\beta )\cap [0,+\infty ). \end{aligned}$$

On the other hand, apart from Pisot numbers, only Salem numbers may have this property. However, there are no examples of Salem numbers of this type.

Alternative ways of representing numbers in a real base (balanced system with symmetric alphabet, negative base, etc.) were considered in [2, 17, 18]. Corresponding analogues of Schmidt’s result were shown to hold, see [10, 13]. This emphasises the importance of Pisot numbers in the theory of number representations.

It is natural to wonder what happens if we relax the condition that the expansion in base \(\beta \) is generated by a specific algorithm and allow representations in a general alphabet \(\mathcal {A}\). We shall study the so called \((\beta ,\mathcal {A})\)-representations for \(\beta \in \mathbb {C}\), \(|\beta |>1\) and \(\mathcal {A}\subset \mathbb {C}\) finite, i.e. expressions of the form \(\sum _{k\ge -L}{a_k}\beta ^{-k},\ a_k\in \mathcal {A}\). In this article we focus on the set

$$\begin{aligned} \mathrm{Per}_\mathcal {A}(\beta ) = \big \{x\in \mathbb {C}: x\text { has an eventually periodic } (\beta ,\mathcal {A})\text {-representation}\big \} \end{aligned}$$

and study the following question:

Question Which bases \(\beta \) admit an alphabet \(\mathcal {A}\) for which \(\mathrm{Per}_\mathcal {A}(\beta )=\mathbb {Q}(\beta )\)?

Clearly, by Schmidt, any Pisot number \(\beta \) satisfies this property choosing \(\mathcal {A}=\{a\in \mathbb {Z}:-\beta<a<\beta \}\). As we will show, it is satisfied also by complex Pisot bases and a broad class of non-Pisot and non-Salem numbers, in particular, all algebraic integers without a conjugate on the unit circle, see Corollary 26. Surprisingly, being an algebraic integer is not a necessary condition. For example, rational numbers have this property (Corollary 27). In Theorem 25, we provide a sufficient condition on the base \(\beta \) so that there exists an alphabet \(\mathcal {A}\) allowing eventually periodic representations of every element of \(\mathbb {Q}(\beta )\).

Although alphabets exist which yield eventually periodic representations for every element of \(\mathbb {Q}(\beta )\) for very general bases, perhaps all algebraic \(\beta \), Pisot and Salem numbers still play a crucial role in the study of our question. In fact, they are the only bases for which eventually periodic representations can satisfy a special property. Roughly speaking, the represented number is in its modulus proportional to the highest power of the base used, and moreover, the proportionality is uniform for every element of the field \(\mathbb {Q}(\beta )\). We call such representations ‘weak greedy’, these ideas are expressed formally in Definition 13. This property of Pisot and Salem numbers may be seen as a strengthening of Schmidt’s theorem; we state it as Theorem 18.

2 Representations of numbers

An algebraic number \(\alpha \) is a zero of a non-zero polynomial \(f(x)\in \mathbb {Z}[x].\) The nonzero polynomial \(m(x)=a_dx^d+\cdots +a_1x+a_0\in \mathbb {Z}[x]\) of minimal degree such that \(m(\alpha )=0\) and \(\gcd (a_d,\ldots ,a_0)=1\) is called the minimal polynomial of \(\alpha .\) If the leading coefficient of the minimal polynomial satisfies \(a_d=\pm 1\), then \(\alpha \) is called an algebraic integer. Galois conjugates of \(\alpha \) are the roots of the minimal polynomial of \(\alpha \).

A very important role in the theory of numeration systems is played by Pisot and Salem numbers.

Definition 1

  1. 1.

    A Pisot number is an algebraic integer \(\beta >1\) whose Galois conjugates are \({<}1\) in absolute value.

  2. 2.

    A complex Pisot number is an algebraic integer \(\beta \in \mathbb {C}{\setminus }\mathbb {R},\ |\beta |>1\) whose Galois conjugates except for the complex conjugate are \(<1\) in absolute value.

  3. 3.

    A Salem number is an algebraic integer \(\beta >1\) whose Galois conjugates are \({\le }1\) in absolute value and at least on of them is equal to 1 in absolute value.

Definition 2

Let \(\beta \in \mathbb {C}\), \(|\beta |>1\), and let \(\mathcal {A}\subset \mathbb {C}\) be a finite set containing 0. An expression

$$\begin{aligned} x=\sum _{k\ge -L}a_k\beta ^{-k}, \quad a_k\in \mathcal {A}\end{aligned}$$
(1)

is called a \((\beta ,\mathcal {A})\)-representation of x. If \(a_{-L}\ne 0\), then L is called the leading index of the \((\beta ,\mathcal {A})\)-representation.

Suppose we are given a set \(\Omega \) and a mapping \(D:\Omega \rightarrow \mathcal {A}\) such that for every \(x\in \Omega \)

$$\begin{aligned} T(x):=\beta x-D(x)\in \Omega . \end{aligned}$$
(2)

Then the map \(x\mapsto T(x)\) is a transformation \(T:\Omega \rightarrow \Omega \) which constructs a \((\beta ,\mathcal {A})\)-representation for every \(x\in \Omega .\) This representation is of the form

$$\begin{aligned} x=\sum _{k\ge 1}a_k\beta ^{-k}, \quad a_k\in \mathcal {A}. \end{aligned}$$
(3)

It is a simple observation that the coefficients \(a_k\) are determined by the equation

$$\begin{aligned} a_k=D\big (T^{k-1}(x)\big ). \end{aligned}$$

Moreover, every \(x\in \bigcup _{n\in \mathbb {N}}\beta ^n \Omega \) has a \((\beta ,\mathcal {A})\)-representation of the form (1).

Example 3

Let us give several known examples of numeration systems based on the construction described above.

  1. 1.

    For a positive real base \(\beta >1\), the greedy expansion of any \(x\in [0,+\infty )\) was considered by Rényi [21]. It is given in the above framework with \(\Omega =[0,1)\), \(D(x)=\lfloor \beta x\rfloor ,\) and the alphabet of digits \(\mathcal {A}=\{a\in \mathbb {Z}:0\le a<\beta \}\).

  2. 2.

    Akiyama and Scheicher [2] defined a representation for any real x in the balanced system with \(\Omega =[-\frac{1}{2},\frac{1}{2})\), \(D(x)=\lfloor \beta x+\frac{1}{2}\rfloor \) and the alphabet \(\mathcal {A}=\{a\in \mathbb {Z}:-\beta /2\le a<\beta /2\}\).

  3. 3.

    When the base is negative, say \(-\beta <-1\), to obtain expansions for any real x with alphabet \(\mathcal {A}=\{a\in \mathbb {Z}:0\le a\le \beta \}\), one can use the transformation T on \(\Omega =[l,l+1)\) with \(D= \lfloor -\beta x-l\rfloor \) and \(l=-\beta /(\beta +1)\). This method was introduced by Ito and Sadahiro [17].

Currently, there is no canonical way of constructing representations for an arbitrary non-real base \(\beta \). \((\beta ,\mathcal {A})\)-representation for special complex bases are studied in [16, 19]. Nevertheless, Daróczy and Kátai [9], and then Thurston [23], proved that for any non-real \(\beta \in \mathbb {C}\) of modulus greater than 1, there exists a finite alphabet \(\mathcal {A}\subset \mathbb {C}\) such that every \(x\in \mathbb {C}\) has a \((\beta ,\mathcal {A})\)-representation.

Theorem 4

[23] Given a base \(\beta \in \mathbb {C}\), \(|\beta |>1\), and a finite set \(\mathcal {A}\subset \mathbb {C}\). Let \(\Omega \) be a bounded subset of \(\mathbb {C}\) such that

  • 0 belongs to the interior of \(\Omega \);

  • \(\beta \Omega \subset \mathcal {A}+\Omega = \bigcup _{a\in \mathcal {A}}(a+\Omega )\).

Then every \(x\in \mathbb {C}\) has a \((\beta ,\mathcal {A})\)-representation of the form (1).

Remark 5

Theorem 4 provides a formula for the mapping \(D:\Omega \rightarrow \mathcal {A}\). Set \(D(x)=a\) if \(\beta x\in a+\Omega \). Such \(a\in \mathcal {A}\) may not be unique, therefore we have a choice in how we define D.

Remark 6

Given a base \(\beta \in \mathbb {C}\), \(|\beta |>1\), one can easily find an alphabet \(\mathcal {A}\) and a set \(\Omega \subset \mathbb {C}\) satisfying the assumptions of Theorem 4. For example, consider \(\Omega =B(0,1)\) and \(\mathcal {A}=\{x+iy: x,y\in \mathbb {Z},\, B(x+iy,1)\cap B(0,|\beta |)\ne \emptyset \}\), where B(zr) stands for an open ball of radius r centered at z. In [7] it is shown that the alphabet can always be chosen as a symmetric subset of integers, \(\mathcal {A}=\{-M,\ldots ,0,1,\ldots ,M\}\subset \mathbb {Z}\). For \(\beta =i-1\) the corresponding \(\Omega \subset \mathbb {C}\) is shown in Fig. 1.

Fig. 1
figure 1

The region \(\Omega \) for the base \(\beta =i-1\) and the alphabet \(\mathcal {A}=\{-1,0,1\}\) is the convex hull of points \(\pm 2,1\pm i,-1\pm i\). \(\beta \Omega \) is marked by dotted lines, it can obviously by covered by the union of \(\Omega \), \(\Omega +1\) and \(\Omega -1\)

Remark 7

Representations considered by Rényi, Akiyama and Scheicher, Ito and Sadahiro, or Thurston, all share the following feature: The leading index L of the \((\beta ,\mathcal {A})\)-representation of a number x is closely related to the modulus of |x|. More precisely, there exists a constant \(c>0\) such that for every \(x\ne 0\), one has

$$\begin{aligned} |x|\ge c|\beta |^L. \end{aligned}$$
(4)

For example, consider the \((\beta ,\mathcal {A})\)-representation of a non-zero \(x\in \mathbb {C}\) obtained from Theorem 4. Its leading index L is found as the maximal integer such that \(\frac{x}{\beta ^{L-1}}\notin \Omega \). Then we have

$$\begin{aligned} \frac{|x|}{|\beta |^{L-1}} \ge \inf \{|z|:z\in \mathbb {C},\,z\notin \Omega \}>0. \end{aligned}$$

The last inequality follows from the assumption that 0 is an interior point of \(\Omega \). This gives the estimate (4).

3 Eventually periodic representations in Pisot bases

As we already mentioned, the question of the existence of an alphabet that allows \(\mathbb {Q}(\beta )\) to have periodic expansions is already solved for real bases \(\beta \) such that \(|\beta |\) is a Pisot number, as a direct consequence of Schmidt’s result.

For negative base \(-\beta <-1\) described in Example 3, an analogous result to the one of Schmidt was proved by Frougny and Lai in [13]. In this case, if \(\beta \) is Pisot, then all the elements of \(\mathbb {Q}(\beta )\) admit periodic expansions with the alphabet \(\{0,1,\ldots ,\lfloor \beta \rfloor \}.\)

Let us focus on a general case. The equality \(\mathrm{Per}_\mathcal {A}(\beta )=\mathbb {Q}(\beta )\) automatically implies that \(\mathcal {A}\subset \mathbb {Q}(\beta )\). We will now show that if every element of \(\mathbb {Q}(\beta )\) can be represented by an eventually periodic sequence of digits from \(\mathcal {A}\subset \mathbb {Q}(\beta )\), then the same is true for a finite alphabet \(\mathcal {A}'\subset \mathbb {Z}\).

Lemma 8

Fix \(\beta \in \mathbb {C}\), \(|\beta |>1\).

  1. 1.

    Let \(\mathcal {A}\subset \mathbb {Q}(\beta )\) be such that every element of \(\mathbb {Q}(\beta )\) has a \((\beta ,\mathcal {A})\)-representation. Then there exists an alphabet \(\mathcal {A}'\subset \mathbb {Z}\) such that every element of \(\mathbb {Q}(\beta )\) has a \((\beta ,\mathcal {A}')\)-representation.

  2. 2.

    Let \(\mathcal {A}\subset \mathbb {Q}(\beta )\) be such that every element of \(\mathbb {Q}(\beta )\) has an eventually periodic \((\beta ,\mathcal {A})\)-representation. Then there exists an alphabet \(\mathcal {A}'\subset \mathbb {Z}\) such that every element of \(\mathbb {Q}(\beta )\) has an eventually periodic \((\beta ,\mathcal {A}')\)-representation.

  3. 3.

    Suppose there exists \(c>0\) such that every \(x\in \mathbb {Q}(\beta )\) has a \((\beta ,\mathcal {A})\)-representation for which \(|x|\ge c\cdot |\beta |^{L}\) where L is the leading index. Then there exists \(\mathcal {A}'\subset \mathbb {Z}\), \(c'>0\) such that every \(x\in \mathbb {Q}(\beta )\) has a \((\beta ,\mathcal {A}')\)-representation for which \(|x|\ge c'\cdot |\beta |^{L'}\) where \(L'\) is the leading digit.

Proof

Let \(\mathcal {A}\) be as in item 1 of the lemma. Since each \(a\in \mathcal {A}\) is an element of \(\mathbb {Q}(\beta )\), we may express it in the form \(a=(p_{0}+p_{1}\beta +\cdots +p_{d-1}\beta ^{d-1})/{Q}\), where \(p_{i}\in \mathbb {Z}\), \(Q\in \mathbb {N}\), and \(d\in \mathbb {N}\). Note that d and Q do not depend on a. Let us take \(x\in \mathbb {Q}(\beta )\) arbitrarily. By assumption, there exists a sequence \((a_{k})_{k=-L}^{\infty }\) of digits in \(\mathcal {A}\) such that

$$\begin{aligned} x=\sum _{k\ge -L}a_{k}\beta ^{-k}=\sum _{k\ge -L}\left( \frac{p_{0}^{(k)}+p_{1}^{(k)}\beta +\cdots +p_{d-1}^{(k)}\beta ^{d-1}}{Q}\right) \beta ^{-k}. \end{aligned}$$

Multiplying out the bracket, we see that x can be expressed as

$$\begin{aligned} x=\sum _{k\ge -L-d+1}\left( \frac{b_{k}}{Q}\right) \beta ^{-k}, \end{aligned}$$
(5)

where each \(b_{k}\in \mathbb {Z}\) is the sum of at most d elements from the finite set \(\{p_{i}^{(j)}\}_{i,j}\). Thus there exists \(M\in \mathbb {N}\) such that \(|b_{k}|\le M\) for all k. Every element of \(\mathbb {Q}(\beta )\) therefore has a representation in base \(\beta \) and alphabet \(\frac{1}{Q}\mathcal {A}'\), where \(\mathcal {A}'=\{-M,-M+1,\ldots ,0,1,\dots ,M\}\).

Now take arbitrary \(y\in \mathbb {Q}(\beta )\) and consider y / Q. Since \(y/Q\in \mathbb {Q}(\beta )\), by the above there exists a sequence \((c_{k})_{k\ge -L}\) with \(c_k\in \mathcal {A}'\) such that

$$\begin{aligned} \frac{y}{Q}=\sum _{k\ge -L}\left( \frac{c_{k}}{Q}\right) \beta ^{-k}. \end{aligned}$$

Multiplying through by Q yields a \((\beta ,\mathcal {A}')\)-representation \(y=\sum _{k\ge -L}c_{k}\beta ^{-k}\). This proves item 1.

To prove item 2 we remark that in (5) the quantity \(b_{k}\) depends only upon \(a_{k},\ldots ,a_{k-d+1}\). Therefore, if \((a_{k})_{k=-L}^{\infty }\) is eventually periodic so is \((b_{k})_{k=-L+d-1}^{\infty }\). Thus, if every \(x\in \mathbb {Q}(\beta )\) has an eventually periodic \((\beta ,\mathcal {A})\)-representation, then every \(x\in \mathbb {Q}(\beta )\) has an eventually periodic \((\beta ,\frac{1}{Q}\mathcal {A}')\)-representation. Further, if x / Q has an eventually periodic \((\beta ,\frac{1}{Q}\mathcal {A}')\)-representation then x has an eventually periodic \((\beta ,\mathcal {A}')\)-representation. Since x is arbitrary, item 2 of our lemma holds.

To prove item 3 we begin by fixing \(x\in \mathbb {Q}(\beta )\). Consider x / Q, suppose it has a \((\beta ,\mathcal {A})\)-representation with leading digit L which satisfies \(|x/Q|\ge c\cdot \beta ^{L}\). By (5) we see that x / Q has a \((\beta ,\frac{1}{Q}\mathcal {A}')\)-representation with leading digit \(L'\). We remark that by (5), we have \(L'\le L+d-1\). Multiplying through by Q we see that x has a \((\beta ,\mathcal {A}')\)-representation with leading digit \(L'\). Using the inequalities \(|x/Q|\ge c\cdot |\beta |^{L}\) and \(L'\le L+d-1\) we obtain \(|x|\ge c'\cdot |\beta |^{L'}\) where \(c'=Qc|\beta |^{-d+1}\). The parameter \(c'\) has no dependence on x, so we may conclude item 3 from our lemma. \(\square \)

Lemma 8 will often allow us to assume, without loss of generality, that an alphabet \(\mathcal {A}\) satisfies \(\mathcal {A}\subset \mathbb {Z}\).

First we show that negative Pisot and complex Pisot numbers admit an alphabet such that every element of the field \(\mathbb {Q}(\beta )\) can be represented by an eventually periodic sequence. This is a generalization of one of the implications of the theorem of Schmidt [22].

Lemma 9

Let \(\beta \) or \(-\beta \) be a Pisot number, or let \(\beta \) be a complex Pisot number. Let \(\mathcal {A}\subset \mathbb {Q}(\beta )\) be a finite alphabet of digits. If an \(x\in \mathbb {Q}(\beta )\) has a \((\beta ,\mathcal {A})\)-representation with leading index L, then it has an eventually periodic \((\beta ,\mathcal {A})\)-representation with leading index L.

Proof

Let \(x\in \mathbb {Q}(\beta )\) and let \(x=\sum _{k\ge -L}a_k\beta ^{-k}\), \(a_{-L}\ne 0\). For \(n\ge -L\), define

$$\begin{aligned} T_n:=\beta ^n\left( x-\sum _{k=-L}^na_k\beta ^{-k}\right) = \frac{a_{n+1}}{\beta }+\frac{a_{n+2}}{\beta ^2}+\cdots \in \mathbb {Q}(\beta ). \end{aligned}$$

Since

$$\begin{aligned} \big |\frac{a_{n+1}}{\beta }+\frac{a_{n+2}}{\beta ^2}+\cdots \big |\le \max \{a:a\in \mathcal {A}\} \sum _{j=1}^\infty \frac{1}{|\beta |^j}, \end{aligned}$$
(6)

the sequence \((T_n)_{n\ge -L}\) is bounded. Let \(\beta '\) be a conjugate of \(\beta \) and let \(\sigma \) be the field isomorphism induced by \(\beta \mapsto \sigma (\beta )=\beta '\). If \(\beta \) is complex and \(\beta '=\overline{\beta }\), then \(\big (\sigma (T_n)\big )_{n\ge -L}\) is bounded due to (6). For all other conjugates of \(\beta \), consider

$$\begin{aligned} \begin{aligned} \big |\sigma (T_n)\big |&= \big |\sigma (\beta ^nx - a_n - a_{n-1}\beta - \cdots - a_{-L}\beta ^{n+L})\big | \\&\le |\beta '|^n|\sigma (x)| + \max \{|a|:a\in \mathcal {A}\}\cdot \sum _{j=0}^\infty {|\beta '|^j}. \end{aligned} \end{aligned}$$

As \(|\beta '|<1\), the sequence \(\big (\sigma (T_n)\big )_{n\ge -L}\) is bounded for any isomorphism \(\sigma \).

Recall that \(\beta \) is an algebraic integer, and thus for any \(H>0\) the set

$$\begin{aligned} \{z\in \mathbb {Z}[\beta ]:|\sigma (z)|<H \text { for every isomorphism }\sigma \} \end{aligned}$$

is finite. Since \(x\in \mathbb {Q}(\beta )\) and \(\mathcal {A}\subset \mathbb {Q}(\beta )\), we can find \(Q\in \mathbb {N}\) such that \(x\in \frac{1}{Q}\mathbb {Z}[\beta ]\) and \(\mathcal {A}\subset \frac{1}{Q}\mathbb {Z}[\beta ]\) . Obviously, also \(Q T_n\in \mathbb {Z}[\beta ]\) for every \(n\ge -L\). Therefore the elements of the sequence \((T_n)_{n\ge -L}\) take only finitely many values. In particular, there exist indices \(n<n+l\) such that \(T_n=T_{n+l}\). Thus

$$\begin{aligned} T_n = \frac{a_{n+1}}{\beta }+\cdots +\frac{a_{n+l}}{\beta ^l}+\frac{1}{\beta ^l}T_n. \end{aligned}$$

Thus we have obtained an eventually periodic representation with the period l, the repeated string is \(a_{n+1}\ldots a_{n+l}. \) \(\square \)

We have seen in Remark 6 that for any complex base \(\beta \) with \(|\beta |>1\), one can find an alphabet so that every complex number can be represented. Moreover, by Remark 7, the \((\beta ,\mathcal {A})\)-representations satisfy property (4). Therefore, by Lemma 9, if \(\beta \) is a complex Pisot number, all elements of the field \(\mathbb {Q}(\beta )\) have eventually periodic \((\beta ,\mathcal {A})\)-representations satisfying (4). This leads us to a partial answer to our original question.

Theorem 10

For a base \(\beta \), which is Pisot, complex Pisot, or the negative of a Pisot number, one can find an alphabet \(\mathcal {A}\subset \mathbb {Z}\) so that every \(x\in \mathbb {Q}(\beta )\) has eventually periodic \((\beta ,\mathcal {A})\)-representation.

However, Pisot and complex Pisot bases are not the only bases for which an eventually periodic \((\beta ,\mathcal {A})\)-representation of all elements of \(\mathbb {Q}(\beta )\) can be found.

Example 11

Let \(\beta =\sqrt{5}\), \(\mathcal {A}=\{-2,-1,0,1,2\}\). Every \(x\in \mathbb {Q}(\beta )\) can be written in the form \(x=x_1+x_2\sqrt{5}\), where \(x_1,x_2\in \mathbb {Q}\). Numbers \(x_1,x_2\) have eventually periodic representations in base \(\gamma =5\) and alphabet \(\mathcal {A}\), say \(x_1=\sum _{k\ge -L_1}b_k5^{-k}\), \(x_2=\sum _{k\ge -L_2}c_k5^{-k}\). Together, we can write

$$\begin{aligned} x=\sum _{k\ge -L_1} b_k\beta ^{-2k} + \sum _{k\ge -L_2} c_k\beta ^{-2k+1}. \end{aligned}$$

The resulting representation of x in base \(\beta \) is also eventually periodic.

In the same way, one can construct eventually periodic representations of numbers in \(\mathbb {Q}(\beta )\) in systems where \(\beta \) is any root of any Pisot or complex Pisot number.

Corollary 12

Let \(\gamma \in \mathbb {C}\), \(|\gamma |>1\), and \(\mathcal {A}\subset \mathbb {Z}\) be finite such that every \(x\in \mathbb {Q}(\gamma )\) has an eventually periodic \((\gamma ,\mathcal {A})\)-representation. Let \(m\in \mathbb {N}\) and \(\beta \) be such that \(\gamma =\beta ^m\). Then any \(x\in \mathbb {Q}(\beta )\) has an eventually periodic \((\beta ,\mathcal {A})\)-representation.

Proof

Obviously \(\mathbb {Q}(\gamma )\) is a subfield of \(\mathbb {Q}(\beta )\) of dimension \(d=[\mathbb {Q}(\beta ):\mathbb {Q}(\gamma )]\). Then \(1,\beta ,\ldots ,\beta ^{d-1}\) forms a basis of \(\mathbb {Q}(\beta )\) over \(\mathbb {Q}(\gamma )\). Every \(x\in \mathbb {Q}(\beta )\) can thus be written as \(x=\sum _{i=0}^{d-1}x_i\beta ^{i}\), where \(x_i\in \mathbb {Q}(\gamma )\). By the assumption, every \(x_i\) has an eventually periodic \((\gamma ,\mathcal {A})\)-representation. Obviously, one can write these representations in such a way that the period is common for every \(x_i\). The eventually periodic \((\beta ,\mathcal {A})\)-representation of x can be found realizing that every power of \(\gamma \) can be written as \(\gamma ^k=\beta ^{mk}\). \(\square \)

4 Weak greedy expansions

In Example 11 the representations of elements in \(\mathbb {Q}(\sqrt{5})\) were not obtained by any transformation of the type (2). It is natural to ask whether these representations also satisfy property (4), i.e. the modulus of x is proportional to the modulus of \(\beta ^L\), where L is the leading index of the representation. The answer to such question is negative: One can always find sequences of rational integers \((x_1^{(n)})_{n\ge 0},(x_2^{(n)})_{n\ge 0}\) such that \(x_i^{(n)}\ \rightarrow \ +\infty \), as n tends to \(\infty \), while \(x^{(n)}=x_1^{(n)}+x_2^{(n)}\sqrt{5}\ {\rightarrow }\ 0\). Moreover, since \(x^{(n)}\in \mathbb {Q}(\sqrt{5})\), \(x^{(n)}=\sum _{k\ge -L}a_k^{(n)}(\sqrt{5})^{-k}\) implies that

$$\begin{aligned} x_1^{(n)} = \sum _{2k\ge -L}a_{2k}^{(n)}5^{-k},\quad x_2^{(n)} = \sum _{2k+1\ge -L}a_{2k+1}^{(n)}5^{-k-1}. \end{aligned}$$

At the same time, representations of rational integers in base \(\gamma =5\) and alphabet \(\mathcal {A}=\{-2,\ldots ,2\}\) are unique. Therefore, since \(x_i^{(n)}\ \rightarrow \ +\infty \), the leading indices of the representations of \(x_i^{(n)}\) tend to infinity. Therefore one cannot find a constant \(c>0\) so that property (4) holds in Example 11.

This leads us to the following definition.

Definition 13

Given \(\beta \in \mathbb {C},\) \(|\beta |>1,\) \(\mathcal {A}\subset \mathbb {Q}(\beta ),\) and \(c>0\), we say that a sequence \((a_{k})_{k=-L}^{\infty }\) is a weak greedy \((\beta ,\mathcal {A})\)-representation for x with respect to c if \(x=\sum _{k\ge -L}a_{k}\beta ^{-k}\) and \(|x|\ge c|\beta |^{L}.\)

Remark 14

Suppose \(x=\sum _{k\ge -L}a_{k}\beta ^{-k}\). Clearly \(x-a_{-L}\beta ^{L}=\sum _{k\ge -L+1}a_{k}\beta ^{-k}\), if \((a_{k})_{k=-L}^{\infty }\) were not a weak greedy \((\beta ,\mathcal {A})\)-representation for x with respect to \(c=2^{-1}\cdot \min \{|a_{k}|\},\) then we would have \(|x-a_{-L}\beta ^{L}|>x\). One might expect that a reasonable algorithm for generating \((\beta ,\mathcal {A})\)-representations would be one for which \(|x-a_{-L}\beta ^{L}|<x\), that is one for which after applying the first step of the algorithm, i.e. determining the first digit, one is left with a smaller number with which one has to construct a \((\beta ,\mathcal {A})\)-representation. This idea is the motivation behind Definition 13. Intuitively the quantity c describes how effectively an algorithm determines the leading digit.

Lemma 15

Let \(\beta \in \mathbb {R}\), \(|\beta |>1\), be an algebraic number. Assume that there exist \(m\in \mathbb {Z}, m>0\) such that \(\mathbb {Q}(\beta ^m)\ne \mathbb {Q}(\beta )\). Then one cannot find an alphabet \(\mathcal {A}\subset \mathbb {Q}(\beta )\) and a constant \(c>0\), so that every \(x\in \mathbb {Q}(\beta )\) has an eventually periodic weak greedy \((\beta ,\mathcal {A})\)-representation with respect to c.

Proof

We prove the lemma by contradiction. Suppose that \(\beta \) admits an alphabet \(\mathcal {A}\) and a constant \(c>0\) so that every \(x\in \mathbb {Q}(\beta )\) has an eventually periodic weak greedy \((\beta ,\mathcal {A})\)-representation with respect to c.

Since \(\beta \in \mathbb {R}\) and \(\mathbb {Q}(\beta ^m)\ne \mathbb {Q}(\beta )\), \(\beta \) is irrational. Therefore one can find two sequences of integers \(x_0^{(n)}\) and \(x_1^{(n)}\) such that \(x^{(n)}:=x_0^{(n)}+x_1^{(n)}\beta \rightarrow 0\) and \(|x_i^{(n)}| \rightarrow +\infty \) as n tends to infinity.

Denote \(\gamma =\beta ^m\) and take the eventually periodic \((\beta ,\mathcal {A})\)-representation of \(x^{(n)}\) with the leading coefficient \(L_n\) satisfying (4). Then

$$\begin{aligned} x^{(n)} = \sum _{i\ge -L_n}a^{(n)}_i\beta ^{-i} = A^{(n)}_0 + A^{(n)}_1\beta + \cdots +A^{(n)}_{m-1} \beta ^{m-1}, \end{aligned}$$

where

$$\begin{aligned} A^{(n)}_{m-j} = \sum _{mi+j\ge -L_n} a^{(n)}_{mi+j} \gamma ^{-i-1} \quad \hbox {for} \ j=1,\ldots , m. \end{aligned}$$

The numbers \(A^{(n)}_{m-j}\) belong to \(\mathbb {Q}(\gamma )\) since the sequence of digits \((a^{(n)}_{mi+j})_{i\ge -L_n}\) is eventually periodic. As \(x^{(n)}\rightarrow 0\), the inequality (4) implies \(L_n \rightarrow -\infty \) and thus for every \(j=0,1,\ldots , m-1\), \( A^{(n)}_j \rightarrow 0\) with \(n\rightarrow \infty \).

Note that by the assumption \(\mathbb {Q}(\beta ^m)\ne \mathbb {Q}(\beta )\), we have \(1<[\mathbb {Q}(\beta ):\mathbb {Q}(\gamma )]<+\infty \). In particular, there exist \(d\in \mathbb {N}\), \(d\ge 2\), such that \(1,\beta ,\ldots ,\beta ^{d-1}\) forms a basis for \(\mathbb {Q}(\beta )\) over \(\mathbb {Q}(\gamma )\). This means that for \(k\ge d\), one can express \(\beta ^k\) as a linear combination of \(1,\beta ,\ldots ,\beta ^{d-1}\) with coefficients in \(\mathbb {Q}(\gamma )\). We can therefore write for \(x^{(n)}\),

$$\begin{aligned} x_0^{(n)}+x_1^{(n)}\beta = \ x^{(n)} = B^{(n)}_0 + B^{(n)}_1\beta + \cdots +B^{(n)}_{d-1} \beta ^{d-1}, \end{aligned}$$
(7)

where \( B^{(n)}_k\) is a linear combination of at most \( m-d\) numbers \(A^{(n)}_j\) with coefficients from \(\mathbb {Q}(\gamma )\). Consequently, \(\ B^{(n)}_k \in \mathbb {Q}(\gamma )\) and \( B^{(n)}_k \rightarrow 0\) with \(n\rightarrow \infty \) for \(k=0,1,\ldots , d-1\). However, the expression of \(x^{(n)}\) in the form (7) is unique, therefore \(B^{(n)}_0=x_0^{(n)}\). This leads to contradiction, since by assumption, we have \(|x_0^{(n)}|\rightarrow +\infty \). \(\square \)

Remark 16

One can extend the statement of Lemma 15 to complex bases \(\beta \) which do not generate imaginary quadratic fields. For \(\beta \in \mathbb {C}{\setminus }\mathbb {R}\), the set \(\mathbb {Z}+\mathbb {Z}\beta \) is not dense in \(\mathbb {C}\). However, \(\mathbb {Z}+\mathbb {Z}\beta +\mathbb {Z}\beta ^2\) is, if \(\beta \) is not quadratic. Therefore one finds a sequence \(x^{(n)}:=x_0^{(n)}+x_1^{(n)}\beta +x_2^{(n)}\beta ^2\rightarrow 0\) with \(x_i^{(n)}\in \mathbb {Z}\) such that \(|x_i^{(n)}| \rightarrow +\infty \). The rest of the proof remains the same. Note that exclusion of non-real quadratic bases is not a problem: For such bases we know the answer for the question about weak greedy expansions. If \(\beta \) is an algebraic integer, then it is a complex Pisot number, and by Theorem 10 eventually periodic weak greedy expansions can be found. On the other hand, it will be shown in the following proposition, that algebraic non-integers do not possess this property.

Proposition 17

Let \(\beta \in \mathbb {C}\), \(|\beta |>1\). Suppose that there exist \(\mathcal {A}\subset \mathbb {Q}(\beta )\) and \(c>0\) such that every element of \(\mathbb {Q}(\beta )\) has an eventually periodic weak greedy \((\beta ,\mathcal {A})\)-representation with respect to c. Then \(\beta \) is an algebraic integer and for every conjugate \(\beta '\) of \(\beta \) it holds that \(|\beta '|=|\beta |\) or \(|\beta '|\le 1\).

Proof

By Lemma 8 we may assume that \(\mathcal {A}\subset \mathbb {Z}\). First we show that for any \(\beta \) there exists a strictly increasing sequence of integers \((k_n)_{n\ge 0}\) such that

$$\begin{aligned} \lim _{n\rightarrow \infty } \frac{\mathfrak {I}\beta ^{k_n}}{\beta ^{k_n}} = 0. \end{aligned}$$
(8)

Denote \(r,\varphi \) real numbers such that \(\beta =re^{2\pi i\varphi }\). If \(\varphi \) is rational, \(\varphi =\frac{p}{q}\), then set \(k_n=q^n\). Thus \(\beta ^{k_n}\in \mathbb {R}\) and \(\mathfrak {I}\beta ^{k_n}=0\). Suppose that \(\varphi \notin \mathbb {Q}\). Then 0 is a limit point of the sequence \(n\varphi \mod 1\). Therefore one can find a sequence \((k_n)_{n\ge 0}\) such that \(k_n\varphi \mod 1\rightarrow 0\). Write

$$\begin{aligned} \beta ^{k_n} = |\beta |^{k_n} \big (\cos (2\pi k_n\varphi ) + i \sin (2\pi k_n\varphi )\big ), \end{aligned}$$

whence

$$\begin{aligned} \left| \frac{\mathfrak {I}\beta ^{k_n}}{\beta ^{k_n}}\right| = \left| \frac{\frac{1}{|\beta |^{k_n}}\mathfrak {I}\beta ^{k_n}}{\frac{1}{|\beta |^{k_n}}\beta ^{k_n}}\right| = \left| \frac{\sin (2\pi k_n\varphi )}{\cos (2\pi k_n\varphi ) + i \sin (2\pi k_n\varphi )}\right| . \end{aligned}$$

Since \(\sin (2\pi k_n\varphi )\rightarrow 0\) and \(\cos (2\pi k_n\varphi )\rightarrow 1\), relation (8) is satisfied.

Denote \(N:=\lfloor \mathfrak {R}\beta ^{k_n} \rfloor \in \mathbb {Z}\), \(y_n:=\beta ^{k_n}-N \in \mathbb {Q}(\beta )\). We have \(y_n=\mathfrak {R}\beta ^{k_n} - \lfloor \mathfrak {R}\beta ^{k_n} \rfloor +i\mathfrak {I}\beta ^{k_n}\). Denoting further \(\varepsilon _n:=\frac{\mathfrak {I}\beta ^{k_n}}{\beta ^{k_n}}\), and realizing that \(\mathfrak {R}\beta ^{k_n}- \lfloor \mathfrak {R}\beta ^{k_n} \rfloor \in (0,1)\), we can estimate

$$\begin{aligned} |y_n| \le \big (\mathfrak {R}\beta ^{k_n}- \lfloor \mathfrak {R}\beta ^{k_n}\rfloor \big ) + |\mathfrak {I}\beta ^{k_n}| \le 1+ |\varepsilon _n| |\beta ^{k_n}|. \end{aligned}$$

By assumption, \(y_n\) has an eventually periodic \((\beta ,\mathcal {A})\)-representation \(y_n = \sum _{k\ge -l(y_n)}a_k\beta ^{-k}\) with leading index \(l(y_n)\) satisfying

$$\begin{aligned} \frac{|y_n|}{|\beta ^{l(y_n)}|} \ge c. \end{aligned}$$

Combining this with the above, we can write \(c|\beta ^{l(y_n)}| \le |y_n| \le 1+|\varepsilon _n| |\beta ^{k_n}|\), which further implies that

$$\begin{aligned} c|\beta ^{l(y_n)-k_n}| \le \frac{1}{|\beta ^{k_n}|}+|\varepsilon _n| \rightarrow 0. \end{aligned}$$

As a consequence, we have for the sequence of exponents

$$\begin{aligned} \lim _{n\rightarrow \infty } (l(y_n) - k_n) = -\infty . \end{aligned}$$
(9)

Take n sufficiently large such that \(k_n>l(y_n)\). We can derive that the integer \(N=\beta ^{k_n}-y_n\) has an eventually periodic \((\beta ,\mathcal {A})\)-representation of the form

$$\begin{aligned} N=\beta ^{k_n} - \sum _{k\ge -l(y_n)}a_k\beta ^{-k} = \beta ^{k_{n}} - a_{l(y_n)}\beta ^{l(y_n)} -\cdots - a_{-r}\beta ^{-r} - \frac{z}{\beta ^r(\beta ^s-1)}, \end{aligned}$$
(10)

where \(z=\sum _{i=0}^{s-1}b_i\beta ^i\), with \(b_i\in \mathcal {A}\), \(r,s\in \mathbb {Z}\), \(r\ge 0\), and s is the period. Multiplying (10) by \(\beta ^r(\beta ^s-1)\), we find that \(\beta \) is a zero of a polynomial

$$\begin{aligned} P(x) :=x^{k_n}(x^s-1)x^r-Nx^r(x^s-1) - g(x), \end{aligned}$$

where \(g\in \mathbb {Z}[x]\) is such that \(\deg (g)\le r+ s+ l(y_n)<r+ s+ k_n\). Since P is monic, \(\beta \) is an algebraic integer.

Suppose that there exists a conjugate \(\gamma \ne \beta \) of \(\beta \) such that \(|\gamma |>1\). Consider the field isomorphism \(\sigma \) induced by \(\beta \mapsto \gamma \). We apply \(\sigma \) to N as given in (10),

$$\begin{aligned} N=\gamma ^{k_n} - a_{l(y_n)}\gamma ^{l(y_n)} -\cdots - a_0\gamma ^0 - \frac{\sigma (z)}{\gamma ^r(\gamma ^s-1)}. \end{aligned}$$

Subtracting from (10), we obtain

$$\begin{aligned} 0=\beta ^{k_n}-\gamma ^{k_n} - \sum _{k\ge - l(y_n)}a_k(\beta ^{-k}-\gamma ^{-k}). \end{aligned}$$

We thus estimate

$$\begin{aligned}&|\beta ^{k_n}-\gamma ^{k_n}|\le K(|\beta |^{l(y_n)}+|\gamma |^{l(y_n)}),\quad \text { where }\\&\quad K=\max \{|a|:a\in \mathcal {A}\}\cdot \max \left\{ \frac{|\beta |}{|\beta |-1},\frac{|\gamma |}{|\gamma |-1}\right\} . \end{aligned}$$

If \(|\gamma |\ne |\beta |\), then assume without loss of generality \(|\beta |>|\gamma |\), and thus

$$\begin{aligned} |\beta |^{k_n-l(y_n)}\Big |1-\big ({|\gamma |}/{|\beta |}\big )^{k_n}\Big |\le K\Big (1+\big ({|\gamma |}/{|\beta |}\big )^{l(y_n)}\Big )<2K. \end{aligned}$$

This is impossible due to (9). \(\square \)

Theorem 18

Given \(\beta \in \mathbb {R}\), \(|\beta |>1\). Suppose there exists a finite alphabet \(\mathcal {A}\subset \mathbb {Q}(\beta )\) and a constant \(c>0\) such that every \(x\in \mathbb {Q}(\beta )\) has an eventually periodic weak greedy \((\beta ,\mathcal {A})\)-representation with respect to c. Then \(|\beta |\) is a Pisot number or a Salem number.

To prove Theorem 18 we make use of the following result due to Ferguson [11].

Theorem 19

Suppose that the irreducible polynomial \(f(x)\in \mathbb {Z}[x]\) has m roots, at least one real, on the circle \(|z| = r\). Then \(f(x) = g(x^m)\) where g(x) has no more than one real root on any circle in \(\mathbb {C}\).

Proof of Theorem 18

By Proposition 17, if \(\beta \) satisfies the hypothesis of our theorem then it is an algebraic integer with conjugates \(\beta '\) satisfying either \(|\beta '|\le 1\), or \(|\beta '| = |\beta |\). If all conjugates lie in the closed unit disc, then \(|\beta |\) is a Pisot or Salem number.

Suppose that there exist a conjugate of \(\beta \) satisfying \(|\beta '|=|\beta |\). Then by Theorem 19, we have for the minimal polynomial of \(\beta \) that \(f(x)=g(x^m)\), where \(m\ge 2\) is the number of conjugates on the circle of radius \(|\beta |\). Moreover, g has at most one real root on every circle in the complex plane. Thus \(\beta ^m=\gamma \) for \(\gamma \) some root of g, and since the degree of g is strictly smaller than the degree of f, we have \(\mathbb {Q}(\beta )\ne \mathbb {Q}(\gamma )\). By Lemma 15 we may conclude that \(\beta \) does not allow weak greedy representations for any c. \(\square \)

Focusing on real bases and non-negative alphabets, Theorem 18 yields the following theorem which can be seen as a more direct generalization of the result of Schmidt.

Corollary 20

Fix \(\beta >1\). Suppose there exists a finite alphabet \(\mathcal {A}\subset \mathbb {Q}(\beta )\cap [0,\infty )\) such that every \(x\in \mathbb {Q}(\beta )\cap [0,\infty )\) has an eventually periodic \((\beta ,\mathcal {A})\)-representation, then \(\beta \) is a Pisot or a Salem number.

Proof

For a positive real \(\beta >1\) and a non-negative alphabet, any representation of a positive number is weak greedy with respect to some \(c>0\). More precisely, if \(x\in \mathbb {Q}(\beta )\cap [0,\infty )\) has a \((\beta ,\mathcal {A})\)-representation, then one automatically has that \(x\ge c\beta ^{L},\) where L is the leading digit in the \((\beta ,\mathcal {A})\)-representation and c is a constant depending on \(\mathcal {A}\). Therefore the assumptions of Theorem 18 are satisfied. \(\square \)

5 Numeration systems allowing parallel addition

In this section we show that when a base \(\beta \) and an alphabet \(\mathcal {A}\) allow parallel addition of \((\beta ,\mathcal {A})\)-representations, then the question of finding eventually periodic representation of every element of \(\mathbb {Q}(\beta )\) is simplified.

Definition 21

Let \(\beta \in \mathbb {C}\), \(|\beta |>1\), and \(\mathcal {A}\subset \mathbb {C}\) finite, \(0\in \mathcal {A}\). Denote \(\mathcal {B}=\mathcal {A}+\mathcal {A}\). We say that \((\beta ,\mathcal {A})\) allows parallel addition if there exist \(t,r\in \mathbb {N}\) and \(\Phi :\mathcal {B}^{t+r+1}\rightarrow \mathcal {A}\) such that

  • \(\Phi (0^{t+r+1})=0\);

  • For every \(x=\sum _{k\in \mathbb {Z}}x_k\beta ^{-k}\) with \(x_k=0\) for \(k< L\) for some L and \(x_k\in \mathcal {B}\), it holds that \(x=\sum _{k\in \mathbb {Z}}z_k\beta ^{-k}\), where \(z_k=\Phi (x_{k-t}\cdots x_kx_{k+1}\cdots x_{k+r})\in \mathcal {A}\).

Theorem 22

[12, 14] Let \(\beta \in \mathbb {C}\), \(|\beta |>1\). Then there exists an alphabet \(\mathcal {A}\subset \mathbb {C}\) such that \((\beta ,\mathcal {A})\) allows parallel addition if and only if \(\beta \) is an algebraic number and \(|\beta '|\ne 1\) for every conjugate \(\beta '\) of \(\beta \). If this is the case, than one can choose a symmetric alphabet of integer digits, \(\mathcal {A}=\{-M,\ldots ,0,1,\ldots ,M\}\).

It is clear that every element of \(\mathbb {Z}\) can be written as a sum of finitely many elements of \(\mathcal {A}\). Then using parallel addition, one can easily derive the following statement.

Corollary 23

Let \(\beta \in \mathbb {C}\), \(|\beta |>1\), and let \(\mathcal {A}\subset \mathbb {Z}\) be a symmetric alphabet such that \((\beta ,\mathcal {A})\) allows parallel addition. Denote

$$\begin{aligned} \begin{aligned} \mathrm{Fin}_\mathcal {A}(\beta )&= \left\{ \sum _{k\in I} a_k\beta ^{-k} : I\subset \mathbb {Z},\, I\text { finite},\, a_k\in \mathcal {A}\right\} ,\\ \mathrm{Per}_\mathcal {A}(\beta )&= \left\{ \sum _{k\ge -L} a_k\beta ^{-k} : L\in \mathbb {Z},\, a_k\in \mathcal {A},\, a_{-L}a_{-L+1}a_{-L+2}\cdots \text { eventually periodic}\right\} . \end{aligned} \end{aligned}$$

Then

  1. 1.

    \(\mathrm{Fin}_\mathcal {A}(\beta )\subset \mathrm{Per}_\mathcal {A}(\beta )\);

  2. 2.

    \(\mathrm{Fin}_\mathcal {A}(\beta )\), \(\mathrm{Per}_\mathcal {A}(\beta )\) are closed under addition and subtraction;

  3. 3.

    \(\mathrm{Fin}_\mathcal {A}(\beta )\) is closed under multiplication;

  4. 4.

    \(\mathrm{Fin}_\mathcal {A}(\beta )\cdot \mathrm{Per}_\mathcal {A}(\beta )\subset \mathrm{Per}_\mathcal {A}(\beta )\);

  5. 5.

    \(\mathrm{Fin}_\mathcal {A}(\beta ) = \mathbb {Z}[\beta ,\beta ^{-1}]\).

Example 24

Let us illustrate how the above corollary can be used to find an eventually periodic expansion of the number 1 / 5 in base \(\beta =\tfrac{3}{2}\). This base is chosen as the most simple example of an algebraic non-integer base. The base \(\beta =\tfrac{3}{2}\) allows parallel addition algorithm in the alphabet \(\mathcal {A}=\{-2,\ldots ,2\}\). Addition is done via conversion of digits in \(\mathcal {A}+\mathcal {A}\) back into the alphabet \(\mathcal {A}\). Note that the “for” loop in the following algorithm is supposed to be computed for all the indices j at the same time.

figure a

Using this algorithm, we can sum the elements of \(\mathrm{Per}_\mathcal {A}(\beta )\). Note that the algorithm takes on the input a representation over the alphabet \(\{-3,\ldots ,3\}\), thus addition must be usually done in two steps. In the following, we will use the notation \(a_k\ldots a_0\bullet a_{-1}\ldots \) for the \((\beta ,\mathcal {A})\)-representation \(\sum _{i\le k}a_i\beta ^i\).

Let us now find an eventually periodic \((\beta ,\mathcal {A})\)-representation of \(\tfrac{1}{5}.\) We have \(3^4\equiv 2^4\equiv 1\mod 5,\) in particular \(3^4-2^4=13\cdot 5.\) Thus we obtain

$$\begin{aligned} \frac{1}{5}=\frac{13}{2^4}\cdot \frac{1}{(\tfrac{3}{2})^4-1}=\frac{13}{2^4}\cdot \sum _{k=1}^\infty \frac{1}{\beta ^{4k}}. \end{aligned}$$

The geometric series itself is already an eventually periodic \((\beta ,\mathcal {A})\)-representation \(0\bullet (0001)^\omega \). Furthermore, we have \(\tfrac{1}{2}=1(-1)\bullet \), from which \(\tfrac{13}{2^4} = 10(-1) 0(-2)\bullet \) can be computed by the usual grade-school multiplication followed by applying Algorithm 24 for the digit conversion. Altogether we obtain

$$\begin{aligned} \tfrac{1}{5}= \big (10(-1) 0(-2)\bullet \big ) \cdot \big (0\bullet (0001)^\omega \big )=1\bullet (0(-1))^\omega \end{aligned}$$

where again the usual multiplication was used, now (luckily) without the need of the digit conversion.

The approach to obtain eventually periodic expansion of \(\tfrac{1}{5}\) in base \(\beta =\frac{3}{2}\), illustrated in the above example, is generalized in the following theorem.

Theorem 25

Let \(\beta \in \mathbb {C}\) be an algebraic number of degree d, \(|\beta |>1\), and let \(a_dx^d-a_{d-1}x^{d-1}-\cdots -a_1x-a_0\in \mathbb {Z}[x]\) be its minimal polynomial. Suppose that

  1. 1.

    \(|\beta '|\ne 1\) for any conjugate \(\beta '\) of \(\beta \);

  2. 2.

    \(1/a_d\in \mathbb {Z}[\beta ,\beta ^{-1}]\).

Then there exists a finite alphabet \(\mathcal {A}\subset \mathbb {Z}\) such that \(\mathbb {Q}(\beta )=\mathrm{Per}_\mathcal {A}(\beta )\).

Proof

Consider a symmetric integer alphabet \(\mathcal {A}\) which allows for \(\beta \) parallel addition. Every \(x\in \mathbb {Q}(\beta )\) can be written in the form \(x=\frac{1}{q}(x_0+x_1\beta +\cdots +x_{d-1}\beta ^{d-1})\), where \(q\in \mathbb {N}\), \(x_0,\ldots ,x_{d-1}\in \mathbb {Z}\). Thanks to items 4 and 5 from Corollary 23, it is sufficient to show that \(1/q\in \mathrm{Per}_\mathcal {A}(\beta )\) for every \(q\in \mathbb {N}\). For simplicity of notation, denote \(a_d=a\). Suppose first that q and a are coprime. Let A and \(\vec {b}\) be defined as follows:

$$\begin{aligned} A:=\begin{pmatrix} a_{d-1} &{} \quad a_{d-2} &{} \quad \cdots &{} \quad a_1 &{} \quad a_0\\ a_d &{} \quad 0 &{} \quad \cdots &{} \quad 0 &{} \quad 0\\ 0 &{} \quad a_{d } &{} \quad \ddots &{}\quad 0 &{} \quad 0\\ \vdots &{} \quad \vdots &{} \quad \ddots &{}\quad \ddots &{} \quad \vdots \\ 0 &{}\quad 0 &{} \quad \cdots &{}\quad a_d &{}\quad 0 \end{pmatrix} \in \mathbb {Z}^{d\times d},\quad \vec {b}:=\begin{pmatrix} \beta ^{d-1}\\ \beta ^{d-2}\\ \vdots \\ \beta \\ 1 \end{pmatrix}. \end{aligned}$$

As \(a\beta ^d = a_{d-1}\beta ^{d-1}+\cdots +a_1\beta +a_0\), we have the relation

$$\begin{aligned} A \vec {b}=a\beta \vec {b}. \end{aligned}$$
(11)

On the set \(\{A^k : k\in \mathbb {N}\}\), define the relation \(\sim \) as follows: \(A^k\sim A^n\) if q divides every entry of the matrix \(A^k-A^n\). Obviously, \(\sim \) is an equivalence relation which partitions \(\{A^k : k\in \mathbb {N}\}\) into a finite number of equivalence classes. Therefore there exist indices \(m+l>m\ge 0\) such that \(A^{m+l}-A^m=A^m(A^l-I)=qC\) for a matrix \(C\in \mathbb {Z}^{d\times d}\). Since for any index n we have \(A^{ln}-I=(A^l-I)(I+A^l+\cdots +A^{(n-1)l})\), we can write

$$\begin{aligned} A^m(A^{ln}-I)=qD,\quad \text {for some }D\in \mathbb {Z}^{d\times d}. \end{aligned}$$
(12)

Now recall that a is coprime to q, thus there exists \(n\in \mathbb {N}\) such that \(a^n-1\in q\mathbb {Z}\). For example, take \(n=\varphi (q)\), where \(\varphi \) is the Euler totient function. This implies that for any \(j\in \mathbb {N}\), we have \(a^{nj}-1 \in q\mathbb {Z}\). Setting \(s=ln\), we obtain that

$$\begin{aligned} A^m(a^{s}I- I)= qE ,\quad \text {for some }E\in \mathbb {Z}^{d\times d}. \end{aligned}$$
(13)

Subtracting (13) from (12), we obtain for \(s=ln\) that

$$\begin{aligned} A^m(A^s-a^sI) = q Z,\quad \text {where } Z\in \mathbb {Z}^{d\times d}. \end{aligned}$$

Relation (11) then implies

$$\begin{aligned} A^m(A^s-a^sI) \vec {b}=a^{s+m}\beta ^m(\beta ^s-1) \vec {b} = q Z \,\vec {b}. \end{aligned}$$
(14)

The components of the vector \(Z\,\vec {b}\) all belong to \(\mathbb {Z}[\beta ]\). Denoting its last component by z, we obtain from (14) that \(a^{s+m}\beta ^m(\beta ^s-1)=qz\), whence we derive

$$\begin{aligned} \frac{1}{q} = z\cdot \frac{1}{a^{s+m}}\cdot \frac{1}{\beta ^m(\beta ^{s}-1)},\quad \text {for some } z\in \mathbb {Z}[\beta ]. \end{aligned}$$
(15)

The assumptions of the theorem together with items 5, 2, and 3 of Corollary 23 imply that

$$\begin{aligned} z\cdot \frac{1}{a^{s+m}}\cdot \frac{1}{\beta ^m}\in \mathrm{Fin}_\mathcal {A}(\beta ). \end{aligned}$$
(16)

Moreover,

$$\begin{aligned} \frac{1}{\beta ^s-1} = \sum _{i=1}^\infty \frac{1}{\beta ^{si}}\in \mathrm{Per}_\mathcal {A}(\beta ). \end{aligned}$$
(17)

By item 4 of Corollary 23, relations (15), (16), and (17) imply that \(\frac{1}{q}\in \mathrm{Per}_\mathcal {A}(\beta )\), as desired.

It remains to consider the case when \(\gcd (a,q)>1\). In this case \(q=r\overline{q}\), where \(\gcd (a,\overline{q})=1\). According to the above, we have \(\frac{1}{\overline{q}}\in \mathrm{Per}_\mathcal {A}(\beta )\). Moreover, \(a=r\overline{a}\) for some \(\overline{a}\in \mathbb {Z}\). Thus \(\frac{1}{r}=\frac{\overline{a}}{a}\). By the assumption 2 of the theorem and by items 3 and 5 of Corollary 23, we derive that \(\frac{1}{r}\in \mathrm{Fin}_\mathcal {A}(\beta )\). By 4 of Corollary 23, we have \(\frac{1}{q}=\frac{1}{r}\frac{1}{\overline{q}}\in \mathrm{Per}_\mathcal {A}(\beta )\). \(\square \)

Corollary 26

Let \(\beta \) be an algebraic integer with no conjugate \(\beta '\) in modulus equal to 1. Then there exists an alphabet \(\mathcal {A}\subset \mathbb {Z}\) such that \(\mathbb {Q}(\beta ) = \mathrm{Per}_\mathcal {A}(\beta )\).

Proof

For an algebraic integer, we have \(|a_d|=1\). \(\square \)

Corollary 27

Let \(\beta =\frac{p}{q}\in \mathbb {Q}\), pq coprime, \(|p|>q\ge 1\). Then there exists an alphabet \(\mathcal {A}\subset \mathbb {Z}\) such that \(\mathbb {Q}=\mathbb {Q}(\beta ) = \mathrm{Per}_\mathcal {A}(\beta )\).

Proof

The minimal polynomial of \(\beta \) is \(qx-p\), thus it is sufficient to verify that \(\frac{1}{q}\in \mathbb {Z}[\frac{p}{q},\frac{q}{p}]\). Since p and q are coprime, there exist \(x,y\in \mathbb {Z}\) such that \(px+qy=1\) whence we have \(\frac{1}{q} = y+x\frac{p}{q}\in \mathbb {Z}[\frac{p}{q}]\). \(\square \)

Proposition 28

Let \(\beta \), \(|\beta |>1\), be an algebraic number with minimal polynomial \(f(x)=\sum _{i=0}^da_ix^i\in \mathbb {Z}[\beta ]\), \(\gcd (a_0,\ldots ,a_d)=1\), and let \(n\in \mathbb {N}\), \(n\ge 2\).

Then \(1/n\in \mathbb {Z}[\beta ,\beta ^{-1}]\) if and only if its prime factorization is \(n=\prod _{1\le k\le m} p_k^{\alpha _k}\), \(\alpha _k\ge 1\), where each \(p_k\) divides \(a_i\) for all \(i\in \{0,\ldots ,d\}\) but one (possibly different for each k).

Proof

First assume that \(\tfrac{1}{n}\in \mathbb {Z}[\beta ,\beta ^{-1}]\), in particular, that \(\tfrac{1}{n} = \tfrac{w}{\beta ^k}\) for some \(w\in \mathbb {Z}[\beta ]\) and \(k\in \mathbb {N}\). This is equivalent to \(\beta ^k-nw=0\), i.e. \(\beta \) is a root of the polynomial \(g(x) = x^k-\widetilde{g}(x)\) with \(\widetilde{g}\in n\mathbb {Z}[x]\). The minimal polynomial f of \(\beta \) necessarily divides g in \(\mathbb {Z}[x]\).

Consider a prime divisor p of n. Then all the coefficients of \(g(x)=\sum b_ix^i\) but one are divisible by p. If \(g=fh\) with \(f(x)=\sum a_ix^i,\ h(x)=\sum c_ix^i\), set j and k to be the minimal indices such that \(p\not \mid a_j\) and \(p\not \mid c_k\). Then \(b_{j+k} = \sum _{l+r=j+k} a_lc_r\) is not divisible by p. Now if we denote t and s the maximal indices for which \(p\not \mid a_t\) and \(p\not \mid c_s\), we obtain that \(p\not \mid a_{t+s}\) and thus \(t+s=j+k\) from the uniqueness of the coefficient of g that is not divisible by p. The equality \(t=j, s=k\) follows from \(t\ge j,s\ge k.\)

To prove the opposite direction, we show that for every prime p dividing \(a_i\) for all indices but some jth, the number \(\tfrac{1}{p}\) has a finite expansion. The statement then follows from item 5 of Corollary 23, i.e. from the fact that \(\mathbb {Z}[\beta ,\beta ^{-1}]=\mathrm{Fin}_{\mathcal {A}}(\beta )\). As \(a_j\) is coprime to p, the equation \(a_jx+py=1\) has a solution \((x,y)\in \mathbb {Z}^2\). We have \(\tfrac{1}{p} = a_jp^{-1} x + y\). Since \(a_j = -\beta ^{-j} \sum _{0\le i\le d, i\ne j}a_i\beta ^i\), we obtain that

$$\begin{aligned} \frac{1}{p} = y - \frac{x}{\beta ^j} \sum _{0\le i\le d, i\ne j}(a_i/p)\beta ^i \in \mathbb {Z}[\beta ,\beta ^{-1}]. \end{aligned}$$

\(\square \)

6 Comments

Representations of numbers in base \(\beta \) and alphabet \(\mathcal {A}\) generated by various algorithms are extensively studied, mainly for their arithmetic properties. Most common example are the greedy expansions in base \(\beta >1\), which use the canonical alphabet \(\{a\in \mathbb {Z}:0\le a<\beta \}\). One considers the set \(\mathrm{Per}(\beta )\) of numbers with eventually periodic greedy \(\beta \)-expansions [4, 20, 22]. The set \(\mathrm{Fin}(\beta )\) of numbers whose greedy \(\beta \)-expansions have only finitely many non-zero digits

$$\begin{aligned} \mathrm{Fin}(\beta )=\{x\ge 0:\text { the greedy expansion of } x \text { is finite}\} \end{aligned}$$

has been studied for example in [1, 15]. In [8], the set \(\mathbb {Z}_\beta \) of numbers whose greedy \(\beta \)-expansions use only non-negative powers of the base has been introduced.

The subject of this paper is representations in base \(\beta \in \mathbb {C}\) with digits in an alphabet \(\mathcal {A}\) not necessarily issued out of a given algorithm. Instead of \(\mathrm{Per}(\beta )\), \(\mathrm{Fin}(\beta )\), we can consider \(\mathrm{Per}_\mathcal {A}(\beta )\), \(\mathrm{Fin}_\mathcal {A}(\beta )\) as defined in Corollary 23. Numbers with only non-negative powers of \(\beta \) in their \((\beta ,\mathcal {A})\)-representation can be seen as polynomials in \(\beta \) with coefficients in \(\mathcal {A}\), i.e. they form the set \(\mathcal {A}[\beta ]\).

Comparison of the behaviour of these sets is surprising. While \(\mathbb {Z}_\beta \) is never closed under addition except for integer \(\beta >1\), Akiyama et al. [3] show that there exists a finite set \(\mathcal {A}\subset \mathbb {Z}\) such that \(\mathcal {A}[\beta ]=\mathbb {Z}[\beta ]\) if and only if \(\beta \) is an algebraic number such that \(\beta \) and its conjugates lie either all on the unit circle, or all outside the unit circle.

The so-called (F) property has been studied in [15]. They showed for the greedy \(\beta \)-expansions that the equality \(\mathrm{Fin}(\beta )=\mathbb {Z}[\beta ,\beta ^{-1}]\cap [0,+\infty )\) forces \(\beta \) to be a Pisot number. On the other hand, allowing any representation, we can derive from [14] that there exists an alphabet \(\mathcal {A}\subset \mathbb {Z}\) such that \(\mathrm{Fin}_\mathcal {A}(\beta )=\mathbb {Z}[\beta ,\beta ^{-1}]\) for any algebraic number \(\beta \) without a conjugate on the unit circle. It is not known whether this statement can be reversed.

Our main tool in showing that certain classes of numbers satisfy \(\mathrm{Per}_\mathcal {A}(\beta )=\mathbb {Q}(\beta )\) is parallel addition in the numeration system \((\beta ,\mathcal {A})\), only known to be possible for algebraic bases with no conjugate on the unit circle. Our computational experiments suggest that every such number \(\beta \) admits an alphabet \(\mathcal {A}\) such that \(\mathrm{Per}_\mathcal {A}(\beta )=\mathbb {Q}(\beta )\).

It remains an open question whether this equality can hold for some algebraic number \(\beta \) having a conjugate of modulus one. It can be commented that Salem numbers belong to this class. Already when considering greedy \(\beta \)-expansions generated by the map \(x\mapsto \beta x\mod 1\), only very restricted results are known. Schmidt [22] conjectured, that for Salem numbers \(\beta \), the orbit of any rational \(x\in [0,1)\) is eventually periodic, which amounts to stating that equality \(\mathrm{Per}(\beta )=\mathbb {Q}(\beta )\cap [0,+\infty )\) holds. When trying to prove this conjecture, Boyd [5] has shown that for any Salem number \(\beta \) of degree 4 the orbit of 1 under the map \(x\mapsto \beta x\mod 1\) is eventually periodic. On the other hand, in [6] the same author provides data which put the Schmidt’s conjecture in doubt.

However, even if \(\mathrm{Per}(\beta )=\mathbb {Q}(\beta )\cap [0,+\infty )\) were not true for Salem numbers \(\beta \) when considering the greedy \(\beta \)-expansions, one may still ask about possibility of finding an alphabet of digits \(\mathcal {A}\) so that \(\mathrm{Per}_\mathcal {A}(\beta )=\mathbb {Q}(\beta )\) is valid.