Automaticity and base obstructions for the Sobolewski–Ulas recurrence
For the Sobolewski–Ulas sequence \(h=h_{1,1}\), the residues \((h(n)\bmod m)_{n\ge0}\) are 2-automatic exactly when \(m=2^a\) for a non-negative integer \(a\), including the constant sequence modulo \(1\). This answers the question for every positive integer modulus and confirms the proposed power-of-two criterion. Here \(h(n)=1\) for every integer \(n\le1\), and \(h(n)=h(n-h(n-1))+h(n-2)\) for \(n>1\). Sobolewski and Ulas, §7, Question 7.4 Changing the base cannot rescue a modulus with an odd factor. For every positive integer \(m\) divisible by an odd prime and every integer \(k\ge2\), the residue sequence fails to be \(k\)-automatic. This establishes the stronger assertion made immediately after the numbered question, including bases divisible by an odd prime factor of the modulus. Sobolewski and Ulas, §7, paragraph immediately after Question 7.4 A sequence is \(k\)-automatic if a finite automaton with output can return its \(n\)-th value from the base-\(k\) digits of \(n\). Equivalently, the sequence \((u_n)_{n\ge0}\) has a finite \(k\)-kernel, the set of subsequences \((u_{k^e n+s})_{n\ge0}\) for integers \(e\ge0\) and \(0\le s<k^e\). The original paper established automaticity modulo \(2\) in Theorem 3.8. It also gave the identities \(h(2n+1)=n+1\) and \(h(2n)=\sum_{j=0}^{n}h(j)\) for \(n\ge0\) in Theorem 3.1 and Corollary 3.2. In terms of the formal generating series \(H(x)=\sum_{n\ge0}h(n)x^n\), Theorem 3.5 gives \[H(x)=\frac{H(x^2)}{1-x^2}+\frac{x}{(1-x^2)^2}. \] The identity holds over the integers and after coefficientwise reduction modulo any positive integer. The even values retain the earlier values through partial sums, while the odd values supply the explicit inhomogeneous term. For \(m=2^a\) with \(a\ge1\), an automaton can be built directly over \(R=\mathbb Z/m\mathbb Z\). Put \(D=2^{\max\{a,2\}}\) and use pairs of polynomials \(A,B\in R[x]\) of degrees at most \(D\) to represent the series \((AH+B)/(1-x)^D\), with \(H\) reduced modulo \(m\). For a series \(G(x)=\sum_{n\ge0}g_nx^n\) and a digit \(r\in\{0,1\}\), let \(\Lambda_r G(x)=\sum_{n\ge0}g_{2n+r}x^n\). The identity \((1-x)^D=(1-x^2)^{D/2}\) in \(R[x]\) gives the transition for digit \(r\), \[\begin{aligned} A'&=(1-x)^{D/2-1}\Lambda_r A,\\ B'&=(1-x)^{D/2-2}\Lambda_r(xA)+(1-x)^{D/2}\Lambda_r B. \end{aligned} \] Both degrees stay at most \(D\). Start at \(A=(1-x)^D\), \(B=0\), read the binary digits from least to most significant, and return \(A(0)+B(0)\) in the final state. This is the constant coefficient of the resulting section, since \(H(0)=1\). There are at most \(m^{2(D+1)}\) states in this construction. Modulo \(1\), one state returning zero suffices. For each odd prime \(p\), the reduced \(H\) is nonrational over \(\mathbb F_p\), the field with \(p\) elements. The iterated even sections \(\Lambda_0^jH\) have the form \(A_jH+B_j\) with rational functions \(A_j,B_j\) over \(\mathbb F_p\). Here \(A_0=1\), \(B_0=0\), and for every \(j\ge1\) the sole finite pole of \(A_j\) is at \(x=1\), of order exactly \(j\). Nonrationality means that distinct multipliers give distinct sections. Thus the subsequences \((h(2^j n)\bmod p)_{n\ge0}\) are pairwise distinct for \(j\ge0\). For any base \(2^b\) with integer \(b\ge1\), the subsequences with \(j\) a multiple of \(b\) already give an infinite kernel. For the other bases, a finite \(k\)-kernel with \(N\) members would force a rational linear relation among \(G_j(x)=H(x^{k^j})\) for \(0\le j\le N\), with \(H\) reduced modulo \(p\). For any integer \(L\ge1\), the multiplier of \(G_j(x)\) in the squaring equation iterated \(L\) times is \[P_{j,L}(x)=\prod_{r=1}^{L}(1-x^{2^r k^j}). \] The remaining term in \(G_j(x^{2^L})=P_{j,L}(x)G_j(x)+R_{j,L}(x)\) is a rational function \(R_{j,L}\). In a relation \(\sum_{j\in I}c_jG_j=q\) with the smallest possible number of non-zero coefficients, where \(c_j\) and \(q\) are rational functions over the algebraic closure of \(\mathbb F_p\), all the multipliers for \(j\in I\) must vanish to the same order at every non-zero \(\alpha\) satisfying \(\alpha^{2^L}=\alpha\). Order zero means the multiplier is non-zero there. The condition arises because substitution by \(x^{2^L}\) preserves the zero or pole order of each rational coefficient at such a point. The support \(I\) must contain at least two indices, since each \(H(x^{k^j})\) remains nonrational even over that algebraic closure. The orders can always be made to differ when \(k\) is outside the powers of two. If \(p\mid k\), take \(L=1\) and \(\alpha=1\). The order of \(P_{j,1}\) is \(p^{j\nu_p(k)}\), where \(\nu_p(k)\) is the exponent of \(p\) in \(k\). If \(p\nmid k\), choose an odd prime \(\ell\mid k\) and put \(J=\max I\). Take \(\alpha\) of multiplicative order \(\ell^{J\nu_\ell(k)}\), with \(\nu_\ell(k)\) defined in the same way, and choose \(L\ge1\) with \(2^L\equiv1\pmod{\ell^{J\nu_\ell(k)}}\). The multiplier for \(J\) has order \(L\), and every multiplier for a smaller index in \(I\) has order zero. These two cases exclude the required relation. For any modulus \(m\) with an odd prime divisor \(p\), reducing its output symbols modulo \(p\) would preserve automaticity, so the obstruction modulo \(p\) applies to \(m\).
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24804973
- Primary Topic
- semigroups and automata theory
- Type
- preprint