paper

Enumerating Solutions to Type (2,3) Composition Identities of Finite Endofunctions

arXiv:2611.19668

Abstract

We enumerate ordered pairs of endofunctions on a finite labeled set satisfying a composition identity of type , with two factors on one side and three on the other. For all sixteen forms up to exchanging and , we give exact counting formulas as functions of in terms of finite sums and generating functions. Such pairs correspond bijectively to actions on of the semigroup presented by two generators and the prescribed relation. The proofs use images, fibers, and the decomposition of functional digraphs into directed cycles with rooted trees attached. Several constructions apply beyond these sixteen identities: they give recurrences for homomorphisms between arbitrary prescribed functional digraphs and formulas for pairs satisfying , where are fixed positive integers. We also derive an explicit inclusion-exclusion formula over subsets of for the number of endofunctions on satisfying for arbitrary prescribed endofunctions on . This generalizes the enumeration of compositional square roots, recovered when is the identity map.