1 Introduction
Let $s_2(n)$ denote the number of ones in the binary expansion of n. The Thue–Morse sequence $\mathbf {t}=\{t(n)\}_{n\geqslant 0}$ is defined, for $n\geqslant 0$ , by $t(n)=1$ if $s_2(n)$ is odd, and $t(n)=0$ if $s_2(n)$ is even. The Thue–Morse sequence is paradigmatic in the areas of complexity and symbolic dynamics, and as such is an object of current interest in a variety of areas. While the sequence goes back at least to the 1851 paper of Prouhet [Reference Prouhet6], its interest in the context of complexity is usually attributed to Thue [Reference Thue8, Reference Thue9] who showed that $\textbf {t}$ is overlap-free; that is, viewing $\textbf {t}$ as a one-sided infinite word $t(0)t(1)t(2)\cdots $ , it contains no subwords of the form $awawa$ , where $a\in \{0,1\}$ and w is a finite binary word, possibly empty (cf. [Reference Allouche and Shallit1, p. 15]). This shows that $\textbf {t}$ contains no three consecutive identical subwords (namely, $\textbf {t}$ is cube-free) and consequently $\textbf {t}$ is nonperiodic. Thus, we find that the number $\sum _{n\geqslant 1}t(n)b^{-n}$ is irrational for any integer $b\geqslant 2$ , but more strongly, a result of Mahler [Reference Mahler3] provides the transcendence of $\sum _{n\geqslant 1}t(n)\alpha ^{-n}$ for any algebraic number $\alpha $ with $|\alpha |>1$ .
On the other hand, the Thue–Morse sequence along powers has also been studied by several authors. In 2007, Moshe [Reference Moshe5] investigated the subword complexity of the sequence along squares $\{t(n^2)\}_{n\geqslant 1}$ (see Section 4 for details) and solved a problem of Allouche and Shallit [Reference Allouche and Shallit1, p. 350] answering that every finite word ${a_0a_1\cdots a_{m-1}\ (a_i\in \{0,1\})}$ of length m appears in the infinite word $t(0)t(1)t(4)\cdots $ . Moreover, this result was generalized by Drmota, Mauduit, and Rivat [Reference Drmota, Mauduit and Rivat2] who proved that the sequence $\{t(n^2)\}_{n\geqslant 1}$ is normal (to the base $2$ ); that is, for any $m\geqslant 1$ and any $a_0a_1\cdots a_{m-1}\ (a_i\in \{0,1\})$ , we have
As a consequence, the number $\sum _{n\geqslant 1}t(n^2)2^{-n}$ is normal in base $2$ . Recently, Spiegelhofer [Reference Spiegelhofer7] proved that the sequence along cubes $\{t(n^3)\}_{n\geqslant 1}$ is simply normal;
In this direction, it is expected that the sequence $\{t(P(n))\}_{n\geqslant 0}$ is normal for any nonnegative integer-valued polynomial P of degree at least $3$ ; however, it is unsolved (cf. [Reference Drmota, Mauduit and Rivat2, Conjecture 1]).
A Pisot (resp. Salem) number is an algebraic integer $\beta>1$ whose Galois conjugates other than $\beta $ have moduli less than $1$ (resp. less than or equal to $1$ and at least one conjugate lies on the unit circle). Recently, Miyanohara [Reference Miyanohara4] showed that if $\beta $ is a Pisot or Salem number with $\beta>2$ , then the number $\sum _{n\geqslant 1}t(n^2){\beta ^{-n}}$ does not belong to the field $\mathbb {Q}(\beta )$ . Note that his method depends on elementary arguments without the use of the normality of $\{t(n^2)\}_{n\geqslant 0}$ . In this paper, we generalize Miyanohara’s results by proving the following theorem. Throughout the paper, $\varphi :=(1+\sqrt {5})/2$ denotes the golden ratio.
Theorem 1.1 Let $\beta $ be a Pisot or Salem number with $\beta>\sqrt {\varphi }=1.272019\ldots $ . Then, for any integer $k\geqslant 1$ , the $k+1$ numbers
are linearly independent over the field $\mathbb {Q}(\beta )$ . In particular, for any integer $k\geqslant 1$ , the number $\sum _{n\geqslant 1}^{}t(n^k)\beta ^{-n}$ does not belong to $\mathbb {Q}(\beta )$ .
It should be noted that all Pisot numbers are covered in Theorem 1.1, since the smallest Pisot number is the plastic ratio $\rho =1.324717\ldots $ . On the other hand, all Salem numbers are not; for example, the smallest known Salem number is $\lambda =1.176280\ldots $ (see Sect. 4 for details). Let $\beta $ be as in Theorem 1.1. Then, as an immediate corollary of Theorem 1.1, for any nontrivial $\mathbb {Q}(\beta )$ -linear combination of the Thue–Morse sequence along powers
the number $\sum _{n\geqslant 1}s(n)\beta ^{-n}$ does not belong to $\mathbb {Q}(\beta )$ , and hence the sequence $\{s(n)\}_{n\geqslant 0}$ cannot be eventually periodic.
The present paper is organized as follows. In Section 2, for each integer $r=1,2,\dots ,k$ , we will investigate the appearance of zeros in the sequences defined by the difference of $t(n^r)$ and a certain shift $t((n+n_0)^r)$ . This observation makes it possible to find a good rational approximation to
where the sequence $\{s(n)\}_{n\geqslant 1}$ is defined in (1.1). Section 3 is devoted to the proof of Theorem 1.1. In the last Section 4, we will give remarks and further questions related to our results.
2 Some useful equalities and unequalities
The first lemma allows us to optimize our choice of rational approximations.
Lemma 2.1 For any integer $k\geqslant 2$ , there exist positive integers m and n such that the system of simultaneous congruences
has an integer solution.
Proof For an even integer $k{\kern-1pt}\geqslant{\kern-1pt} 2$ , clearly $x{\kern-1pt}={\kern-1pt}1$ is a solution of (2.1) with $m{\kern-1pt}={\kern-1pt}n{\kern-1pt}={\kern-1pt}1$ . Thus, let $k=2\ell +1\geqslant 3$ be odd. Then there exist an integer $s\geqslant 3$ and $a\in \{0,1\}$ satisfying
If $s=2u+1\geqslant 3$ is odd, we set $x:=2^{2u+1}-1+(1-a)2^{2u+2}$ , so that
and hence the integer x is a solution of (2.1) with $m=n=u+1$ . If $s=2u\geqslant 4$ is even, then setting $x:=2^{2u+1}-1+2^{2u+2}$ , we obtain
and the integer x is a solution of (2.1) with $m=u+1$ and $n=u$ . Lemma 2.1 is proved.
Let $x\geqslant 1$ be an integer solution of the system of congruences (2.1). Then the binary expansions of the integers x and $x3^{k-1}$ have the forms
respectively, for some binary words $w_1$ and $w_2$ , and hence we obtain the equalities
Let $k\geqslant 2$ be an integer, and let $\nu (k):=\nu _2(k)$ be the $2$ -adic valuation of k. Fix positive integers m, n, x (depending only on k) as in Lemma 2.1. Since $k2^{-\nu (k)}$ is an odd integer, the congruence
has an integer solution. Let $y\leqslant 2^{2m+2n+1}$ be the least positive integer solution of (2.3).
The remaining lemmas give us quantitative information about our approximations, as well as allowing us to optimize the range of $\beta $ in Theorem 1.1. Throughout the paper, let N be a sufficiently large integer. In the following Lemmas 2.2 and 2.3, we investigate the Thue–Morse values of the integers
for $j=0,1,\dots ,2^{N}+4$ and $j=2^N+2h\ (h=3,4,\dots ,2^{N-3})$ . Define
When $1\leqslant \ell \leqslant k$ , we have
since N is sufficiently large. Hence, using (2.4) and (2.5), we obtain
where $z:=k2^{-\nu (k)}y$ . Note that the integers $A_{\ell ,j}$ are independent of $\delta $ .
Lemma 2.2 For every integer $j=0,1,\dots ,2^N-1$ and $j=2^N+2h\ (h=0,1,\dots ,2^{N-3})$ , we have
Proof Let $\delta \in \{0,1\}$ . For $j=0,1,\dots ,2^N-1$ , we have
and moreover, for $j=2^N+2h\ (h=0,1,\dots ,2^{N-3})$ ,
since $2^{kN+k-1}\mid zj^{k-1}2^{kN+\delta }$ . Hence, by (2.8) and (2.9),
so that (2.6) and (2.10) yield
for $j=0,1,\dots ,2^N-1$ and $j=2^N+2h\ (h=0,1,\dots ,2^{N-3})$ . Thus, Lemma 2.2 is proved since the right-hand side in (2.11) is independent of $\delta $ .
Next, we show that the equality (2.7) also holds for $j=2^N+3$ , but not for $j=2^N+1$ .
Lemma 2.3 We have
and
Proof Let $\delta \in \{0,1\}$ and $j:=2^N+i\ (i=1,3)$ . Then we have
Since the integers
are independent of N, it follows from (2.12) that
Moreover, combining Lemma 2.1 with (2.3), we obtain
so that by (2.2)
Thus, by (2.6), (2.13), and (2.14), we obtain
which finishes the proof of the Lemma 2.3.
Define
and let $\lfloor \alpha \rfloor $ denote the integral part of the real number $\alpha $ .
Lemma 2.4 For every integer $r=1,\dots ,k-1$ and $j=0,1,\dots ,2^{\lfloor \lambda N\rfloor }$ , we have
Proof Let $\delta \in \{0,1\}$ and $r, j$ be fixed integers as in the lemma. Then we have
Since
we obtain
which is independent of $\delta $ . Lemma 2.4 is proved.
3 Proof of Theorem 1.1
Let $\beta $ be a Pisot or Salem number with $\beta>\sqrt {\varphi }=1.272019\ldots $ . Suppose to the contrary that there exist an integer $k\geqslant 1$ and algebraic numbers $a_0,a_1,\ldots ,a_k\in \mathbb {Q}(\beta )$ , not all zero, such that
We may assume that $a_0,a_1,\ldots ,a_k\in \mathbb {Z}[\beta ]$ and $a_k\neq 0$ . As mentioned in Section 1, the number $\sum _{n\geqslant 1}^{}t(n)\alpha ^{-n}$ is transcendental for any algebraic number $\alpha $ with $|\alpha |>1$ , and thus we have $k\geqslant 2$ . Define the sequence $\{s(n)\}_{n\geqslant 1}$ by
and
Note that $\{s(n)\}_{n\geqslant 1}$ is bounded and the number $\xi =-a_0\in \mathbb {Z}[\beta ]$ by (3.1). Let $\nu (k),y$ be as in Section 2, and let N be a sufficiently large integer such that Lemmas 2.2–2.4 all hold. For convenience, let
Define the algebraic integers $p_N,q_N\in \mathbb {Z}[\beta ]$ by
and $q_N:=(\beta ^{y2^{\kappa (N)}}-1)\beta ^{y2^{\kappa (N)}}$ , respectively. Then, we obtain
By the equalities (2.7) and (2.15) with $j=0,1,\dots ,2^N$ , we have
where we used $1<\lambda <2\leq k$ in the big O notation. Therefore, by using (3.4) and the equalities (2.15) with $j=2^N+1,\dots ,2^{\lfloor \lambda N\rfloor }$ , we obtain
where
Note that $|u(j)|\leqslant 1$ since $u(j)\in \{-1,0,1\}$ for every integer j. Moreover, by the definition of $q_N$ , we have $q_N\leqslant \beta ^{y2^{\kappa (N)+1}}$ , and so by (3.5),
On the other hand, applying Lemmas 2.2 and 2.3, we obtain
and hence, by (3.5) and (3.7),
Thus, noting that $\beta>\sqrt {\varphi }$ , $a_k\neq 0$ , and that both $5\cdot 2^{N-2}-2^N$ and $2^{\lfloor \lambda N\rfloor }-2^N$ tend to infinity as $n\to \infty $ , we obtain
Combining (3.6) and (3.8), there is a positive constant $c_1$ such that
for every sufficiently large N.
Now, we complete the proof. When $\beta $ is a rational integer, (3.9) is clearly impossible for large N, since $q_N\xi -p_N$ is a nonzero rational integer. So, suppose not, and let $\beta =:\beta _1,\beta _2,\ldots ,\beta _d\ (d\geqslant 2)$ be the Galois conjugates over $\mathbb {Q}$ of $\beta $ . Since $\xi =-a_0\in \mathbb {Z}[\beta ]$ , there exist rational integers $A_0,A_1,\ldots ,A_{d-1}$ such that $ \xi =\sum _{i=0}^{d-1}{A_i}\beta ^i. $ Define the polynomial over $\mathbb {Z}[\beta ]$
where
Note that $p_N(\beta )=p_N$ , $q_N(\beta )=q_N$ , and $\xi (\beta )=\xi $ . By (3.9),
Moreover, since $\beta $ is a Pisot or Salem number, we have $|\beta _i|\leqslant 1\ (i=2,3,\dots ,d)$ , and so by the definitions of $p_N(X),q_N(X),\xi (X)$ , there exists a positive constant $c_2$ independent of N such that
where the first inequality follows since $F_N(\beta _i)$ are the Galois conjugates of ${F_N(\beta )\neq 0}$ . Therefore, considering the norm over $\mathbb {Q}(\beta )/\mathbb {Q}$ of the algebraic integer $F_N(\beta )$ , we obtain, by (3.10) and (3.11),
which is impossible for sufficiently large N, since $\kappa (N)=O(N)=o(2^N)$ . The proof of Theorem 1.1 is now complete.
4 Concluding remarks and further questions
As there is no known nontrivial lower bound on Salem numbers, for our Theorem 1.1 to apply to all Salem numbers, we would need our result to be valid for $\beta>1$ . It seems very unlikely that the type of optimization that we have done here could be carried out to reach that range. A similar approach could increase the range a bit, but a new idea is probably necessary to get the full range of possible $\beta $ . Here, our proof works for Pisot and Salem numbers, but it seems reasonable to conjecture that Theorem 1.1 holds for any algebraic number $\beta $ with $|\beta |>1$ , though without more information on the structure of the sequences $\{t(n^k)\}_{n\geqslant 0}$ this seems out of reach at the moment.
When we first started our investigation, we wanted to show that the three numbers
are linearly independent over $\mathbb {Q}$ for any positive integer $b\geqslant 2$ . Considering this question, two properties of the Thue–Morse sequence stood out to us. First, the sequence $\{t(n)\}_{n\geqslant 0}$ is produced by a finite automaton (see [Reference Allouche and Shallit1, Section 5.1]), so it is not a very complicated sequence. Second, the sequence $\{t(n^2)\}_{n\geqslant 0}$ is extremely complicated – as we mentioned in Section 1, the sequence $\{t(n^2)\}_{n\geqslant 0}$ is normal; that is, all $2^m$ patterns of finite subwords of length m occur with frequency $2^{-m}$ . A result of Wall [Reference Wall10, Corollary 1, p. 15] states that if $\xi $ is normal and $q_1\neq 0$ and $q_2$ are rational numbers, then $q_1\xi +q_2$ is also normal, which implies the $\mathbb {Q}$ -linear independence of the above three numbers when $b=2$ . It seems reasonable to think that for any rational numbers $q_1\neq 0$ and $q_2$ , the number
must have a “not very complicated” base-b expansion. In fact, this is the case since $\{t(n)\}_{n\geqslant 0}$ is produced by a finite automaton (see [Reference Allouche and Shallit1, Section 13.1]). There is a gap in the literature regarding sequences and numbers that fall in between automatic and normal. We make explicit a question that would be a first step in this direction.
Recall, for any sequence f taking values in $\{0,1\}$ , we let $p_f(m)$ denote the (subword) complexity of f as a one-sided infinite word. In particular, $p_f(m)$ counts the number of distinct blocks of length m in f. So, for example, f is eventually periodic if and only if $p_f(m)$ is uniformly bounded, and if f is $2$ -normal, then $p_f(m)=2^m$ for all m, since every binary word of any length appears in a $2$ -normal binary word. The entropy of f is the limit, $h(f):=\lim _{m\to \infty }(\log p_f(m))/m\in [0,\log 2]$ . Considering the Thue–Morse sequence (or word) $\textbf {t}$ , since $\textbf {t}$ is generated by a finite automaton, we have that $p_{\textbf {t}}(m)=O(m)$ , so $h(\textbf {t})=0$ . In the present paper, we considered the sequences $\textbf {t}^k:=\{t(n^k)\}_{n\geqslant 0}.$ Moshe [Reference Moshe5] established that $p_{\textbf {t}^k}(m)\geqslant 2^{m/2^{k-2}}$ for any $k\geqslant 2$ ; that is, that $h(\textbf {t}^k)\geqslant (\log 2)/2^{k-2}>0$ . The question about numbers with lower complexity seems immediate.
Question 4.1 For a real number $\xi $ , let $p_\xi (m,b)$ be the number of b-ary words of length m appearing in the base-b expansion of $\xi $ . Is it true that for any two rational numbers $q_1\neq 0$ and $q_2$ , we have $p_{q_1\xi +q_2}(m,b)=O(p_\xi (m,b))\ ?$
Acknowledgements
The authors would like to thank Eiji Miyanohara for his helpful comments on an earlier version of this paper, and in particular, for pointing us toward the results of [Reference Allouche and Shallit1, Section 13.1]. This work began during the first author’s visit to Hirosaki University. Michael Coons thanks Hirosaki University for their support, and their staff and students for their outstanding hospitality.