WorksMathematics
The Hankel determinants of an automatic sequence need not be automatic
Abstract
Allouche, Han and Niederreiter asked whether the sequence of Hankel determinants of a -automatic sequence must be -regular, or must become -automatic after reduction modulo an integer. We answer the first question in the negative, and the second one for the reduction modulo . Let be the root of in with , the quartic of Mills and Robbins, and let be its coefficient sequence, which is -automatic by Christol's theorem. The Hankel determinants of vanish in runs whose lengths are unbounded but of the order of the square root of their position, because the partial quotients of are unbounded while its irrationality exponent is ; and a lemma of Schlage-Puchta forbids runs in that regime in an automatic sequence. Hence these Hankel determinants are -automatic for no , and the integer Hankel determinants of any lift of are -regular for no .
Introduction
Let be a sequence over a commutative ring and let
be its Hankel determinants. When is automatic, these determinants have repeatedly turned out to be automatic as well. All the Hankel determinants of the Thue–Morse sequence are nonzero, by the sixteen simultaneous recurrences of Allouche, Peyrière, Wen and Wen [2], who also obtained the corresponding two-dimensional array as a substitution tiling; the Hankel determinants of a quadratic power series over a finite field are ultimately periodic [10]; Bugeaud and Han [7] gave a combinatorial proof of the Thue–Morse case; and Hu and Han [11] established the automaticity of the reduced Hankel determinants modulo 2 of an explicit family of automatic sequences. In the last section of [1] (Section 6 of the arXiv version), Allouche, Han and Niederreiter accordingly ask whether the sequence of Hankel determinants of a -automatic sequence must be a -regular sequence, or must become -automatic once reduced modulo some integer, and point to [11] for positive results in that direction.
The purpose of this note is to show that neither holds in general.
Theorem 1.1. Let be the unique solution with of
let be its coefficient sequence, which is 3-automatic, and let be the Hankel determinants of over . Let be the lift of to and let be the Hankel determinants of , computed in . Then
(a) is -automatic for no ; equivalently, is -automatic for no ;
(b) is -regular for no .
The answer to the question of [1] is therefore negative: outright for the regularity half, and modulo 3 for the reduction half. Statement (a) does not depend on the chosen lift, since any two lifts agree modulo 3.
The mechanism is Diophantine rather than combinatorial. By the classical dictionary between Hankel determinants and continued fractions, vanishes exactly when is not the degree of a convergent denominator of , so that a partial quotient of degree produces a run of consecutive zeros. The quartic (1), singled out by Mills and Robbins [14] and whose continued fraction expansion was determined by Buck and Robbins [8], has unbounded partial quotients, which makes those runs unbounded; but its irrationality exponent is 2, by a theorem of Lasjaunias [12], which forces the runs to be of the order of the square root of their position. A lemma of Schlage-Puchta [16] states that an automatic sequence with unbounded runs of a letter must have runs of length proportional to their position. The two requirements are incompatible. That combination — unbounded partial quotients together with the extremal exponent 2 — is what makes this particular sequence available: for a long time no other algebraic Laurent series was known to have it [6].
Two classical facts
Let be the field of formal Laurent series in with , and let
be irrational, with continued fraction , , and convergents . Put , so , and let with be the coefficient sequence, with Hankel determinants as above.
Fact 2.1. For every , if and only if for some . Hence the zeros of occur in runs, the -th of which occupies the integers strictly between and and has length .
This is the classical correspondence between the Padé table of and its continued fraction expansion; in the language of stream ciphers it is equivalent to Niederreiter’s description of the linear complexity profile [15].
Fact 2.2. The irrationality exponent satisfies
See Lasjaunias [13 p. 214].
Recall finally that a sequence over a finite alphabet is -automatic if it is produced by a finite automaton reading the base- expansion of the index [4], and that by the theorem of Christol, Kamae, Mendès France and Rauzy [9] a Laurent series over is algebraic over if and only if its coefficient sequence is -automatic.
The Mills–Robbins quartic
Mills and Robbins [14] observed that (1) has a unique root with in for every prime , with a remarkable expansion for . Buck and Robbins [8] proved it: with
where denotes the sequence obtained by cubing each entry and the commas denote concatenation, one has .
Lemma 3.1. Let be the sum of the degrees of the entries of and the largest of them. Then
so that the partial quotients of have unbounded degree and
Proof. From (2), with , , and with , ; both closed forms follow by induction. Given a partial quotient , let be least such that occurs in but not in its initial segment . Then while , and
so for large. Hence , and Fact 2.2 gives . □
That is the theorem of Lasjaunias [12], who proves the sharper two-sided estimate: there are constants with for infinitely many and for all large . Only the elementary form above is used here. Since is algebraic over by (1), its coefficient sequence is 3-automatic by [9].
The non-automaticity lemma
Lemma 4.1 (Schlage-Puchta [16 Thm. 3]). Let be an automatic sequence over a finite alphabet and let be a letter such that contains runs of of arbitrary length. Then there is a constant such that, for infinitely many integers , one has for every .
The proof in [16] is short: one pumps the leading digits of the base- expansion and uses the finiteness of the state set. The statement is also recorded as Example 15 of the survey [5], where it is deduced from the theory of -synchronized functions.
Proof of Theorem 1.1
Part (a). Suppose were -automatic for some ; it takes its values in the finite alphabet . By Fact 2.1 and Lemma 3.1 it contains runs of the letter 0 of arbitrary length, the -th run having length and the degrees of the partial quotients being unbounded. Lemma 4.1 then provides and an infinite set of integers such that for all and all .
Fix large and let be the largest index with ; it exists because and . By maximality ; since by Fact 2.1 while throughout , in fact . Hence
As runs through the index tends to infinity, so . But Lemma 3.1 gives , a contradiction.
For the second formulation, a determinant is a polynomial with integer coefficients in its entries, so reduction modulo 3 commutes with it and ; any other lift of gives the same reduction.
Part (b). The reduction modulo of a -regular sequence is -automatic for every [3]. If were -regular for some , its reduction modulo 3 would then be -automatic, contradicting (a). □
Remarks
Remark 6.1. The obstruction is a matter of scale, not of shape. Zero runs that are bounded are compatible with automaticity, and so are zero runs of length proportional to their position; what no automatic sequence can have is runs which are unbounded and yet sublinear, and that is exactly what the exponent 2 imposes here. Sequences at the opposite extreme, those with no zero at all in their Hankel determinants — the sequences with perfect linear complexity profile, equivalently the apwenian sequences of [1] — are of course not touched by this argument, and several of them are automatic.
Remark 6.2. The first half of the question of [1] is thus settled in full: no makes regular. For the second half, what is proved here is that the reduction modulo 3 — the modulus in which the sequence itself is defined — is automatic in no base; the behaviour of for other moduli is not addressed.
Numerical verification
The proof above uses three external results — the expansion of [8], the theorem of [9] and the lemma of [16] — and does not depend on any computation. The ancillary file verify_hankel.py (Python 3 with numpy, about a minute) checks, in exact arithmetic over , the following facts on the sequence of § 3. The series is computed to 12 000 coefficients from (1). For the first 1 307 entries of , the convergents built from (2) satisfy , so that these entries are indeed the partial quotients of . The Hankel determinants , , computed by Gaussian elimination, are nonzero exactly at the degrees , as Fact 2.1 states. The word has 1 136 688 entries, of degrees ; the formulas of Lemma 3.1 hold for , and the largest value of over the range is about .
Acknowledgements. Technical assistance: Claude (Anthropic).
References
- [1]J.-P. Allouche, G.-N. Han, H. Niederreiter, Perfect linear complexity profile and Apwenian sequences, Finite Fields Appl. 68 (2020), Article 101761, 13 pp.; arXiv:2008.12160.arxiv.org/abs/2008.12160
- [2]J.-P. Allouche, J. Peyrière, Z.-X. Wen, Z.-Y. Wen, Hankel determinants of the Thue–Morse sequence, Ann. Inst. Fourier (Grenoble) 48 (1998), 1–27.DOI
- [3]J.-P. Allouche, J. Shallit, The ring of k-regular sequences, Theoret. Comput. Sci. 98 (1992), 163–197.
- [4]J.-P. Allouche, J. Shallit, Automatic Sequences. Theory, Applications, Generalizations, Cambridge University Press, 2003.
- [5]J.-P. Allouche, J. Shallit, R. Yassawi, How to prove that a sequence is not automatic, arXiv:2104.13072 (2021).arxiv.org/abs/2104.13072
- [6]K. Ayadi, A. Azaza, S. Beldi, Diophantine approximation and continued fraction expansion for quartic power series over F₃, Indian J. Pure Appl. Math. (2021), doi:10.1007/s13226-021-00203-8.DOI
- [7]Y. Bugeaud, G.-N. Han, A combinatorial proof of the non-vanishing of Hankel determinants of the Thue–Morse sequence, Electron. J. Combin. 21 (2014), no. 3, Paper 3.26.arxiv.org/abs/1406.1587
- [8]M. Buck, D. Robbins, The continued fraction expansion of an algebraic power series satisfying a quartic equation, J. Number Theory 50 (1995), 335–344.DOI
- [9]G. Christol, T. Kamae, M. Mendès France, G. Rauzy, Suites algébriques, automates et substitutions, Bull. Soc. Math. France 108 (1980), 401–419.DOI
- [10]G.-N. Han, Hankel continued fraction and its applications, Adv. Math. 303 (2016), 295–321.arxiv.org/abs/1406.1593
- [11]Y. Hu, G.-N. Han, On the automaticity of the Hankel determinants of a family of automatic sequences, Theoret. Comput. Sci. 795 (2019), 154–164.arxiv.org/abs/1806.05864
- [12]A. Lasjaunias, Diophantine approximation and continued fraction expansions of algebraic power series in positive characteristic, J. Number Theory 65 (1997), 206–225.DOI
- [13]A. Lasjaunias, A survey of Diophantine approximation in fields of power series, Monatsh. Math. 130 (2000), 211–229.DOI
- [14]W. H. Mills, D. P. Robbins, Continued fractions for certain algebraic power series, J. Number Theory 23 (1986), 388–404.
- [15]H. Niederreiter, Sequences with almost perfect linear complexity profile, in: Advances in Cryptology — EUROCRYPT ’87, Lecture Notes in Comput. Sci. 304, Springer, 1988, 37–51.
- [16]J.-C. Schlage-Puchta, A criterion for non-automaticity of sequences, J. Integer Seq. 6 (2003), Article 03.3.8.