[Paper Review] Twisting the Stern sequence
This paper introduces and analyzes the twisted Stern sequence, a variant of the classical Stern sequence defined by signed recursive relations. It establishes deep connections between the original and twisted sequences through functional identities, palindromic polynomial factorizations, and generating functions, revealing structural symmetries and proving $k$-regularity of related generating series via matrix determinants and functional equations.
We describe a few features of the Stern sequence and of a closely related sequence obtained by adding a sign-twist in the recursive definition of the Stern sequence. 1 Main results In this paper, we identify a complex sequence (an)n∈N with the corresponding function a : N 7−→ C. We write thus always a(n) instead of an. The Stern sequence or Stern-Brocot sequence with first terms given by 0, 1, 1, 2, 1, 3, 2, 3, 1, 4, 3, 5, 2, 5, 3, 4, 1, 5, 4, 7, 3, 8, 5, 7, 2, 7, 5, 8, 3, . . . (cf. sequence A2487 of [9]) is the integral sequence s : N −→ N recursively defined by s(0) = 0, s(1) = 1 and s(2n) = s(n), s(2n + 1) = s(n) + s(n + 1) for n ≥ 1. It is closely related to the Farey tree and induces a one-to-one map n 7−→ s(n)/s(n+ 1) between N and non-negative rational numbers, cf. [5] or Chapter 16 of [1]. It is also an example of a 2−regular sequence, see Chapter 16 of [2]. The following result gives a different, perhaps not very well-known, description of the Stern sequence. Proposition 1.1 s(n) equals the number of distinct subsequences of the form 1, 101, 10101, . . . = {1(01)} in the binary expansion ǫl . . . ǫ1ǫ0 of n = ∑l k=0 ǫl2 k (where ǫ0, . . . , ǫl ∈ {0, 1}). Proposition 1.1 is in fact a particular case of Proposition 2.3, an easy result concerning rational series in non-commuting variables. Example The binary expansion 1011 of 11 = 23 + 21 + 20 contains the following five subsequences (highlighted by bold letters) 1011 , 1011 , 1011,1011 ,1011
Motivation & Objective
- To define and study a new sequence, the twisted Stern sequence, obtained by introducing sign twists in the recursive definition of the classical Stern sequence.
- To explore structural similarities and functional identities between the Stern sequence and its twisted counterpart.
- To establish a factorization of palindromic polynomials derived from the twisted sequence, revealing self-similar patterns.
- To prove $k$-regularity of the logarithmic derivative of the generating function of the twisted sequence using functional equations.
- To investigate the distribution of zeros of the generating function of the twisted sequence in the complex unit disc.
Proposed method
- Defining the twisted Stern sequence via the recurrence $ t(2n) = -t(n) $, $ t(2n+1) = -t(n) - t(n+1) $, with initial values $ t(0) = 0 $, $ t(1) = 1 $.
- Using generating functions and functional equations to analyze the structure of the twisted sequence, particularly through the identity $ \sum t(3\cdot 2^e + n)z^n = (-1)^e \left( \sum u(n)z^{n\cdot 2^e} \right) \left( \sum s(m)z^m \right) $.
- Proving that the polynomials $ \psi_e = (-1)^e \sum_{n=0}^{3\cdot 2^e} t(3\cdot 2^e + n) z^n $ factorize as $ z(1+z^{2^e}) \prod_{n=0}^{e-1} (1+z^{2^n}+z^{2^{n+1}}) $, revealing self-similar structure.
- Analyzing the determinant of matrices formed from consecutive terms of the Stern and twisted sequences, showing $ \det(M(n)) = -\det(M(n/2)) $ for even $ n $, and similar identities for mixed sequences.
- Establishing $k$-regularity of the logarithmic derivative of the generating function $ A(z) $ by showing it satisfies $ B(z) = \frac{P'(z)}{P(z)} + kz^{k-1}B(z^k) $, with $ P(z) $ a product of cyclotomic-like terms.
- Using induction and recursive substitution to prove identities involving $ s(n-1) + s(n+1) $ and $ t(n-1) + t(n+1) $, relating them to the 2-adic valuation $ v_2(n) $.
Experimental results
Research questions
- RQ1How do functional identities between the Stern sequence and its twisted variant reflect underlying symmetries in their recursive structure?
- RQ2What is the algebraic structure of the palindromic polynomials derived from the twisted sequence, and how do they factorize?
- RQ3Does the generating function of the twisted Stern sequence have infinitely many zeros in the open unit disc, and how does this contrast with the classical Stern sequence?
- RQ4Under what conditions is the logarithmic derivative of the generating function of the twisted sequence $k$-regular, and what does this imply about the sequence's arithmetic structure?
- RQ5How do the determinants of matrices formed from consecutive terms of the Stern and twisted sequences behave under scaling by powers of two?
Key findings
- The twisted Stern sequence satisfies the identity $ t(2^e + n) = (-1)^e (s(2^e - n) - s(n)) $ for $ 0 \leq n \leq 2^e $, linking it directly to the classical Stern sequence.
- The finite sequence $ (-1)^e t(3\cdot 2^e + n) $ for $ 0 \leq n \leq 3\cdot 2^e $ is palindromic and factors into $ z(1+z^{2^e}) \prod_{n=0}^{e-1} (1+z^{2^n}+z^{2^{n+1}}) $, revealing self-similar structure.
- The generating function of the classical Stern sequence satisfies $ \sum s(n)z^n = z \prod_{n=0}^\infty (1+z^{2^n}+z^{2^{n+1}}) $, a result proven anew via the twisted sequence's polynomial factorization.
- The generating function of the twisted Stern sequence has infinitely many non-zero roots in the open unit disc, unlike the classical Stern sequence.
- The logarithmic derivative of the generating function of the twisted sequence is $k$-regular if and only if the polynomial $ P(z) $ in its functional equation has all roots as roots of unity.
- The determinant of the matrix $ M(n) = \begin{pmatrix} s(n) & s(n+1) \\ t(n) & t(n+1) \end{pmatrix} $ satisfies $ \det(M(2n)) = -\det(M(n)) $, and $ \det(M(2n-1)) = -\det(M(n-1)) $, showing a recursive sign pattern.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.