AI & Computingarticle2026-11-15

Reservoirs in words over the alphabet \([k]\)

Open access0 citations

Abstract

We represent words \(w_1 w_2\dots w_ n\) over the alphabet \([k]\) as bargraphs where the \(j\)th column of the bargraph is of height \(w_j\). The capacity of a word is the amount of water the bargraph would retain under the usual laws of physics when the water is allowed to escape left or right. A reservoir is a single body of water after all water has been allowed to escape under the same physical laws. For all words with \(n\) parts, generating functions are found which track the number of reservoirs, their total width, relationship to capacity and depth where the latter is defined as largest capacity of each single letter in the reservoir.

// Source

View paper (DOI)Open access versionOpenAlexOnline Journal of Analytic CombinatoricsPublished 2026-11-15

Authors: Aubrey Blecher, Arnold Knopfmacher

Institutions: University of the Witwatersrand