English

In how many distinct ways can flocks be formed? A problem in sheep combinatorics

Combinatorics 2020-10-08 v1

Abstract

In this short paper, we extend the concept of the strict order polynomial ΩP(n)\Omega_{P}^{\circ}(n), which enumerates the number of strict order-preserving maps ϕ:Pn\phi:P\rightarrow\boldsymbol{n} for a poset PP, to the extended strict order polynomial EP(n,z)\text{E}_{P}^{\circ}(n,z), which enumerates analogous maps for the elements of the power set P(P)\mathcal{P}(P). The problem at hand immediately reduces to the problem of enumeration of linear extensions for the subposets of PP. We show that for every QPQ\subset P a given linear extension vv of QQ can be associated with a unique linear extension ww of PP. The number of such linear extensions vv (of length kk) associated with a given linear extension ww of PP can be expressed compactly as (delP(w)k)\binom{\text{del}_{P}(w)}{k}, where delP(w)\text{del}_{P}(w) is the number of deletable elements of ww defined in the text. Consequently the extended strict order polynomial EP(n,z)\text{E}_{P}^{\circ}(n,z) can be represented as EP(n,z)=wL(P)k=0p(delP(w)pk)(n+des(w)k)zk \text{E}_{P}^{\circ}(n,z)=\sum_{w\in\mathcal{L}(P)}\sum_{k=0}^{p}\binom{\text{del}_{P}(w)}{p-k}\binom{n+\text{des}(w)}{k}z^{k}. The derived equation can be used for example for solving the following combinatorial problem: Consider a community of pp shepherds, some of whom are connected by a master-apprentice relation (expressed as a poset PP). Every morning, kk of the shepherds go out and each of them herds a flock of sheep. Community tradition stipulates that each of these kk shepherds will herd at least one and at most nn sheep, and an apprentice will always herd fewer sheep than his master (or his master's master, etc). In how many ways can the flocks be formed? The strict order polynomial answers this question for the case in which all pp shepherds go to work, and the extended strict order polynomial considers also all the situations in which some of the shepherds decide to take a day off.

Keywords

Cite

@article{arxiv.2010.03121,
  title  = {In how many distinct ways can flocks be formed? A problem in sheep combinatorics},
  author = {Johanna Langner and Henryk A. Witek},
  journal= {arXiv preprint arXiv:2010.03121},
  year   = {2020}
}

Comments

17 pages, 20 figures. Submitted to The Australasian Journal of Combinatorics

R2 v1 2026-06-23T19:06:40.405Z