English

Identities and periodic oscillations of divide-and-conquer recurrences splitting at half

Data Structures and Algorithms 2022-10-21 v1 Combinatorics

Abstract

We study divide-and-conquer recurrences of the form \begin{equation*} f(n) = \alpha f(\lfloor \tfrac n2\rfloor) + \beta f(\lceil \tfrac n2\rceil) + g(n) \qquad(n\ge2), \end{equation*} with g(n)g(n) and f(1)f(1) given, where α,β0\alpha,\beta\ge0 with α+β>0\alpha+\beta>0; such recurrences appear often in analysis of computer algorithms, numeration systems, combinatorial sequences, and related areas. We show that the solution satisfies always the simple \emph{identity} \begin{equation*} f(n) = n^{\log_2(\alpha+\beta)} P(\log_2n) - Q(n) \end{equation*} under an optimum (iff) condition on g(n)g(n). This form is not only an identity but also an asymptotic expansion because Q(n)Q(n) is of a smaller order. Explicit forms for the \emph{continuity} of the periodic function PP are provided, together with a few other smoothness properties. We show how our results can be easily applied to many dozens of concrete examples collected from the literature, and how they can be extended in various directions. Our method of proof is surprisingly simple and elementary, but leads to the strongest types of results for all examples to which our theory applies.

Keywords

Cite

@article{arxiv.2210.10968,
  title  = {Identities and periodic oscillations of divide-and-conquer recurrences splitting at half},
  author = {Hsien-Kuei Hwang and Svante Janson and Tsung-Hsi Tsai},
  journal= {arXiv preprint arXiv:2210.10968},
  year   = {2022}
}

Comments

69 pages, 13 figures, 13 tables