Skip to main content
QUICK REVIEW

[Paper Review] Binary words avoiding xx^Rx and strongly unimodal sequences

James D. Currie, Narad Rampersad|arXiv (Cornell University)|Aug 12, 2015
semigroups and automata theoryComputer Science2 references5 citations
TL;DR

This paper establishes that the number of binary words avoiding the pattern $xx^R x$ grows at an intermediate rate—neither polynomial nor exponential—by constructing a bijection between such words and a class of integer sequences closely related to strongly unimodal sequences. The key contribution is a precise characterization of the growth rate using generating functions and asymptotic analysis, with explicit bounds and connections to partition theory.

ABSTRACT

In previous work, Currie and Rampersad showed that the growth of the number of binary words avoiding the pattern xxx^R was intermediate between polynomial and exponential. We now show that the same holds for the growth of the number of binary words avoiding the pattern xx^Rx. Curiously, the analysis for xx^Rx is much simpler than that for xxx^R. We derive our results by giving a bijection between the set of binary words avoiding xx^Rx and a class of sequences closely related to the class of "strongly unimodal sequences."

Motivation & Objective

  • To characterize the growth rate of binary words avoiding the pattern $xx^R x$, where $x^R$ denotes the reversal of $x$.
  • To establish a direct connection between such words and a class of integer sequences related to strongly unimodal sequences.
  • To provide a complete combinatorial characterization of the language of binary words avoiding $xx^R x$.
  • To demonstrate that this language is not context-free using a direct proof based on Ogden’s Lemma.
  • To compare the growth rate of this language with that of the previously studied language avoiding $xxx^R$.

Proposed method

  • Define a factorization of binary words avoiding $xx^R x$ into segments $A_i$, $a_i$, and $a_i A_i a_{i+1}$, leading to a sequence $f(w) = (n_0, \dots, n_k)$ encoding lengths.
  • Introduce the set $X$ of integer sequences of Type 1 (strictly unimodal) and Type 2 (with a plateau), defined by the absence of indices where $n_{j-1} \geq n_j$ and $n_j \leq n_{j+1}$.
  • Establish a one-to-one correspondence between words in $L_0$ (starting with 0) of length $n$ and sequences in $X$ of weight $n$, via the map $f$.
  • Use generating functions: the generating function for sequences in $X$ is related to $\prod_{j=1}^\infty (1 + q^j)^2$, which counts partitions into distinct parts with multiplicity.
  • Correct for overcounting in the generating function by adjusting for Type 1 sequences (double-counted) and Type 2 sequences (undercounted by half), leading to bounds on $v(n)$.
  • Apply Ogden’s Lemma to show that the language $L$ is not context-free by reducing it to a non-context-free language over $a^i b^j c^k d^\ell$ with specific inequalities.

Experimental results

Research questions

  • RQ1What is the growth rate of the number of binary words avoiding the pattern $xx^R x$?
  • RQ2Can a bijection be established between binary words avoiding $xx^R x$ and a class of integer sequences?
  • RQ3How does the growth rate of $xx^R x$-avoiding words compare to that of $xxx^R$-avoiding words?
  • RQ4Is the language of $xx^R x$-avoiding binary words context-free?
  • RQ5What is the asymptotic behavior of the number of such words as a function of length $n$?

Key findings

  • The number $c(n)$ of binary words of length $n$ avoiding $xx^R x$ satisfies $\tilde{u}(n) \leq c(n) \leq 2\tilde{u}(n)$, where $\tilde{u}(n)$ is the number of integer sequences in $X$ of weight $n$.
  • The asymptotic growth of $\tilde{u}(n)$ is given by $\tilde{u}(n) = \frac{\sqrt{3}}{(24n-1)^{3/4}} \exp\left(\frac{\pi}{6}\sqrt{24n-1}\right)\left(1 + O\left(\frac{1}{\sqrt{n}}\right)\right)$, confirming intermediate growth.
  • The language $L$ of binary words avoiding $xx^R x$ is not context-free, and this is proven directly using Ogden’s Lemma after reduction to a non-context-free language over $a^i b^j c^k d^\ell$.
  • The number of $xx^R x$-avoiding words grows significantly faster than the number of $xxx^R$-avoiding words, whose growth was previously estimated as $e^{\log^2 n}$.
  • The sequence $c(n)$ is sequence A261204 in the OEIS, and $\tilde{u}(n)$ is sequence A022567, with explicit values provided for $n$ from 0 to 12.
  • The bijection between $L_0$ and sequences in $X$ is proven via a case analysis showing that $f(w) \notin X$ if and only if $w$ contains an instance of $xx^R x$.

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.