Skip to main content
QUICK REVIEW

[Paper Review] Divide-and-conquer generating functions. Part I. Elementary sequences

Ralf Stephan|ArXiv.org|Jul 2, 2003
semigroups and automata theoryComputer Science5 references4 citations
TL;DR

This paper introduces a systematic framework for analyzing divide-and-conquer generating functions (DCGFs) that generate sequences based on binary digit properties. It classifies elementary DCGFs using closed-form rational and product forms, derives corresponding linear recurrences, and establishes connections to well-known integer sequences via their ordinary generating functions, enabling unified analysis of sequences like Thue-Morse, binary weight, and Stern's diatomic sequence.

ABSTRACT

Divide-and-conquer functions satisfy equations in F(z),F(z^2),F(z^4)... Their generated sequences are mainly used in computer science, and they were analyzed pragmatically, that is, now and then a sequence was picked out for scrutiny. By giving several classes of ordinary generating functions together with recurrences, we hope to help with the analysis of many such sequences, and try to classify a part of the divide-and-conquer sequence zoo.

Motivation & Objective

  • To classify a broad class of integer sequences generated by divide-and-conquer recurrences using ordinary generating functions (OGFs).
  • To identify and formalize a family of elementary DCGFs expressible as sums or products of rational functions in $ z^{2^k} $ with integer coefficients.
  • To establish a direct correspondence between such DCGFs and linear recurrences with self-similar structure based on binary expansion.
  • To provide a systematic catalog of known sequences (e.g., A000120, A001316, A002487) within this framework for analytical and computational use.

Proposed method

  • Define elementary divide-and-conquer generating functions as infinite sums or products involving $ z^{2^k} $, with coefficients depending on binary digits of $ n $.
  • Derive recurrence relations for the coefficients $ a_n $ of such OGFs, based on whether $ n $ is even or odd, using functional equations in $ F(z), F(z^2), \dots $
  • Use symbolic computation and empirical verification (up to index 100) to support conjectured functional equations and recurrences.
  • Relate the generating functions to known sequences via OEIS references and show that sequences like $ 2^{e_1(n)} $, $ e_1(n) $, and $ 3^{e_1(n)} $ arise from specific parameter choices.
  • Demonstrate that the recurrence structure mirrors the binary tree traversal of the index $ n $, enabling automaton-like interpretation.
  • Generalize the framework to include linear combinations and parameterized families, such as $ \alpha $-weighted recurrences for $ a_{2n} = \alpha a_n + c $.

Experimental results

Research questions

  • RQ1How can divide-and-conquer generating functions be systematically classified using closed-form expressions in $ z^{2^k} $?
  • RQ2What is the precise recurrence structure for sequences generated by elementary DCGFs, and how does it reflect the binary representation of $ n $?
  • RQ3Can known sequences such as the Thue-Morse, Stern's diatomic, and Gould's sequence be unified under a single generating function framework?
  • RQ4What is the generating function for $ \sum 2^{e_0(i)} z^i $, where $ e_0(n) $ counts zeros in the binary expansion of $ n $?
  • RQ5Can all sequences in this framework be expressed in 2-rational form using linear algebraic representations?

Key findings

  • The generating function $ \sum_{k=0}^\infty \frac{c^k z^{2^k}}{1 - z^{2^k}} $ generates a sequence satisfying $ a_{2n} = c a_n + 1 $, $ a_{2n+1} = 1 $, for $ |c| > 0 $.
  • The product $ \prod_{k=0}^\infty (1 + c z^{2^k}) $ generates $ a_n = c^{e_1(n)} $, with recurrence $ a_{2n} = a_n $, $ a_{2n+1} = c a_n $.
  • The function $ \frac{1}{1-z} \sum_{k=0}^\infty \frac{\alpha^k (d z^{2^k} + c z^{2^{k+1}})}{1 + z^{2^k}} $ generates sequences with $ a_{2n} = \alpha a_n + c $, $ a_{2n+1} = \alpha a_n + d $.
  • The sequence $ e_1(n) $, counting ones in the binary expansion of $ n $, is generated by $ \sum_{k=0}^\infty \frac{z^{2^k}}{1 + z^{2^k}} $, and corresponds to OEIS A000120.
  • The Thue-Morse sequence on $ \{1, -1\} $ is both Mahlerian and elementary DCGF, with generating function $ \prod_{k=0}^\infty (1 - z^{2^k}) $.
  • The paper identifies $ \sum 2^{e_0(i)} z^i $ as a non-elementary DCGF, though it satisfies $ F(z^2) = (1 + F(z))/(z + 2) $, suggesting a functional equation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.