Increasing Consecutive Patterns in Words

Abstract

We show how to enumerate words in 1m1 … nmn that avoid the increasing consecutive pattern 12 … r for any r ≥ 2. Our approach yields an O(ns+1) algorithm to enumerate words in 1s … ns, avoiding the consecutive pattern 1… r, for any s, and any r. This enables us to supply many more terms to quite a few OEIS sequences, and create new ones. We also treat the more general case of counting words with a specified number of the pattern of interest (the avoiding case corresponding to zero appearances). This article is accompanied by three Maple packages implementing our algorithms.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…