Next Article in Journal
A Robust and Non-Fragile Observer Design for Nonlinear Fractional-Order Systems
Next Article in Special Issue
Symmetric Tangling of Honeycomb Networks
Previous Article in Journal
Molecular Collective Response and Dynamical Symmetry Properties in Biopotentials of Superior Plants: Experimental Observations and Quantum Field Theory Modeling
Previous Article in Special Issue
Invariants of Bonded Knotoids and Applications to Protein Folding
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Catalog of Enumeration Formulas for Bouquet and Dipole Embeddings under Symmetries

by
Mark N. Ellingham
1 and
Joanna A. Ellis-Monaghan
2,*
1
Department of Mathematics, 1326 Stevenson Center, Vanderbilt University, Nashville, TN 37240, USA
2
Korteweg-de Vries Institute for Mathematics, University of Amsterdam, Science Park 105-107, 1098 XH Amsterdam, The Netherlands
*
Author to whom correspondence should be addressed.
Symmetry 2022, 14(9), 1793; https://doi.org/10.3390/sym14091793
Submission received: 22 June 2022 / Revised: 18 August 2022 / Accepted: 20 August 2022 / Published: 29 August 2022
(This article belongs to the Special Issue Topological Methods in Chemistry and Molecular Biology)

Abstract

:
Motivated by the problem arising out of DNA origami, we give a general counting framework and enumeration formulas for various cellular embeddings of bouquets and dipoles under different kinds of symmetries. Our algebraic framework can be used constructively to generate desired symmetry classes, and we use Burnside’s lemma with various symmetry groups to derive the enumeration formulas. Our results assimilate several existing formulas into this unified framework. Furthermore, we provide new formulas for bouquets with colored edges (and thus for bouquets in nonorientable surfaces) as well as for directed embeddings of directed bouquets. We also enumerate vertex-labeled dipole embeddings. Since dipole embeddings may be represented by permutations, the formulas also apply to certain equivalence classes of permutations and permutation matrices. The resulting bouquet and dipole symmetry formulas enumerate structures relevant to a wide variety of areas in addition to DNA origami, including RNA secondary structures, Feynman diagrams, and topological graph theory. For uncolored objects, we catalog 58 distinct sequences, of which 43 have not, as far as we know, been described previously.

Part I
Overview

1. Introduction

We provide a unified framework and new results for enumeration formulas for cellularly embedded bouquets and dipoles under various symmetries. Bouquets and dipoles are graphs that encode information critical in diverse settings. A bouquet is a graph with one vertex and some loops. A dipole is a graph with two vertices and some edges, none of which are loops. Embeddings of these, or other, graphs are determined by cyclic orderings of half-edges around the vertices, possibly also with edge twists. We encode embedded bouquets and dipoles by labeling (and sometimes coloring) their half-edges, and then convert the labeled graph to a simple combinatorial object (a permutation or perfect matching). We use Burnside’s lemma to count these objects under equivalence relations defined by various groups of symmetries (such as cyclic shifts and reflections). Computations for multiple groups of symmetries with a common subgroup are handled together using the idea of ‘coset averages’.
We catalog here our own as well as existing enumeration formulas for embedded bouquets and dipoles under various symmetry constraints and equivalences, with the goal of making them readily accessible in one place. For uncolored objects, we list 58 distinct sequences, of which 12 already appear in the Online Encyclopedia of Integer Sequences (OEIS, a very widely used database of integer sequences) [1], and three occur elsewhere in the literature. The remaining 43 sequences have, as far as we know, not been described previously.
We divide this paper into three parts. Part I contains some background, definitions, and descriptions of the various sorts of embeddings and symmetries. For the convenience of the reader, we list all the counting formulas in Part II, followed by a discussion of related work and open problems. We defer the technical details and proofs of the results to Part III. We begin with the formulas and proofs for dipoles because the computational ideas there encompass the simpler analogues for bouquets. Furthermore, we give accessible geometric interpretations and applications for the various symmetries. A reader who simply needs the formulas can go directly to Part II, although the descriptions of the various objects and symmetries in Section 2 may be helpful in identifying the appropriate formulas.
Previous work on enumerating the embeddings of graphs, including bouquets and dipoles, under various symmetries, was done by Mull, Rieper, and White [2], Rieper [3], Kwak and Lee [4], Mull [5], Kim and Park [6], Feng, Kwak, and Zhou [7,8], Orbanić et al. [9], and Chen, Gao, and Huang [10]. We cite results from some of these sources where appropriate in Part II.
There is also an extensive literature on counting the embeddings of bouquets, dipoles and other graphs where the symmetry considerations central to this work are not taken into account. In this situation, it is possible to examine the genus distribution of embeddings of a given graph, and information on the number of embeddings of a given graph can be represented using a genus polynomial. We do not study genus distributions, but the interested reader can find early work in this area, for example, in Stahl [11], Gross and Furst [12], Furst, Gross, and Statman [13], and Gross, Robbins, and Tucker [14]. Citation searches on these papers provide access to the recent literature in this area. One paper particularly relevant for bouquets and dipoles is Kwak and Shim [15].
The problem of enumerating bouquets and dipoles arises in surprisingly diverse settings. For example, embedded bouquets are equivalent to chord diagrams, as in Figure 1. The cyclic order of the half-edges about the the vertex in the bouquet determines an embedding of the bouquet in an oriented surface and corresponds to the cyclic order of endpoints of the chords in the chord diagram. Chord diagrams are used in genomics [16] and modeling RNA secondary structures [17,18,19]. Chord diagrams also characterize moduli spaces [20]. Chord diagrams with labeled points and possibly some unpaired points are counted by Feynman integrals. There are also applications to the physics of chord diagrams with a given number of crossings, counted by Touchard [21] and Riordan [22]. Chord diagrams are fundamental to the study of Vassiliev knot invariants; see, for example, ref. [23] and ([24], Section 4). The nLab has an extensive catalog of such applications of chord diagrams in knot theory and physics [25].
To these numerous settings for bouquets and dipoles, we add our own motivating application, that of constructing and analyzing DNA origami molecules. DNA origami uses the Watson–Crick complementarity and self-replicating properties of DNA to use DNA as an engineered building material for nano-scale robotics, electronics, and medical devices. Determining routes for a single strand of DNA through assembly targets (which are often wireframe polyhedra) is integral to both DNA origami [26,27,28] and experimental verification of the targeted constructs [29,30]. When the target construct has the shape of a graph, these routes correspond to facial walks in an embedding of the graph.
In the DNA origami method of self assembly, a single-stranded DNA plasmid, called a scaffolding strand, traces a targeted shape. Then some 200–250 short strands of DNA complementary to specific regions of the plasmid are introduced to fold and secure the molecule into the desired shape; see [31,32,33]. When the target is a wireframe structure modeled as a graph embedded in space, a key design step is to determine a route through the graph that the scaffolding strand will follow and to locate the staple strands, as in Figure 2. A related problem, that of finding a reporter strand (a single strand of DNA that is extracted from a construct and then read to confirm the results of an experiment), corresponds to finding a route through the target graph that traces every edge at least once and at most twice, and when twice in opposite directions.
The resulting route for a DNA strand through a wireframe target molecule corresponds to a facial walk in a special embedding of a graph, called an edge-outer embedding, as described below. See [29,30] for further details. We became interested in special edge-outer embeddable graphs with exactly two faces (the bi-Eulerian embeddings described below) as a possible design strategy for DNA self-assembly. Recognizing that the surface duals of bi-Eulerian embeddings are embedded dipoles (see Figure 3) prompted this present study.
In the theoretical setting of graph embeddings, the bouquets and dipoles characterize some important classes of graphs. An upper-embeddable graph is a graph that can be cellularly embedded in an orientable surface with only one or two faces (see [34,35]). An edge-outer embeddable graph is a graph that can be cellularly embedded so that every edge lies on a single distinguished face, although there may be other faces as well (see [29]). These graphs, and their special sub-classes, can be characterized by their surface duals, as shown in Figure 3 (see [36,37,38] for explanations of duality for graph embeddings). For simplicity, we show planar examples, but in general, these embeddings are not necessarily planar. For example, the half-edges of a loop need not occur consecutively around a vertex.
Upper-embedded graphs with exactly one face are characterized by having bouquets as their surface duals, and edge-outer embeddings with exactly two faces that are Euler circuits (bi-Eulerian embeddings) are characterized by having dipoles as their surface duals. To the best of our knowledge there has not yet been any effort to enumerate the looped dipoles in Figure 3c or graphs of the form in Figure 3d. However, those counting problems are likely to build on the formulas given here, and thus this work lays the necessary foundations for this enumeration.
In all these settings where bouquets and dipoles play a central role, good enumeration formulas are essential. In addition to the obvious theoretic interest, these inform the experimental designs, algorithmic solutions, and estimations of solution space size.
However, each setting requires careful consideration of what symmetries are relevant to the application. For example, linear RNA secondary structures are often modeled by chord diagrams with a designated point on the circle boundary that indicates where the chord diagram should be ‘cut open’ to form a linear structure. See Figure 4. The presence or absence of such a symmetry-breaking point significantly alters the counting problem. Similarly, chirality often plays a role, and this too changes the enumeration problem. The possibility of directions on the edges, or of edges with various attributes (here colors), lead to further enumeration problems.
Because of the diverse applications, existing formulas are widely scattered in the literature, making them sometimes challenging to find. Thus, we include known results here as well, incorporating them into our overall framework and in some cases simplifying the proofs or formulas. We then complete the work of finding enumeration formulas for the remaining symmetries in the groups we consider, particularly providing enumeration formulas for bouquets with colored or directed edges and for orientable (as opposed to oriented) embeddings of dipoles. When the number of colors is two, the formulas for colored bouquets enumerate embeddings of bouquets in nonorientable surfaces. Greater numbers of colors can be used in applications to differentiate types of edges, for example, to differentiate different types of attachments in RNA secondary structures. The enumeration of dipolar cogs and other structures related to dipole embeddings also uses some ideas that may support the more challenging problem of enumerating dipole embeddings in nonorientable surfaces.
We have verified our counting formulas for small values of n (the number of edges) and, where appropriate, k (the number of colors) by explicit construction by computer of the objects being counted. Specifically, we verified formulas (D1)–(D8), (B1)–(B2), and (A1)–(A5) in Part II. Since all other formulas here are linear combinations of these, this also provides verification for our other results. Our programs use the same framework as the counting formulas. We consider our objects as orbits of easily generated basic objects under various group actions. While generating the basic objects in a fixed order, the programs test whether a given object is the earliest in its orbit under action of the group elements, thereby identifying a unique representative of each orbit.

2. Terminology and Notation

2.1. Embedding Concepts

The objects we are counting are embeddings of graphs in compact surfaces, or objects related to these. We assume that the reader is familiar with embeddings of graphs and their combinatorial representations; standard references are [37,38], and details for the cogs defined below may be found in [36]. Unless stated otherwise, all embeddings of graphs and digraphs in this paper are cellular, meaning that each face is homeomorphic to an open disk.
An embedding of a graph in an orientable surface can be described up to a homeomorphism by giving a rotation scheme specifying a rotation, that is, a cyclic ordering of the half-edges, at each vertex. A generic embedding (in either an orientable or nonorientable surface) of a graph can be described up to homeomorphism by a rotation scheme together with edge signatures, specifying whether each edge is twisted or untwisted. The representation using a rotation scheme is unique for oriented embeddings but not for orientable embeddings (see below for the distinction). The representation of a generic embedding using a rotation scheme and edge signatures is in general not unique.
An oriented embedding of a graph is an embedding in an orientable surface with a fixed clockwise orientation, up to graph isomorphism and orientation-preserving surface homeomorphism. Oriented embeddings are in one-to-one correspondence with rotation schemes (without edge signatures). The reflection of an oriented embedding is obtained by reversing the clockwise orientation of the surface. An orientable embedding of a graph is an embedding in an orientable surface where the clockwise orientation is not specified, up to graph isomorphism and surface homeomorphism. Equivalently, orientable embeddings are equivalence classes of oriented embeddings under reflection.
We make an explicit distinction between oriented and orientable embeddings. In many settings, the distinction between a surface being oriented and being orientable is either unnecessary or implicitly understood. However, for enumerative results, it is important to distinguish between these.
We also consider cogs, also known as cyclically ordered graphs or rigid-vertex graphs. These are graphs with a rotation at each vertex as above, but here two cogs are equivalent if there is a graph isomorphism between the two underlying graphs, which, at each vertex, either preserves the rotation at the vertex or reverses it. In other words, there is an undirected cyclic ordering, defined only up to reversal, at each vertex, instead of the directed cyclic ordering in a rotation scheme. The edges of cogs have no signatures. Cogs are important because a cog represents an equivalence class of graph embeddings under partial Petrie duality (edge twisting) operations (see [36], Lemma 3.16(2)), or an equivalence class of orientable embeddings under vertex flips (rotation reversals).
A digraph is a graph with a direction (from one end-vertex to the other) specified for each edge. The directed edges are called arcs. A directed embedding of a digraph is an embedding where every facial walk is a directed walk. This is equivalent to the property that at each vertex the half-arcs in the rotation alternate in direction between outwards and inwards. Thus, for every vertex of a directed embedding of a digraph, the in-degree equals the out-degree, and there are no vertices of an odd degree.
Objects based on graphs or digraphs can be considered to be vertex-labeled if each vertex has a unique label that must be preserved by any symmetry operation (although edges can be permuted), or vertex-unlabeled if symmetry operations that permute vertices are allowed. In this paper, we deal with bouquets, where this distinction is irrelevant, and with dipoles, where we have only two vertices, which can be swapped in the vertex-unlabeled situation. We will say explicitly if an object derived from a dipole is vertex-labeled; otherwise it is assumed to be vertex-unlabeled.

2.2. Bouquets and Dipoles

A bouquet is a graph with exactly one vertex, and a dipole is a graph with exactly two vertices and no loops. These may be embedded in either orientable or nonorientable surfaces, or given related structures, such as a cog structure. We will consistently denote the number of edges by n.
In our work, we will label the half-edges around each vertex in an embedded bouquet or dipole to encode embedding information. Enumerating embeddings with fixed half-edge labels (see the discussion of ‘(colored) labeled bouquets’ and ‘labeled dipoles’ in Part II) is easy, since only the identity permutation leaves the fixed labels in their original position. Since fixed edge labels break cyclic symmetries, the diagrams may be ‘linearized’ at the vertices, that is, starting at the half-edges labeled 0 and opening up the vertices to lines, as in Figure 4. The number of bouquets labeled in this way is the same as the number of chord diagrams, which is the number of perfect matchings in a complete graph of order 2 n , namely ( 2 n 1 ) ! ! = ( 2 n 1 ) ( 2 n 3 ) ( 2 n 5 ) · 3 · 1 . The number of labeled dipoles is just n ! .
Since bouquets and dipoles with fixed labels have no symmetries and their counting formulas are easy and well known, we focus our attention on bouquets and dipoles where the labels may be permuted. Here, the permutations reveal the underlying structural symmetries of the embedded graph, and the enumeration formulas are much more complex.
We can convert an embedding of a bouquet (possibly with colors or edge directions) into a labeled bouquet, an abstract graph with labels on the half-edges. We label the half-edges of the embedding with elements of the cyclic group Z 2 n in order around the vertex. The two labels on each edge encode the position of that edge in the embedding. We can then simply consider the underlying abstract graph, with these half-edge labels. For example, the colored bouquet embedding represented by the rotation shown in Figure 5a is represented by the colored labeled bouquet in Figure 5b (drawn in the plane for convenience, although only the graph structure and labels matter). We can also draw a chord diagram, which can be thought of as an ‘inside-out’ drawing of the embedded bouquet. We expand the vertex of the bouquet into a large circle, and draw the edges inside this circle, as chords, instead of outside it. We transfer the label on each half-edge to the point at which that half-edge meets the circle, so that the points are labeled by elements of Z 2 n in cyclic order around the circle. The chords form a perfect matching, a partition of all of the vertices into pairs, in the complete graph whose vertices are the elements of Z 2 n . Figure 5c shows the chord diagram corresponding to the other two parts of Figure 5.
We enumerate embeddings of bouquets up to the following symmetries. We consider embeddings of bouquets in an oriented surface up to rotational symmetry. Thus, two bouquets that can be superimposed by rotating one of them are considered the same, but reflection is not allowed. Allowing reflections (reversal of the orientation of the surface) means we are counting embeddings in an orientable surface, where we allow orientation-reversing homeomorphisms of the surface. We also consider the reflexible embeddings, preserved by reflection, and the chiral embeddings, which are not preserved by reflection.
One of our main contributions for bouquets is counting the embeddings of colored bouquets, which also allows us to count the generic (orientable and nonorientable) embeddings of bouquets, and hence, by simply subtracting, the nonorientable embeddings of bouquets. We also count the directed embeddings of directed bouquets, i.e., directed graphs with one vertex. In this setting, we again count embeddings with colors, which allows us to count generic and nonorientable embeddings.
We enumerate embeddings of dipoles up to the following symmetries. Since dipoles have two vertices, we can consider the vertices as being distinct, e.g., having two different labels, or not. For embeddings in oriented surfaces, we can rotate (cyclically shift) the labels around each vertex independently. For embeddings in orientable surfaces, we also allow reflection, i.e., reversal of the orientation of the surface. For dipoles, we also count cogs, both with and without distinguished vertices.
Our approach for counting embeddings of dipoles will be similar to that for counting embeddings of bouquets. We turn a dipole embedding into an object called a labeled dipole, by labeling the edges in rotational order around each vertex. See Figure 6, where the rotational information for the embedding in Figure 6a is represented by the correspondence between labels around the two vertices in Figure 6b. Again, while Figure 6b is drawn in a planar way for convenience, the details of the drawing are unimportant: only the graph structure and the labels matter. See also Section 8.1, where we provide a detailed illustrated example of how an embedding may be represented by more than one labeled dipole.
The difficulty in counting comes from the fact that different embeddings correspond to different numbers of basic labeled objects (for us, colored labeled bouquets or labeled dipoles). To use embeddings of bouquets as an example, the number of labeled bouquets or chord diagrams that correspond to a given bouquet embedding depends on the intrinsic symmetries of the chord diagrams, and also on which symmetries matter for the kind of embedding we are counting. Figure 7 shows a number of different symmetries. If we have an oriented embedding, where we only allow rotational symmetry, all rotations of Figure 7a give different chord diagrams, so there are 10 different chord diagrams for the corresponding embedding, but rotations of Figure 7b by 5 (corresponding to 180 ) give the same chord diagram, so there are only 5 different chord diagrams for the corresponding embedding. If we are counting orientable embeddings rather than oriented embeddings, we also need to consider reflexive symmetry, as in Figure 7c. The other parts of Figure 7 show examples of other symmetries that can affect counting for different types of objects. The tool we use to handle this difficulty is Burnside’s lemma, Lemma 1.

2.3. Symmetry and Asymmetry under an Involution

In many of our results, we count a set of objects, and we have an involution (i.e., self-inverse permutation) that can be applied to these objects. If we count the number of equivalence classes of our objects under the involution, we can also easily count the number of symmetric objects (preserved by the involution), and the number of pairs of the remaining asymmetric objects, where the objects in each pair are swapped by the involution.
A common type of involution is some kind of reflection, and we would like to count the reflexible or achiral objects that are preserved by reflection, and the number of pairs of chiral objects that are asymmetric under (i.e., not preserved by) reflection. To give a specific example, oriented embeddings of a graph can be divided into reflexible embeddings and chiral pairs of embeddings, where the reflection operation is the reversal of the clockwise orientation of the surface.
The following general formulas apply for a given involution.
# objects = # symmetric +   2 # ( asymmetric pairs ) , # ( involution classes ) = # symmetric +   # ( asymmetric pairs ) .
These equations mean that any two of these four numbers determine the other two. In our results, generally we can count the number of objects and the number of involution classes of objects; we can then compute the number of symmetric objects and pairs of asymmetric objects as follows.
# symmetric =   2 # ( involution classes ) # objects ,
# ( asymmetric pairs ) =   # objects   # ( involution classes ) .
We will apply these formulas many times.
Besides reflection, we have other types of involutory symmetry, If our objects are vertex-labeled dipoles and our involution is exchanging the two vertices, we refer to the equivalence classes as vertex-unlabeled dipoles or just dipoles. The symmetric ones are vertex-interchangeable, and the asymmetric ones come in non-vertex-interchangeable pairs. If our objects are directed graphs and the involution is reversing all of the arcs, we refer to the equivalence classes as arc-reversal classes. The symmetric ones are arc-reversible and the asymmetric ones come in arc-irreversible pairs.
Although it should be intuitively clear that our specific involutions make sense, we provide some technical details for the interested reader. Generally, we have a set of basic objects S and a group Γ acting on S . If we have a normal subgroup Δ Γ , then elements of Γ act on S / Δ , the orbits of S under the action of Δ , which we consider as a set of derived objects. In particular, if Δ is a subgroup of Γ and | Γ | = 2 | Δ | , then Δ Γ , and if J Γ Δ is an involution in Γ then J acts as an involution on the set of derived objects S / Δ . When we use the results of this subsection, the situation is always an instance of this general framework.

2.4. Standard Counting Functions

In our results, we often use Euler’s totient function φ ( n ) , which is the number of integers k that are relatively prime to n and satisfy 1 k n . We use the notation gcd ( a , b ) for the greatest common divisor of a and b.
We also frequently use μ ( n , j ) , the number of j-matchings (sets of j disjoint 2-subsets) of an n-set, which is
μ ( n , j ) = n 2 j ( 2 j ) ! 2 j j ! = n 2 j ( 2 j 1 ) ! ! = n ! ( n 2 j ) ! 2 j j !
where ( 2 j 1 ) ! ! = ( 2 j 1 ) ( 2 j 3 ) ( 2 j 5 ) 1 is a double factorial. To keep our formulas simple, we often keep μ in our final expressions rather than replacing it with expressions involving factorials and powers.

Part II
The Enumeration Formulas

In this part, we summarize our results. For results that are already known, we provide references, and in particular, references to entries in the Online Encyclopedia of Integer Sequences [1]. If a result is not attributed, it is (as far as we know) new, although some results can be derived from known results using the approach in Section 2.3.
We begin with dipole results, then present the (undirected) bouquet results, and finally the directed bouquet results. In each section, we give a small number of basic quantities (technically coset averages, defined in Part III) and then all of the counting results are expressed as simple linear combinations of these quantities. The formulas are indexed by (D1), (D2), for the dipoles, (B1), (B2), for the bouquets, and (A1), (A2), for directed bouquets. These indices correspond to the proofs of the formulas given in Section 8.3, Section 9.3, and Section 10.3, respectively. For each enumeration formula, we give the sequence of values for n (the number of edges) with 0 n 12 . For colored objects, we just provide the values for k (number of colors) equal to 1, i.e., in the uncolored situation.
The formulas we give below are generally valid only for n 1 . For n = 0 , there is always one trivial object with no edges, which is preserved under all symmetries. Therefore, the numbers for n = 0 are either 1 (for objects under some equivalence relation, or objects symmetric under some involution) or 0 (for pairs of objects asymmetric under an involution).

3. Dipole Results

3.1. Dipole Coset Averages

There are five basic quantities for counting dipole embeddings and related objects, which we denote as δ T ( n ) for various T. The superscripts T are mnemonics for the identity (I), reflections ( R 0 , R 1 ), cyclic shifts ( S 0 , S 1 ), and vertex exchanges (X), as detailed in Section 8.1 of Part III. Since a dipole has two vertices with n edges between them, we can think of each edge as consisting of two half-edges, each incident with one of the vertices. By labeling the half-edges with elements of Z n , we can identify the labeled dipoles with permutations that map the labels on the half-edges incident with one vertex to those incident with the other. Our results can then be proved by applications of Burnside’s lemma based on groups acting by reflection, rotation, and so forth on these labeled dipoles. Consequently, our results can also be interpreted as counting results for permutations, or permutation matrices, under these various equivalence relations. Full details are given in Section 8.
As we show in Part III, all the following functions have integer values, given positive integer inputs. For n = 0 , the value of all of these should be taken to be 1; the following formulas apply for n 1 .
δ I ( n ) = 1 n ( d , g ) : d g = n φ ( d ) 2 ( g 1 ) ! d g 1 ; δ R ( n ) = n 1 2 ! 2 ( n 1 ) / 2 for odd n , ( n + 2 ) n 2 1 ! 2 n / 2 3 for even n ; δ R 1 ( n ) = 1 if n = 1 or 2 , 0 if n 3 is odd , 1 n n 2 ! 2 n / 2 1 if n 4 is even ; δ X ( n ) = 1 n ( d , g ) : d g = n d , g even φ ( d ) μ ( g , g / 2 ) d g / 2 + 1 n ( d , g ) : d g = n d odd φ ( d ) j = 0 g / 2 μ ( g , j ) d j ( the first term here is nonzero only if n 0 ( mod 4 ) ) ; δ R 1 X ( n ) = μ ( n / 2 , n / 4 ) 2 n / 4 1 if n 0 ( mod 4 ) , μ ( ( n 1 ) / 2 , ( n 1 ) / 4 ) 2 ( n 1 ) / 4 if n 1 ( mod 4 ) , μ ( ( n 2 ) / 2 , ( n 2 ) / 4 ) 2 ( n 2 ) / 4 if n 2 ( mod 4 ) , 0 if n 3 ( mod 4 ) .
The values of δ I ( n ) and δ R 1 ( n ) occur in the OEIS [1]; see (D1) and (D3/D5:S) below.

3.2. Counting Basic Dipole Objects

As mentioned above, embedded dipoles can be represented using permutations. Full details are provided in Section 8.1 of Part III. Therefore, most of the results that we mention have natural interpretations in terms of permutations, or equivalently permutation matrices, with all entries 0, except for one 1 in each row and each column.
For permutations, specifically elements of the symmetric group Sym ( Z n ) , we consider operations that act by cyclically shifting the input variable ( S 0 ), cyclically shifting the output variable ( S 1 ), reversing the input variable ( R 0 ), reversing the output variable ( R 1 ), simultaneously reversing the input and output variables (R), and inverting the permutation (X). Formal definitions of these are provided in Section 8.1. For formulas (D1)–(D6), we briefly indicate what they count in terms of equivalence classes of permutations under these operations.
Table 1 summarizes our basic results on embeddings of dipoles. Further explanation is given below and technical details (such as the meaning of the ‘Group’ column in the table) can be found in Section 8. The results obtained by applying Section 2.3 do not have individual entries in the table but are discussed in Section 3.3.
• (D1) The number of vertex-labeled oriented n-edge dipole embeddings is δ I ( n ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 and S 1 . It appears in the OEIS [1] as A002619.
Values for 0 n 12 : 1, 1, 1, 2, 3, 8, 24, 108, 640, 4492, 36336, 329900, 3326788.
• (D2) The number of oriented n-edge dipole embeddings is 1 2 ( δ I ( n ) + δ X ( n ) ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 , S 1 and X. This sequence was found by Rieper [3] (Theorem 5.10), and also by Feng, Kwak, and Zhou [7] (Theorem 4.1).
Values for 0 n 12 : 1, 1, 1, 2, 3, 7, 19, 71, 369, 2393, 18644, 166573, 1669243.
• (D3) The number of vertex-labeled orientable n-edge dipole embeddings is 1 2 ( δ I ( n ) + δ R ( n ) ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 , S 1 , and R.
Values for 0 n 12 : 1, 1, 1, 2, 3, 8, 20, 78, 380, 2438, 18744, 166870, 1670114.
• (D4) The number of orientable n-edge dipole embeddings is 1 4 ( δ I ( n ) + δ R ( n ) + 2 δ X ( n ) ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 , S 1 , R, and X.
Values for 0 n 12 : 1, 1, 1, 2, 3, 7, 17, 56, 239, 1366, 9848, 85058, 840906.
• (D5) The number of vertex-labeled n-edge dipolar cogs is 1 4 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 ( n ) ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 , S 1 , R 0 , and R 1 . It appears in the OEIS [1] as A000940 (with some initial terms missing).
Values for 0 n 12 : 1, 1, 1, 1, 2, 4, 12, 39, 202, 1219, 9468, 83435, 836017.
• (D6) The number of n-edge dipolar cogs is 1 8 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 ( n ) + 2 δ X ( n ) + 2 δ R 1 X ( n ) ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 , S 1 , R 0 , R 1 , and X. It appears in the OEIS [1] as A006841.
Values for 0 n 12 : 1, 1, 1, 1, 2, 4, 10, 28, 127, 686, 4975, 42529, 420948.
Our final items in this subsection do not have natural interpretations in terms of dipole embeddings, but can be expressed in terms of permutations or permutation matrices.
• (D7) The number of equivalence classes of permutations in Sym ( Z n ) under cyclic shifts of input variable ( S 0 ), cyclic shifts of output variable ( S 1 ), and reversal of input variable only ( R 0 ) is 1 2 ( δ I ( n ) + δ R 1 ( n ) ) .
This also counts elements of Sym ( Z n ) equivalent under S 0 , S 1 , and R 1 . It appears in the OEIS [1] as A000939.
Values for 0 n 12 : 1, 1, 1, 1, 2, 4, 14, 54, 332, 2246, 18264, 164950, 1664354.
• (D8) The number of equivalence classes of n × n permutation matrices under cyclic shifts of the row set, cyclic shifts of the column set, and rotation of the matrix by multiples of 90 is 1 4 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 X ( n ) ) .
Values for 0 n 12 : 1, 1, 1, 1, 2, 5, 11, 39, 193, 1225, 9378, 83435, 835087.

3.3. Symmetric and Asymmetric Dipole Objects

Here, we provide some formulas obtained by applying Equations (1) and (2) of Section 2.3. Given an involution that acts on objects counted by (Di) and creates equivalence classes counted by (Dj), item (Di/Dj) states the formulas for the numbers of symmetric objects, (S) or (Di/Dj:S), and asymmetric pairs of objects, (AP) or (Di/Dj:AP).
First, we consider situations where our involution is ‘reflection’ in the sense of reversal of the surface orientation.
• (D1/D3) For vertex-labeled oriented n-edge dipole embeddings, the number of reflexible ones (S) is 2 ( D 3 ) ( D 1 ) = δ R ( n ) , and the number of chiral pairs (AP) is ( D 1 ) ( D 3 ) = 1 2 ( δ I ( n ) δ R ( n ) ) .
S values for 0 n 12 : 1, 1, 1, 2, 3, 8, 16, 48, 120, 384, 1152, 3840, 13440.
AP values for 0 n 12 : 0, 0, 0, 0, 0, 0, 4, 30, 260, 2054, 17592, 163030, 1656674.
• (D2/D4) For oriented n-edge dipole embeddings the number of reflexible ones (S) is 2 ( D 4 ) ( D 2 ) = 1 2 ( δ R ( n ) + δ X ( n ) ) , and the number of chiral pairs (AP) is ( D 2 ) ( D 4 ) = 1 4 ( δ I ( n ) δ R ( n ) ) (which is half of (D1/D3:AP)).
The number of reflexible ones (S) was found by Feng, Kwak, and Zhou [8] (Theorem 5.1).
S values for 0 n 12 : 1, 1, 1, 2, 3, 7, 15, 41, 109, 339, 1052, 3543, 12569.
AP values for 0 n 12 : 0, 0, 0, 0, 0, 0, 2, 15, 130, 1027, 8796, 81515, 828337.
Next we consider situations where our involution is exchanging vertices.
• (D1/D2) For oriented n-edge dipole embeddings the number of vertex-interchangeable ones (S) is 2 ( D 2 ) ( D 1 ) = δ X ( n ) , and the number of non-vertex-interchangeable pairs (AP) is ( D 1 ) ( D 2 ) = 1 2 ( δ I ( n ) δ X ( n ) ) .
S values for 0 n 12 : 1, 1, 1, 2, 3, 6, 14, 34, 98, 294, 952, 3246, 11698.
AP values for 0 n 12 : 0, 0, 0, 0, 0, 1, 5, 37, 271, 2099, 17692, 163327, 1657545.
• (D3/D4) For orientable n-edge dipole embeddings, the number of vertex-interchangeable ones (S) is 2 ( D 4 ) ( D 3 ) = δ X ( n ) (equal to (D1/D2:S), see values above), and the number of non-vertex-interchangeable pairs (AP) is ( D 3 ) ( D 4 ) = 1 4 ( δ I ( n ) + δ R ( n ) 2 δ X ( n ) ) .
AP values for 0 n 12 : 0, 0, 0, 0, 0, 1, 3, 22, 141, 1072, 8896, 81812, 829208.
• (D5/D6) For n-edge dipolar cogs the number of vertex-interchangeable ones (S) is 2 ( D 6 ) ( D 5 ) = 1 2 ( δ X ( n ) + δ R 1 X ( n ) ) , and the number of non-vertex-interchangeable pairs (AP) is ( D 5 ) ( D 6 ) = 1 8 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 ( n ) 2 δ X ( n ) 2 δ R 1 X ( n ) ) .
S values for 0 n 12 : 1, 1, 1, 1, 2, 4, 8, 17, 52, 153, 482, 1623, 5879.
AP values for 0 n 12 : 0, 0, 0, 0, 0, 0, 2, 11, 75, 533, 4493, 40906, 415069.
For orientable embeddings of dipoles, reversing the cyclic ordering at either vertex is equivalent to taking the Petrie dual of the embedding, which twists all the edges (see [36], Section 1.3). We have two situations where our involution is the Petrie duality.
• (D3/D5) For vertex-labeled orientable n-edge dipole embeddings, the number of Petrie-self-dual ones (S) is 2 ( D 5 ) ( D 3 ) = δ R 1 ( n ) , and the number of non-Petrie-self-dual pairs (AP) is ( D 3 ) ( D 5 ) = 1 4 ( δ I ( n ) + δ R ( n ) 2 δ R 1 ( n ) ) .
The number of Petrie-self-dual ones (S) for even positive n appears in the OEIS [1] as A002866.
S values for 0 n 12 : 1, 1, 1, 0, 1, 0, 4, 0, 24, 0, 192, 0, 1920.
AP values for 0 n 12 : 0, 0, 0, 1, 1, 4, 8, 39, 178, 1219, 9276, 83435, 834097.
• (D4/D6) For orientable n-edge dipole embeddings the number of Petrie-self-dual ones (S) is 2 ( D 6 ) ( D 4 ) = 1 2 ( δ R 1 ( n ) + δ R 1 X ( n ) ) , and the number of non-Petrie-self-dual pairs (AP) is ( D 6 ) ( D 4 ) = 1 8 ( δ I ( n ) + δ R ( n ) + 2 δ X ( n ) 2 δ R 1 ( n ) 2 δ R 1 X ( n ) ) .
S values for 0 n 12 : 1, 1, 1, 0, 1, 1, 3, 0, 15, 6, 102, 0, 990.
AP values for 0 n 12 : 0, 0, 0, 1, 1, 3, 7, 28, 112, 680, 4873, 42529, 419958.
The next two situations involve formula (D7). To discuss these, it is most natural to reinterpret (D1), (D5) and (D7) as counting Hamilton cycles in a directed or undirected complete graph whose vertices are unlabeled but have a directed or undirected cyclic ordering. In particular, (D1) counts directed Hamilton cycles on a set of unlabeled vertices with a (directed) cyclic ordering, (D5) counts undirected Hamilton cycles on a set of unlabeled vertices with a (directed) cyclic ordering and also directed Hamilton cycles on a set of unlabeled vertices with an undirected cyclic ordering, and (D7) counts undirected hamilton cycles on a set of unlabeled vertices with an undirected cyclic ordering.
In this setting, there are two natural involutions: reversal of a directed cyclic ordering, which may be considered a reflection, and arc-reversal of a directed cycle. The quantities we obtain can be interpreted in terms of either of these involutions.
• (D1/D7) For directed Hamilton cycles on a set of (unlabeled) vertices with a (directed) cyclic ordering, the number of reflexible ones (S) is 2 ( D 7 ) ( D 1 ) = δ R 1 ( n ) (equal to (D3/D5:S), see values above), and the number of chiral pairs (AP) is ( D 1 ) ( D 7 ) = 1 2 ( δ I ( n ) δ R 1 ( n ) ) .
We may also interpret (S) as the number of arc-reversible ones and (AP) as the number of arc-irreversible pairs.
AP values for 0 n 12 : 0, 0, 0, 1, 1, 4, 10, 54, 308, 2246, 18072, 164950, 1662434.
• (D7/D5) For undirected Hamilton cycles on a set of (unlabeled) vertices with a (directed) cyclic ordering, the number of reflexible ones (S) is 2 ( D 5 ) ( D 7 ) = 1 2 ( δ R ( n ) + δ R 1 ( n ) ) , and the number of chiral pairs (AP) is ( D 7 ) ( D 5 ) = 1 4 ( δ I ( n ) δ R ( n ) ) (equal to (D2/D4:AP), see values above).
We may also interpret these in terms of directed hamilton cycles on a set of (unlabeled) vertices with an undirected cyclic ordering: (S) is the number of arc-reversible ones, and (AP) is the number of arc-irreversible pairs.
S values for 0 n 12 : 1, 1, 1, 1, 2, 4, 10, 24, 72, 192, 672, 1920, 7680.
Our final two situations involve formula (D8). To discuss these, we re-interpret formulas (D3) and (D6) in terms of permutation matrices. Formula (D3) counts the equivalence classes of n × n permutation matrices under cyclic shifts of the row set, cyclic shifts of the column set, and rotation by 180 . Formula (D6) counts the equivalence classes of n × n permutation matrices under cyclic shifts of the row set, cyclic shifts of the column set, rotations of multiples of 90 , and transposition.
• (D3/D8) For equivalence classes of permutation matrices under cyclic shifts of row and column sets and rotations of 180 , the number invariant under rotations of 90 (S) is 2 ( D 8 ) ( D 3 ) = δ R 1 X ( n ) , and the number of pairs that are swapped by rotations of 90 (AP) is ( D 3 ) ( D 8 ) = 1 4 ( δ I ( n ) + δ R ( n ) 2 δ R 1 X ( n ) ) .
S values for 0 n 12 : 1, 1, 1, 0, 1, 2, 2, 0, 6, 12, 12, 0, 60.
AP values for 0 n 12 : 0, 0, 0, 1, 1, 3, 9, 39, 187, 1213, 9366, 83435, 835027.
• (D8/D6) For equivalence classes of permutation matrices under cyclic shifts of row and column sets and rotations of multiples of 90 , the number that is symmetric (invariant under transposition) (S) is 2 ( D 6 ) ( D 8 ) = 1 2 ( δ R 1 ( n ) + δ X ( n ) ) , and the number of asymmetric pairs (swapped by transposition) (AP) is ( D 8 ) ( D 6 ) = 1 8 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 X ( n ) 2 δ R 1 ( n ) 2 δ X ( n ) ) .
S values for 0 n 12 : 1, 1, 1, 1, 2, 3, 9, 17, 61, 147, 572, 1623, 6809.
AP values for 0 n 12 : 0, 0, 0, 0, 0, 1, 1, 11, 66, 539, 4403, 40906, 414139.

4. Bouquet Results

4.1. Bouquet Coset Averages

To obtain the results for embedded bouquets on n vertices, B n , we transform them into colored labeled bouquets, again thinking of each edge as consisting of two half-edges, and then into colored perfect matchings in the complete graph with vertex set Z 2 n . Perfect matchings on a cyclically ordered set, such as Z 2 n , are often represented by chord diagrams, so our results may also be interpreted as results for colored chord diagrams. See Figure 1 and Figure 5. The colored perfect matchings corresponding to a given embedding are not in general unique, so we apply Burnside’s lemma to groups of symmetries acting on the set of such matchings. Full details are given in Section 9.
There are two basic quantities for counting bouquet embeddings and related objects. As we show in Part III, both of these basic quantities given below have integer values, given positive integer inputs. Here again we use mnemonic superscripts for the identity (I), reflection (R), and cyclic shifts (S). For n = 0 and an arbitrary value of k, both of these quantities should be taken to be 1; the following formulas apply for n 1 .
β I ( n , k ) = 1 2 n ( d , g ) : d g = 2 n d odd φ ( d ) μ ( g , g / 2 ) d g / 2 k g / 2 + 1 2 n ( d , g ) : d g = 2 n d even φ ( d ) j = 0 g / 2 μ ( g , j ) d j k g j ; β R ( n , k ) = 1 2 j = 0 n / 2 μ ( n , j ) 2 j k n j + j = 0 ( n 1 ) / 2 μ ( n 1 , j ) 2 j k n j . .
The values of β I ( n , 1 ) and β R ( n , 1 ) appear in the OEIS [1]; see (B1) and (B1/B2:S) below.

4.2. Counting Basic Bouquet Objects

Table 2 summarizes our basic results on embeddings of bouquets. Further explanation is given below. Results obtained by applying Section 2.3 do not have individual entries in the table, but are discussed in Section 4.3.
• (B1) The number of oriented embeddings of k-colored n-edge bouquets is β I ( n , k ) .
This is also the number of k-colored n-chord diagrams up to rotations (cyclic shifts). This sequence for k = 1 appears in the OEIS [1] as A007769. It was also presented by Feng, Kwak, and Zhou [7] (Theorem 3.2), and by Orbanić et al. [9] (formula γ S ¯ D ¯ P ¯ ), specifically in the context of embeddings of bouquets. This sequence for k = 2 appears in Orbanić et al. [9] (formula γ S D ¯ P ¯ ) as counting signed (i.e., 2-colored) oriented embeddings of bouquets.
Values for k = 1 and 0 n 12 : 1, 1, 2, 5, 18, 105, 902, 9749, 127072, 1915951, 32743182, 624999093, 13176573910.
• (B2) The number of orientable embeddings of k-colored n-edge bouquets is 1 2 ( β I ( n , k ) + β R ( n , k ) ) .
This is also the number of k-colored n-chord diagrams up to rotations and reflections. This sequence for k = 1 appears in the OEIS [1] as A054499. It was also presented by Orbanić et al. [9] (formula δ S ¯ D ¯ P ¯ ), specifically in the context of embeddings of bouquets.
Values for k = 1 and 0 n 12 : 1, 1, 2, 5, 17, 79, 554, 5283, 65346, 966156, 16411700, 312700297, 6589356711.
• (B3) The number of generic (orientable or nonorientable) embeddings of k-colored n-edge bouquets is 1 2 ( β I ( n , 2 k ) + β R ( n , 2 k ) ) For k = 1 , this gives
1 2 ( β I ( n , 2 ) + β R ( n , 2 ) )
as the number of generic embeddings of n-edge bouquets.
This sequence for k = 1 was found by Kim and Park [6] (Theorem 3.2). Their approach involves subdividing a bouquet B n to give a graph with n triangles meeting at a common vertex. It was also found by Orbanić et al. [9] (formula δ S D ¯ P ¯ ).
Values for k = 1 and 0 n 12 : 1, 2, 6, 26, 173, 1844, 29570, 628680, 16286084, 490560202, 16764409276, 639992710196, 26985505589784.
• (B4) The number of nonorientable embeddings of k-colored n-edge bouquets is ( B 3 ) ( B 2 ) = 1 2 ( β I ( n , 2 k ) + β R ( n , 2 k ) β I ( n , k ) β R ( n , k ) ) . For k = 1 , this gives
1 2 ( β I ( n , 2 ) + β R ( n , 2 ) β I ( n , 1 ) β R ( n , 1 ) )
as the number of nonorientable embeddings of n-edge bouquets.
Values for k = 1 and 0 n 12 : 0, 1, 4, 21, 156, 1765, 29016, 623397, 16220738, 489594046, 16747997576, 639680009899, 26978916233073.

4.3. Symmetric and Asymmetric Bouquet Objects

Again we provide some applications of Equations (1) and (2) of Section 2.3. Given an involution (here, just reflection) that acts on objects counted by (Bi) and creates equivalence classes counted by (Bj), item (Bi/Bj) states the formulas for the numbers of symmetric objects, (S) or (Bi/Bj:S), and asymmetric pairs of objects, (AP) or (Bi/Bj:AP).
• (B1/B2) For n-edge bouquet embeddings, the number of reflexible ones (S) is 2 ( B 2 ) ( B 1 ) = β R ( n , k ) , and the number of chiral pairs (AP) is ( B 1 ) ( B 2 ) = 1 2 ( β I ( n , k ) β R ( n , k ) ) .
The number of reflexible ones (S) for k = 1 appears in the OEIS [1] as A018191. It was also presented by Feng, Kwak, and Zhou [8] (Theorem 4.2), specifically in the context of embeddings of bouquets. The number of chiral pairs (AP) for k = 1 occurs in the OEIS [1] as A054938.
S values for k = 1 and 0 n 12 : 1, 1, 2, 5, 16, 53, 206, 817, 3620, 16361, 80218, 401501, 2139512.
AP values for k = 1 and 0 n 12 : 0, 0, 0, 0, 1, 26, 348, 4466, 61726, 949795, 16331482, 312298796, 6587217199.

5. Directed Bouquet Results

5.1. Directed Bouquet Coset Averages

There are four basic quantities for counting the directed embeddings of directed bouquets and related objects. To obtain these quantities, we transform directed embeddings of directed bouquets into labeled directed bouquets and then into perfect matchings in the complete graph with vertex set Z 2 n and signed vertices. We apply Burnside’s lemma to groups of symmetries acting on the set of matchings. Full details are given in Section 10.
As we show in Part III, all of the following have integer values, given positive integer inputs. For n = 0 and an arbitrary value of k, all of these quantities should be taken to be 1; the following formulas apply for n 1 .
α I ( n , k ) = 1 n ( d , g ) : d g = n ϕ ( d ) g ! d g k g ; α R ( n , k ) = 0 if n is even , n 1 2 ! 2 ( n 1 ) / 2 k ( n + 1 ) / 2 if n is odd ; α F ( n , k ) = 0 if n is even , 1 n ( d , g ) : d g = n g odd φ ( 2 d ) j = 0 g / 2 μ ( g , j ) d j k g j if n is odd ; α R F ( n , k ) = j = 1 n / 2 μ ( n , j ) k n j .
The values of α I ( n , 1 ) , α R ( n , 1 ) , and α R F ( n , 1 ) appear in the OEIS; see (A1), (A1/A2:S), and (A1/A5:S) below.

5.2. Counting Basic Directed Bouquet Objects

Table 3 summarizes our basic results on the embeddings of bouquets. Further explanation is given below. Results obtained by applying Section 2.3 do not have individual entries in the table, but are discussed in Section 5.3.
• (A1) The number of oriented k-colored directed embeddings of n-arc directed bouquets is α I ( n , k ) .
This sequence for k = 1 appears in the OEIS [1] as A061417. It was also presented by Chen, Gao, and Huang [10] (Theorem 3.3) specifically in the context of directed embeddings of directed bouquets.
Values for k = 1 and 0 n 12 : 1, 1, 2, 4, 10, 28, 136, 726, 5100, 40362, 363288, 3628810, 39921044.
• (A2) The number of orientable k-colored directed embeddings of n-arc directed bouquets is 1 2 ( α I ( n , k ) + α R ( n , k ) ) .
Values for k = 1 and 0 n 12 : 1, 1, 1, 3, 5, 18, 68, 387, 2550, 20373, 181644, 1816325, 19960522.
• (A3) The number of arc-reversal classes of oriented k-colored directed embeddings of n-arc directed bouquets is 1 2 ( α I ( n , k ) + α F ( n , k ) ) .
Values for k = 1 and 0 n 12 : 1, 1, 1, 3, 5, 17, 68, 380, 2550, 20328, 181644, 1816028, 19960522.
• (A4) The number of arc-reversal classes of orientable k-colored directed embeddings of n-arc directed bouquets is 1 4 ( α I ( n , k ) + α R ( n , k ) + α F ( n , k ) + α R F ( n , k ) ) .
Values for k = 1 and 0 n 12 : 1, 1, 1, 3, 5, 17, 53, 260, 1466, 10915, 93196, 917898, 10015299.
• (A5) The number of classes of oriented k-colored directed embeddings of n-arc directed bouquets under simultaneous reflection and arc reversal is 1 2 ( α I ( n , k ) + α R F ( n , k ) ) .
Values for k = 1 and 0 n 12 : 1, 1, 2, 4, 10, 27, 106, 479, 2932, 21491, 186392, 1832253, 20030598.
• (A6) The number of generic (orientable or nonorientable) k-colored directed embeddings of n-arc directed bouquets is 1 2 ( α I ( n , 2 k ) + α R ( n , 2 k ) ) . For k = 1 this gives
1 2 ( α I ( n , 2 ) + α R ( n , 2 ) )
as the number of generic directed embeddings of directed bouquets.
Values for k = 1 and 0 n 12 : 1, 2, 3, 14, 54, 420, 3886, 46470, 645524, 10328214, 185800748, 3716014090, 81749732156.
• (A7) The number of nonorientable k-colored directed embeddings of n-arc directed bouquets is ( A 6 ) ( A 2 ) = 1 2 ( α I ( n , 2 k ) + α R ( n , 2 k ) α I ( n , k ) α R ( n , k ) ) . For k = 1 , this gives
1 2 ( α I ( n , 2 ) + α R ( n , 2 ) α I ( n , 1 ) α R ( n , 1 ) )
as the number of nonorientable directed embeddings of directed bouquets.
Values for k = 1 and 0 n 12 : 0, 1, 2, 11, 49, 402, 3818, 46083, 642974, 10307841, 185619104, 3714197765, 81729771634.
• (A8) The number of arc-reversal classes of generic (orientable or nonorientable) k-colored directed embeddings of n-arc directed bouquets is 1 4 ( α I ( n , 2 k ) + α R ( n , 2 k ) + α F ( n , 2 k ) + α R F ( n , 2 k ) ) . For k = 1 this gives
1 4 ( α I ( n , 2 ) + α R ( n , 2 ) + α F ( n , 2 ) + α R F ( n , 2 ) )
as the number of arc-reversal classes of generic directed embeddings of directed bouquets.
Values for k = 1 and 0 n 12 : 1, 2, 3, 14, 46, 304, 2289, 25096, 330862, 5211052, 93130670, 1859431284, 40882543694.
• (A9) The number of arc-reversal classes of nonorientable k-colored directed embeddings of n-arc directed bouquets is ( A 8 ) ( A 4 ) = 1 4 ( α I ( n , 2 k ) + α R ( n , 2 k ) + α F ( n , 2 k ) + α R F ( n , 2 k ) α I ( n , k ) α R ( n , k ) α F ( n , k ) α R F ( n , k ) ) . For k = 1 this gives
1 4 ( α I ( n , 2 ) + α R ( n , 2 ) + α F ( n , 2 ) + α R F ( n , 2 ) α I ( n , 1 ) α R ( n , 1 ) α F ( n , 1 ) α R F ( n , 1 ) )
as the number of arc-reversal classes of nonorientable directed embeddings of directed bouquets.
Values for k = 1 and 0 n 12 : 0, 1, 2, 11, 41, 287, 2236, 24836, 329396, 5200137, 93037474, 1858513386, 40872528395.

5.3. Symmetric and Asymmetric Directed Bouquet Objects

Again we provide some applications of Equations (1) and (2) of Section 2.3. Given an involution that acts on objects counted by (Ai) and creates equivalence classes counted by (Aj), item (Ai/Aj) states the formulas for the numbers of symmetric objects, (S) or (Ai/Aj:S), and asymmetric pairs of objects, (AP) or (Ai/Aj:AP).
First, we consider situations where our involution is a ‘reflection’ in the sense of the reversal of the surface orientation.
• (A1/A2) For oriented k-colored directed embeddings of n-arc directed bouquets, the number of reflexible ones (S) is 2 ( A 2 ) ( A 1 ) = α R ( n , k ) , and the number of chiral pairs (AP) is ( A 1 ) ( A 2 ) = 1 2 ( α I ( n , k ) α R ( n , k ) ) .
The number of reflexible ones for k = 1 and odd n appears in the OEIS [1] as A000165.
S values for k = 1 and 0 n 12 : 1, 1, 0, 2, 0, 8, 0, 48, 0, 384, 0, 3840, 0.
AP values for k = 1 and 0 n 12 : 0, 0, 1, 1, 5, 10, 68, 339, 2550, 19989, 181644, 1812485, 19960522.
• (A3/A4) For the arc-reversal classes of k-colored directed embeddings of n-arc directed bouquets, the number of reflexible ones (S) is 2 ( A 4 ) ( A 3 ) = 1 2 ( α R ( n , k ) + α R F ( n , k ) ) , and the number of chiral pairs (AP) is ( A 3 ) ( A 4 ) = 1 4 ( α I ( n , k ) + α F ( n , k ) α R ( n , k ) α R F ( n , k ) ) .
S values for k = 1 and 0 n 12 : 1, 1, 1, 3, 5, 17, 38, 140, 382, 1502, 4748, 19768, 70076.
AP values for k = 1 and 0 n 12 : 0, 0, 0, 0, 0, 0, 15, 120, 1084, 9413, 88448, 898130, 9945223.
Next, we consider situations where our involution is arc-reversal.
• (A1/A3) For oriented k-colored directed embeddings of n-arc directed bouquets, the number of arc-reversible ones (S) is 2 ( A 3 ) ( A 1 ) = α F ( n , k ) , and the number of arc-irreversible pairs (AP) is ( A 1 ) ( A 3 ) = 1 2 ( α I ( n , k ) α F ( n , k ) ) .
S values for k = 1 and 0 n 12 : 1, 1, 0, 2, 0, 6, 0, 34, 0, 294, 0, 3246, 0.
AP values for k = 1 and 0 n 12 : 0, 0, 1, 1, 5, 11, 68, 346, 2550, 20034, 181644, 1812782, 19960522.
• (A2/A4) For orientable k-colored directed embeddings of n-arc directed bouquets, the number of arc-reversible ones (S) is 2 ( A 4 ) ( A 2 ) = 1 2 ( α F ( n , k ) + α R F ( n , k ) ) , and the number of arc-irreversible pairs (AP) is ( A 2 ) ( A 4 ) = 1 4 ( α I ( n , k ) + α R ( n , k ) α F ( n , k ) α R F ( n , k ) ) .
S values for k = 1 and 0 n 12 : 1, 1, 1, 3, 5, 16, 38, 133, 382, 1457, 4748, 19471, 70076.
AP values for k = 1 and 0 n 12 : 0, 0, 0, 0, 0, 1, 15, 127, 1084, 9458, 88448, 898427, 9945223.
• (A6/A8) For generic k-colored directed embeddings of n-arc directed bouquets. the number of arc-reversible ones (S) is 2 ( A 8 ) ( A 6 ) = 1 2 ( α F ( n , 2 k ) + α R F ( n , 2 k ) ) , and the number of arc-irreversible pairs (AP) is ( A 6 ) ( A 8 ) = 1 4 ( α I ( n , 2 k ) + α R ( n , 2 k ) α F ( n , 2 k ) α R F ( n , 2 k ) ) .
S values for k = 1 and 0 n 12 : 1, 2, 3, 14, 38, 188, 692, 3722, 16200, 93890, 460592, 2848478, 15355232.
AP values for k = 1 and 0 n 12 : 0, 0, 0, 0, 8, 116, 1597, 21374, 314662, 5117162, 92670078, 1856582806, 40867188462.
• (A7/A9) For nonorientable k-colored directed embeddings of n-arc directed bouquets, the number of arc-reversible ones (S) is 2 ( A 9 ) ( A 7 ) = 1 2 ( α F ( n , 2 k ) + α R F ( n , 2 k ) α F ( n , k ) α R F ( n , k ) ) , and the number of arc-irreversible pairs (AP) is ( A 7 ) ( A 9 ) = 1 4 ( α I ( n , 2 k ) + α R ( n , 2 k ) α F ( n , 2 k ) α R F ( n , 2 k ) α I ( n , k ) α R ( n , k ) + α F ( n , k ) + α R F ( n , k ) ) .
S values for k = 1 and 0 n 12 : 0, 1, 2, 11, 33, 172, 654, 3589, 15818, 92433, 455844, 2829007, 15285156.
AP values for k = 1 and 0 n 12 : 0, 0, 0, 0, 8, 115, 1582, 21247, 313578, 5107704, 92581630, 1855684379, 40857243239.
Finally we consider situations involving simultaneous reflection and arc reversal.
• (A1/A5) For oriented k-colored directed embeddings of n-arc directed bouquets, the number symmetric under simultaneous reflection and arc reversal (S) is 2 ( A 5 ) ( A 1 ) = α R F ( n , k ) , and the number of asymmetric pairs (AP) is ( A 1 ) ( A 5 ) = 1 2 ( α I ( n , k ) α R F ( n , k ) ) .
The number of symmetric ones (S) for k = 1 appears in the OEIS [1] as A000085; it is the total number of matchings in an n-vertex complete graph.
S values for k = 1 and 0 n 12 : 1, 1, 2, 4, 10, 26, 76, 232, 764, 2620, 9496, 35696, 140152.
AP values for k = 1 and 0 n 12 : 0, 0, 0, 0, 0, 1, 30, 247, 2168, 18871, 176896, 1796557, 19890446.
• (A5/A4) Let S be the set of equivalence classes of oriented k-colored directed embeddings of n-arc directed bouquets under simultaneous reflection and arc reversal. Considering elements of S up to reflection is the same as considering elements of S up to arc-reversal. The number of reflexible (or arc-reversible) elements of S (S) is 2 ( A 4 ) ( A 5 ) = 1 2 ( α R ( n , k ) + α F ( n , k ) ) , and the number of chiral (or arc-irreversible) pairs (AP) is ( A 5 ) ( A 4 ) = 1 4 ( α I ( n , k ) + α R F ( n , k ) α R ( n , k ) α F ( n , k ) ) .
S values for k = 1 and 0 n 12 : 1, 1, 0, 2, 0, 7, 0, 41, 0, 339, 0, 3543, 0.
AP values for k = 1 and 0 n 12 : 0, 0, 1, 1, 5, 10, 53, 219, 1466, 10576, 93196, 914355, 10015299.

6. Related Work and Future Directions

There are a number of problems that follow naturally from the work in this paper. For bouquets and directed bouquets, we found the number of generic (orientable or nonorientable) and nonorientable embeddings. It would also be natural to count equivalence classes of generic embeddings under the Petrie duality. For dipoles, we have not yet counted generic and nonorientable embeddings, and counting those would be a natural next step, building on some of the ideas we used in counting dipolar cogs. We already counted Petrie duality classes of orientable dipole embeddings, but it would also be interesting do this for generic dipole embeddings. Chen, Gao, and Huang [10] (Theorem 2.4) counted the directed embeddings of Eulerian directed dipoles in oriented surfaces, and it should be possible to obtain related results similar to the results in Section 3 and Section 5. All of these problems seem approachable by extending the techniques used here.
It would be straightforward to extend our results on edge-colored bouquets and arc-colored directed bouquets to set up generating functions with variables marking individual colors. Our proofs in Section 9 and Section 10 below already contain most of the analyses needed to find the relevant cycle indices for applying the Redfield–Pólya theory.
Orbanić et al. [9] investigated embeddings of one-vertex graphs in two directions that we did not pursue in this paper. First, they considered pre-maps, which are embeddings of pre-graphs, graphs where semi-edges that have only one incidence with a vertex are allowed. Second, they considered embeddings of directed bouquets that are not necessarily directed embeddings: the faces need not be bounded by directed walks. It would be natural to find ways to extend these results to dipoles.
Another open problem is to enumerate the looped dipoles of Figure 3c, which is equivalent to counting upper embeddable graphs with two faces. A similar problem is to count ’pointed’ graphs, that is, graphs with one distinguished vertex that is incident to every edge. This vertex is then incident to a collection of loops and digons as in Figure 3d. Such graphs are dual to edge-outer embeddable graphs. Because these problems involve multiple graphs for a given number of edges, they seem more difficult than the problems discussed in the first paragraph above. However, the formulas and approaches given here can likely serve as a foundation for further work on looped dipoles and pointed graphs. Moreover, counting embeddings of pre-graphs with two vertices but no loops may serve as a stepping stone from dipoles to looped dipoles.

Part III
Technical Details

This part of the paper provides the technical details and formal proofs of the results in Part II.

7. Basic Counting Results

We begin with some basic counting results we will use. The first is very well known.
Theorem 1
(Burnside’s Lemma (stated earlier by Cauchy and Frobenius)). Suppose Γ is a group acting on a set S. Then the number of orbits of the action, i.e., the number of equivalence classes under the symmetries provided by Γ, is
1 | Γ | γ Γ | Fix ( γ ) | ,
where Fix ( γ ) is the set of elements of S fixed by γ.
In several places, we need to count how many permutations τ have τ 2 = α for a given permutation α . We will use the following lemma. Recall that μ ( n , j ) is the number of j-matchings of an n-set.
Lemma 1.
For integers 1 and m 0 define
q ( , m ) = 0 i f i s e v e n a n d m i s o d d , μ ( m , m / 2 ) m / 2 i f i s e v e n a n d m i s e v e n , j = 0 m / 2 μ ( m , j ) j i f i s o d d .
Notice that q ( , m ) = 1 if m = 0 . Let α be a permutation of an n-set with a cycles of length ℓ for each ℓ, 1 n . Then the number of permutations τ with τ 2 = α is = 1 n q ( , a ) .
Proof. 
We need to consider how the cycles of α come from the cycles of τ . A cycle of even length 2 in τ yields two cycles of length in α . A cycle of odd length in τ yields a cycle of the same odd length in α . Therefore, when is even each cycle of length in α must be paired with another such cycle and come from a cycle of length 2 in τ . When is odd each cycle of length in α can either come from a cycle of length in τ , or be paired with another cycle and come from a cycle of length 2 in τ .
If α has an odd number m = a of cycles of even length , we cannot pair them all up, so the number of possibilities for the corresponding cycles in τ is 0, which is q ( , m ) = q ( , a ) .
If α has an even number m = a of cycles of even length , then there are μ ( m , m / 2 ) ways to pair these up, and for each pairing there are ways to interleave two cycles of length to obtain a cycle of length 2 . Therefore, the number of possibilities in τ is μ ( m , m / 2 ) m / 2 , which is q ( , m ) = q ( , a ) .
If α has m = a cycles of odd length , then for each j with 0 j m / 2 we can pair up 2 j of these cycles in μ ( m , j ) ways, interleave each of the j pairs in ways, and use the unique square root of each of the m 2 j unpaired cycles, giving giving μ ( m , j ) j possibilities. Summing over all j gives that the number of possibilities for the corresponding cycles in τ is j = 0 m / 2 μ ( m , j ) j , which is q ( , m ) = q ( , a ) .
Now multiplying the number of possibilities for each gives the result. □
We use the following easy argument in several places so it is convenient to summarize it here for reference.
Observation 1.
Suppose we have sets A , B with | A | = | B | = 2 k , and partitions A , B of A and B, respectively, into pairs (2-subsets). Let ψ : A B be a bijection that preserves pairs, i.e., such that ψ ( A ) B for all A A . There are k ! choices for the bijection that ψ establishes a between A and B , and 2 ways for ψ to map the elements of each A to the elements of ψ ( A ) . Hence the number of possible maps ψ is k ! 2 k .

8. Proofs for Dipole Formulas

8.1. Labeled Dipoles and Symmetry Operations

In this section, we prove the counting results from Section 3 regarding embeddings of dipoles and related objects. Recall that a dipole D n has two vertices and n edges, each edge having both vertices as its ends (so there are multiple edges but no loops). We think of each edge as consisting of two half-edges, each incident with one of the vertices.
Our results on dipoles will be proved by elementary techniques (straightforward applications of Burnside’s Lemma) based on groups acting on a set of objects that we will call labeled dipoles. As we will see, labeled dipoles are in one-to-one correspondence with elements of the symmetric group Sym ( Z n ) , so our results can also be interpreted as counting results for permutations, or permutation matrices, under various equivalence relations.
A labeled dipole is a dipole D where the vertices receive distinct labels 0 and 1, and for each vertex the half-edges incident with that vertex receive distinct labels from Z n = { 0 , 1 , 2 , , n 1 } , where n = | E ( D ) | . An example is given in Figure 6b. We let D n denote the set of n-edge labeled dipoles. For j { 0 , 1 } , we refer to the vertex labeled j as vertex j, and the half-edges incident to vertex j as j-half-edges. For each edge e, we let λ j ( e ) denote the label of the j-half-edge of e.
A labeled dipole D is completely described by the set of ordered pairs { ( λ 0 ( e ) , λ 1 ( e ) ) | e E ( D ) } . There is, therefore, a one-to-one correspondence between n-edge labeled dipoles and sets P = { ( a 0 , b 0 ) , ( a 1 , b 1 ) , , ( a n 1 , b n 1 ) } with { a 0 , a 1 , , a n 1 } = { b 0 , b 1 , , b n 1 } = Z n . Let P n denote the collection of all such sets P. Recall that a function is formally defined as a set of ordered pairs whose first components are distinct. Therefore, P may be regarded as the formal representation of a function π : Z n Z n with π ( a i ) = b i for 0 i n 1 . It is easy to see that π is a bijection. Thus, π is a permutation of Z n , an element of the symmetric group Sym ( Z n ) . Thus, we have natural bijections between D n , P n and Sym ( Z n ) .
For example, the labeled dipole in Figure 6b corresponds to { ( 0 , 4 ) , ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 0 ) , ( 4 , 1 ) } P 5 and the permutation 0 1 2 3 4 4 2 3 0 1 Sym ( Z 5 ) .
Each object of types (D1)–(D8) above can be turned into a labeled dipole (or permutation of Z n ) in a natural way. However, some choices are involved in doing this, so each object can be turned into several different labeled dipoles (or permutations), which we wish to characterize as being equivalent under certain symmetries. The symmetries always include cyclically shifting the labels of the 0-half-edges and cyclically shifting the labels of the 1-half-edges, and may also include reversing the labels of the 0-half-edges or the 1-half-edges, or swapping the vertex labels.
Our symmetries can be defined in terms of how they act on ordered pairs ( a , b ) Z n × Z n . However, to simplify some proofs, and to avoid treating n = 1 and 2 as special cases, we will define them more generally, as permutations of the set R n × R n , where R n = R / n Z is the additive group of the real numbers modulo n, whose underlying set can be identified with the real interval [ 0 , n ) . Note that R n contains Z n as a subgroup. Let I denote the identity of Sym ( R n × R n ) , and define S 0 , S 1 , R 0 , R 1 , X Sym ( R n × R n ) as follows:
S 0 ( a , b ) = ( a + 1 , b ) ; S 1 ( a , b ) = ( a , b + 1 ) ;
R 0 ( a , b ) = ( a , b ) ; R 1 ( a , b ) = ( a , b ) ; and
X ( a , b ) = ( b , a ) .
Let Σ d = S 0 , S 1 and Ω d = S 0 , S 1 , R 0 , R 1 , X (the superscript ‘d’ indicating groups acting on dipoles), so that Σ d Ω d Sym ( R n × R n ) .
Consider the induced action of Sym ( R n × R n ) on P R n × R n by T ( P ) = { T ( a , b ) | ( a , b ) P } . If T { S 0 , S 1 , R 0 , R 1 , X } , then both T and T 1 map Z n × Z n to itself, and moreover both T and T 1 map P n to itself under the induced subset action. It follows that these statements also hold for all T Ω d . So we have an action of Ω d on P n , and using the natural bijections between P n and D n or Sym ( Z n ) , we also obtain actions of Ω d on those sets.
The actions of S 0 and S 1 on D n correspond to shifting the labels of the 0- and 1-half-edges, respectively; R 0 and R 1 correspond to reversing (specifically, negating) the labels of the 0- and 1-half-edges, respectively, and X corresponds to swapping the vertex labels.
We note that ‘reflections’ of labels can be regarded as elements of a dihedral group generated by cyclic shifts (rotations) and one reflection. In particular, for labels around vertex i (assumed to be equally spaced around a circle), S i h R i maps j h j , which is a reflection about an axis passing through the center of the circle and opposite points h / 2 and h / 2 + n / 2 on the circle.
In some contexts, the ‘reversal’ of labels might naturally be regarded as the map on Z n with 0 n 1 , 1 n 2 , ⋯, n 1 0 . This maps j n 1 j , and is just a reflection about an axis through n 1 / 2 or ( n 1 ) / 2 , and for labels around the vertex, i is represented by the transformation V i = S i n 1 R i . However, using R 0 and R 1 instead of V 0 and V 1 generally simplifies the calculations. Since we will always include S 0 and S 1 in our groups, and since S j , R j = S j , V j for j { 0 , 1 } , working with R 0 and R 1 is equivalent to working with V 0 and V 1 , respectively.
The actions on Sym ( Z n ) are as follows. Let σ , ρ Sym ( Z n ) be defined by σ ( i ) = i + 1 and ρ ( i ) = i , and let π be an arbitrary element of Sym ( Z n ) . First, S 0 represents a cyclic shift in the input variable of π : instead of i π ( i ) , we have i + 1 π ( i ) , or j π ( j 1 ) = π σ 1 ( j ) . Next, S 1 represents a cyclic shift in the output variable: instead of i π ( i ) , we have i π ( i ) + 1 = σ π ( i ) . Now, R 0 represents reversal (negation) of the input variable: instead of i π ( i ) , we have i π ( i ) , or j π ( j ) = π ρ ( j ) . Next, R 1 represents reversal of the output variable: instead of i π ( i ) , we have i π ( i ) = ρ π ( i ) . Finally, X corresponds to swapping the input and output variables, which inverts the permutation: instead of i π ( i ) , we have π ( i ) i , or j π 1 ( j ) . To summarize,
S 0 ( π ) = π σ 1 , S 1 ( π ) = σ π , R 0 ( π ) = π ρ , R 1 ( π ) = ρ π , and X ( π ) = π 1 .
Figure 8 illustrates how we may obtain two equivalent labeled dipoles from the oriented embedding of a vertex-unlabeled dipole in Figure 8a, and describe the relationship using the symmetries we have just defined. The permutation π 1 = 0 1 2 3 4 3 2 4 0 1 corresponds to the labeling L1 in Figure 8b and may be read from the diagram in Figure 8d. Similarly, the permutation π 2 = 0 1 2 3 4 3 0 1 2 4 corresponds to the labeling L2 in Figure 8c and may be read from the diagram in Figure 8e. The permutation π 1 is related to the permutation π 2 by exchanging the vertex labels (rotating the diagram by 180 ), then incrementing the edge labels on the top by 2 and those on the bottom by 3. Formally, this is
π 2 = S 0 2 S 1 3 X ( π 1 ) or π 2 = σ 3 π 1 1 σ 2 .
The following theorem provides some relationships between the generators of Ω d .
Proposition 1.
Let n be a positive integer, and consider S 0 , S 1 , R 0 , R 1 , X Sym ( R n × R n ) as defined above. Let I be the identity of Sym ( R n × R n ) .
(a) 
Then (composing functions right to left),
(1) 
S 0 n = S 1 n = R 0 2 = R 1 2 = X 2 = I ;
(2) 
each of S 0 or R 0 commutes with each of S 1 or R 1 ;
(3) 
R 0 S 0 = S 0 1 R 0 , and R 1 S 1 = S 1 1 R 1 ;
(4) 
X S 0 = S 1 X , and X R 0 = R 1 X .
Moreover, if R = R 0 R 1 so that R ( a , b ) = ( a , b ) then
(5) 
R 2 = I , R S 0 = S 0 1 R , R S 1 = S 1 1 R , and X R = R X .
(b) 
Every element of Ω d = S 0 , S 1 , R 0 , R 1 , X can be written uniquely as S 0 h S 1 k R 0 p R 1 q X s for some h , k Z n and p , q , s { 0 , 1 } . Hence | Ω d | = 8 n 2 .
Proof .
(a) All of these relations can be checked easily from the definitions.
(b) To obtain that each T Γ can be expressed as S 0 h S 1 k R 0 p R 1 q X s for some h , k Z n and p , q , s { 0 , 1 } we can just apply the relations in (a) to put any word W in our generators into this form. First move any X to the end of the word, to write W = W 1 X s with s { 0 , 1 } . Then move any R 0 or R 1 to the end of W 1 , then rearrange them to write W 1 = W 2 R 0 p R 1 q . Finally W 2 can be rearranged to have the form W 2 = S 0 h S 1 k .
Now consider the effect of T = S 0 h S 1 k R 0 p R 1 q X s on the single point ( 0.1 , 0.2 ) R n × R n . If s = 0 then T ( 0.1 , 0.2 ) = ( ( 1 ) p 0.1 + h , ( 1 ) q 0.2 + k ) and if s = 1 then T ( 0.1 , 0.2 ) = ( ( 1 ) p 0.2 + h , ( 1 ) q 0.1 + k ) . It is easy to determine the values of s then p , q , h , k from T ( 0.1 , 0.2 ) and therefore T cannot have a different representation. (This is one place where it is helpful to consider permutations of R n × R n , not just Z n × Z n .)
Since there are n choices for each of h and k and 2 choices for each of p, q, and s, we obtain | Ω d | = 8 n 2 . □

8.2. Dipole Coset Averages

We are going to consider the action of Ω d = S 0 , S 1 , R 0 , R 1 , X Sym ( R n × R n ) and some of its subgroups on P n , and the corresponding actions on Sym ( Z n ) and D n . We know that | Ω d | = 8 n 2 even if n = 1 or 2. When n = 1 or 2 the action of Ω d on D n is not faithful (two different elements of Ω d may act in the same way), but this does not matter for counting arguments using Burnside’s lemma.
For determining fixed points, we use the action of Ω d or its subgroups on Sym ( Z n ) . From Theorem 1 and results in the last subsection, we know that the action of an element of Ω d on π Sym ( Z n ) can be described as
S 0 h S 1 k R 0 p R 1 q X s ( π ) = σ k ρ q π ( 1 ) s ρ p σ h .
The action of Ω d itself will allow us to count dipolar cogs, problem (D6) in our list above.
The subgroups of Ω d that we consider will always contain S 0 and S 1 , and hence will always have Σ d = S 0 , S 1 as a subgroup. From Theorem 1, we know that Σ d = { S 0 h S 1 k | h , k Z n } , with n 2 elements. The action of Σ d on D n or Sym ( Z n ) will allow us to count vertex-labeled oriented dipole embeddings, problem (D1) in our list above.
Any group of symmetries containing Σ d can be considered a union of right cosets Σ d T of Σ d . In Ω d , there are eight right cosets Σ d T , for T { R 0 p R 1 q X s | p , q , s { 0 , 1 } } = { I , X , R , R X , R 0 , R 1 , R 0 X , R 1 X } , where R = R 0 R 1 . Therefore, in applying Burnside’s lemma, we can use expressions giving the average number of fixed points for Σ d T ,
δ T ( n ) = 1 n 2 γ Σ d T | Fix ( γ ) | = 1 n 2 h Z n k Z n | Fix ( S 0 h S 1 k T ) |
where we consider the action on Sym ( Z n ) . In this subsection, we compute all eight corresponding values δ T ( n ) . We see that there are five distinct values for these coset averages.
For all of our dipole counting problems, the relevant group Γ satisfies Σ d Γ Ω d , and the cosets of Σ d in Γ are a subset of the cosets of Σ d in Ω d . So the coset averages δ T ( n ) computed for Ω d will also provide solutions for the problems involving the other groups Γ .
We can reduce one counting problem to another if two cosets are related by conjugacy, as follows.
Lemma 2.
Suppose T 1 , T 2 , U Ω d and U 1 Σ d T 1 U = Σ d T 2 . Then δ T 1 ( n ) = δ T 2 ( n ) .
Proof. 
The map γ γ = U 1 γ U is a bijection from Σ d T 1 to Σ d T 2 . Moreover, π Fix ( γ ) if and only if U 1 π Fix ( γ ) . So there is a bijection between Σ d T 1 and Σ d T 2 that preserves the number of fixed points of each element, and hence δ T 1 ( n ) = δ T 2 ( n ) . □
Computing δ I ( n ) . To compute δ I ( n ) , we consider the fixed points of elements of Σ d . Suppose there is π Fix ( S 0 h S 1 k ) . Then π = σ k π σ h , so π σ h = σ k π , and thus π ( i + h ) = π ( i ) + k for all i Z n . Hence, by induction,
π ( i + t h ) = π ( i ) + t k for all t 1 and i Z n .
Let g = gcd ( h , n ) and d = n / g , and j = gcd ( k , n ) and e = n / j . Then d and e are the smallest positive integers such that n | d h and n | e k , respectively. If d < e we have π ( i ) = π ( i + d h ) = π ( i ) + d k π ( i ) , and if e < d we have π ( i ) π ( i + e h ) = π ( i ) + e k = π ( i ) , both of which are contradictions. Hence d = e and so g = j , i.e., gcd ( h , n ) = gcd ( k , n ) ; otherwise no such π exists.
Now if gcd ( h , n ) = gcd ( k , n ) = g then we can write h = a g , k = b g , and n = d g , where gcd ( a , d ) = gcd ( b , d ) = 1 . For a given g, there are φ ( d ) possible values of a (and hence of h), and the same number of values of b (and hence of k).
Consider one of the φ ( d ) 2 pairs ( h , k ) corresponding to a given g and d. Now h Z n = k Z n = g Z n , which has d = n / g elements. By Equation (3), once we determine π ( i ) we determine π for every element of the coset i + h Z n = i + g Z n , and those values exhaust all the elements of the coset π ( i ) + k Z n = π ( i ) + g Z n . Thus, π Fix ( S 0 h S 1 k ) is determined by its values π ( 0 ) , π ( 1 ) , , π ( g 1 ) , and each of these values lies in a distinct coset j + g Z n for 0 j g 1 , each of which has d elements. We may therefore assign the cosets to π ( 0 ) , π ( 1 ) , , π ( g 1 ) in g ! ways, and then pick one of d values in each coset, giving g ! d g choices of π .
Therefore,
δ I ( n ) = 1 n 2 h Z n k Z n | Fix ( S 0 h S 1 k ) | = 1 n 2 ( d , g ) : d g = n φ ( d ) 2 g ! d g = 1 n ( d , g ) : d g = n φ ( d ) 2 ( g 1 ) ! d g 1 .
Computing δ R ( n ) . Suppose γ = S 0 h S 1 k R = S 0 h S 1 h R 0 R 1 and π Fix ( γ ) . Then π = σ k ρ π ρ σ h , from which π ( i ) = k π ( ( i h ) ) = k π ( h i ) and hence π ( i ) + π ( h i ) = k for all i Z n . Our analysis of this equation will depend on whether n is odd or even.
Suppose first that n is odd. Then the sets { i , h i } partition Z n into ( n 1 ) / 2 pairs and one singleton { h / 2 } (since n is odd, h / 2 is well-defined for all h Z n ). We must have π ( h / 2 ) + π ( h h / 2 ) = k , i.e., 2 π ( h / 2 ) = k , so π ( h / 2 ) = k / 2 is determined. For i h / 2 , the pair π ( { i , h i } ) = { π ( i ) , π ( h i ) } is a pair { j , k j } with j k / 2 . Since π maps ( n 1 ) / 2 pairs to another ( n 1 ) / 2 pairs, by Observation 1, the number of possible π is ( ( n 1 ) / 2 ) ! 2 ( n 1 ) / 2 . This is constant for all h and k. Therefore, we have
δ R ( n ) = n 1 2 ! 2 ( n 1 ) / 2 for odd n .
Suppose now that n is even. Then the way in which the sets { i , h i } partition Z n depends on whether h is odd or even. If h is odd, the partition has n / 2 pairs. If h is even, define h / 2 by treating h [ 0 , n 1 ] as a real number rather than an element of Z n ; then there are two singletons { h / 2 } and { h / 2 + n / 2 } , and n / 2 1 pairs. Similarly, the sets { j , k j } partition Z n in ways that depend on whether k is odd or even. Since each set { i , h i } must map to a set { j , k j } of the same size, either both h and k are odd, or both h and k are even. If both are odd then π maps n / 2 pairs to another n / 2 pairs, so there are ( n / 2 ) ! 2 n / 2 possible π for these n 2 / 4 choices of ( h , k ) . If both h and k are even, there are 2 ways to match up the singletons { h / 2 } and { h / 2 + n / 2 } with the singletons { k / 2 } a n d { k / 2 + n / 2 } , and ( n / 2 1 ) ! 2 n / 2 1 ways for π to preserve the pairings of the remaining elements. So there are ( n / 2 1 ) ! 2 n / 2 possible π for these n 2 / 4 choices of ( h , k ) . Thus,
δ R ( n ) = 1 n 2 n 2 4 n 2 ! 2 n / 2 + n 2 4 n 2 1 ! 2 n / 2 = ( n + 2 ) n 2 1 ! 2 n / 2 3 for even n .
Since R 1 affects the output of a permutation, and R 0 affects the input, the effect of R 1 is easier to analyze than the effect of R 0 . Therefore, we will consider R 1 before R 0 , and R 1 X before R 0 X .
Computing δ R 1 ( n ) . Suppose γ = S 0 h S 1 k R 1 and π Fix ( γ ) . Then π = σ k ρ π σ h , so π ( i ) = k π ( i h ) and hence π ( i ) + π ( i h ) = k for all i Z n . Then π ( i h ) + π ( i 2 h ) = k for all i so π ( i 2 h ) = π ( i ) for all i. This can only happen if 2 h = 0 which means h = 0 , or n is even and h = n / 2 .
If h = 0 , then the only way we can have π ( i ) + π ( i h ) = 2 π ( i ) = k for all i is if n = 1 or 2 and k = 0 . There are one such π for n = 1 and two such π for n = 2 .
If n is even and h = n / 2 , then π must map each of the n / 2 pairs { i , i + n / 2 } to a pair { j , k j } . For all sets { j , k j } to be pairs, k must be odd. For each of the n / 2 odd values of k, Observation 1 tells us there are ( n / 2 ) ! 2 n / 2 possible π . Thus, taking into account the special cases when n = 1 or 2,
δ R 1 ( n ) = 1 if n = 1 or 2 , 0 if n 3 is odd , 1 n n 2 ! 2 n / 2 1 if n 4 is even .
Computing δ R 0 ( n ) . By Theorem 1, we can see that R 0 = X R 1 X , and that Σ d X = X Σ d . Therefore, Σ d R 0 = Σ d X R 1 X = X Σ d R 1 X = X 1 Σ d R 1 X . Hence, by Lemma 2, we have
δ R 0 ( n ) = δ R 1 ( n ) .
Computing δ X ( n ) . Suppose γ = S 0 h S 1 k X Σ d X and π Fix ( γ ) . Then π = σ k π 1 σ h , from which ( π σ h ) 2 = σ h + k . Thus, the number of fixed points π is the same as the number of τ = π σ h that satisfy τ 2 = σ h + k = σ , where we let = h + k . Each value of occurs for n pairs ( h , k ) . For a given , there are g = gcd ( , n ) cycles of σ , each with length d = n / g . Therefore, by Lemma 1, there are q ( d , g ) possible τ and hence q ( d , g ) possible π . Writing = c g and n = d g , we see that gcd ( c , d ) = 1 , so there are φ ( d ) possible values of c, and hence of , for a given g and d. Thus, applying Lemma 1,
δ X ( n ) = 1 n 2 h Z n k Z n | Fix ( S 0 h S 1 k X ) | = 1 n 2 ( d , g ) : d g = n n φ ( d ) q ( d , g ) = 1 n ( d , g ) : d g = n d , g even φ ( d ) μ ( g , g / 2 ) d g / 2 + 1 n ( d , g ) : d g = n d odd φ ( d ) j = 0 g / 2 μ ( g , j ) d j .
Note that the first term here is nonzero only if n 0 ( mod 4 ) .
Computing δ R X ( n ) . By Theorem 1, we can see that R X = R 0 R 1 X = R 0 X R 0 , and also that Σ d R 0 = R 0 Σ d . Therefore, Σ d R X = Σ d R 0 X R 0 = R 0 Σ d X R 0 = R 0 1 Σ d X R 0 . Hence, by Lemma 2, we have
δ R X ( n ) = δ X ( n ) .
Computing δ R 1 X ( n ) . Suppose γ = S 0 h S 1 k R 1 X and π Fix ( γ ) . Then π = σ k ρ π 1 σ h , from which ( σ h π ) 2 = σ h + k ρ . Thus, the number of fixed points π is the same as the number of τ = σ h π that satisfy τ 2 = σ h + k ρ = σ ρ = α , where we let = h + k . Each value of occurs for n pairs ( h , k ) . Now α ( i ) = σ ρ ( i ) = i , so α is always an involution.
If n is odd then for all n values of , then the number of 2-cycles of α is ( n 1 ) / 2 and α has one 1-cycle, namely ( / 2 ) . Applying Lemma 1, we obtain
δ R 1 X ( n ) = 1 n 2 n 2 q ( 1 , 1 ) q ( 2 , ( n 1 ) / 2 ) = q ( 2 , ( n 1 ) / 2 ) = 0 if ( n 1 ) / 2 is odd , i . e . , n 3 ( mod 4 ) , μ ( ( n 1 ) / 2 , ( n 1 ) / 4 ) 2 ( n 1 ) / 4 if ( n 1 ) / 2 is even , i . e . , n 1 ( mod 4 ) .
If n is even, then the number of 2-cycles of α is n / 2 for the n / 2 odd values of . For the n / 2 even values of , the number of 2-cycles of α is n / 2 1 , and there are also two 1-cycles, namely ( / 2 ) and ( / 2 + n / 2 ) . Applying Lemma 1, we obtain
δ R 1 X ( n ) = 1 n 2 n 2 2 q ( 2 , n / 2 ) + n 2 2 q ( 1 , 2 ) q ( 2 , n / 2 1 ) = 1 2 μ ( n / 2 , n / 4 ) 2 n / 4 if n / 2 is even , i . e . , n 0 ( mod 4 ) , 1 2 2 μ ( n / 2 1 , 1 2 ( n / 2 1 ) ) 2 1 2 ( n / 2 1 ) if n / 2 1 is even , i . e . , n 2 ( mod 4 ) , = μ ( n / 2 , n / 4 ) 2 n / 4 1 if n 0 ( mod 4 ) , μ ( ( n 2 ) / 2 , ( n 2 ) / 4 ) 2 ( n 2 ) / 4 if n 2 ( mod 4 ) ,
Computing δ R 0 X ( n ) . By Theorem 1, we can see that R 0 X = X R 1 , and that Σ d X = X Σ d . Therefore, Σ d R 0 X = Σ d X R 1 = X Σ d R 1 = X ( Σ d R 1 X ) X 1 . Hence, by Lemma 2 we have
δ R 0 X ( n ) = δ R 1 X ( n ) .

8.3. Counting Dipole Embeddings and Related Objects

In this subsection, we prove counting formulas (D1)–(D8) from Section 3, which are summarized in Table 1. We consider D n , or equivalently Sym ( Z n ) , under the action of various groups Γ with Σ d Γ Ω d . Each such group can be written as a union of cosets of Σ d , i.e., as Γ = Σ d T 1 Σ d T 2 Σ d T k for some T i R 0 , R 1 , X = { R 0 p R 1 q X s | p , q , s { 0 , 1 } } . Therefore, by Burnside’s lemma, the number of equivalence classes is
1 | Γ | γ Γ | Fix ( γ ) | = 1 k n 2 i = 1 k γ Σ d T i | Fix ( γ ) | = 1 k i = 1 k δ T i ( n ) .
Counting (D1) vertex-labeled oriented dipole embeddings. Given a vertex-labeled oriented dipole embedding Φ , we can transform it into a labeled dipole by choosing a half-edge incident with vertex 0 to label 0, and then labeling the other half-edges incident with vertex 0 in ascending clockwise order, and similarly for vertex 1. However, our choices of which half-edge incident with vertex 0 to label 0, and which half-edge incident with vertex 1 to label 0, are arbitrary. So other labeled dipoles for Φ can be obtained by applying arbitrary cyclic shifts S 0 h and S 1 k .
Thus, a vertex-labeled oriented dipole embedding may be regarded as an equivalence class of labeled dipoles under the action of Σ d = S 0 , S 1 = Σ d I , and so the number of equivalence classes is just δ I ( n ) .
Counting (D2) oriented dipole embeddings. To count oriented dipole embeddings where the vertices are unlabeled, we include vertex swaps in our allowed symmetries, so the group of symmetries is S 0 , S 1 , X , which from Theorem 1 we know is { S 0 h S 1 k X s | h , k Z n , s { 0 , 1 } } = Σ d Σ d X . The number of equivalence classes is therefore 1 2 ( δ I ( n ) + δ X ( n ) ) .
Counting (D3) vertex-labeled orientable dipole embeddings. To count orientable dipole embeddings, we must allow for the orientation of the surface to be reversed. This means that when we choose the two half-edges incident with vertices 0 and 1 to give label 0, we then label the other half-edges in the reverse order, at both vertices. This means we are applying the action of R = R 0 R 1 . The group of symmetries in the vertex-labeled case is therefore S 0 , S 1 , R , which by applying Theorem 1, can be written as { S 0 h S 1 k R r | h , k Z n , r { 0 , 1 } } = Σ d Σ d R . The number of equivalence classes is therefore 1 2 ( δ I ( n ) + δ R ( n ) ) .
Counting (D4) orientable dipole embeddings. To count orientable dipole embeddings where the vertices are unlabeled, we add X to the group of symmetries, giving S 0 , S 1 , R , X . By Theorem 1, this can be written as { S 0 h S 1 k R r X s | h , k Z n , r , s { 0 , 1 } } = Σ d Σ d R Σ d X Σ d R X . The number of equivalence classes is therefore 1 4 ( δ I ( n ) + δ R ( n ) + δ X ( n ) + δ R X ( n ) ) . Since δ R X ( n ) = δ X ( n ) , this simplifies to 1 4 ( δ I ( n ) + δ R ( n ) + 2 δ X ( n ) ) .
Counting (D5) vertex-labeled dipolar cogs. To count cogs, we must allow the cyclic ordering at each vertex to be reversed independently. This means that we can apply the actions of both R 0 and R 1 . The group of symmetries in the vertex-labeled case is therefore S 0 , S 1 , R 0 , R 1 , which by Theorem 1 can be written as { S 0 h S 1 k R 0 p R 1 q | h , k Z n , p , q { 0 , 1 } } = Σ d Σ d R 0 Σ d R 1 Σ d R 0 R 1 . The number of equivalence classes is therefore 1 4 ( δ I ( n ) + δ R 0 ( n ) + δ R 1 ( n ) + δ R 0 R 1 ( n ) ) . Since δ R 0 ( n ) = δ R 1 ( n ) and R 0 R 1 = R , this simplifies to 1 4 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 ( n ) ) .
Counting (D6) dipolar cogs. Again, when the vertices are unlabeled, we add X to the group of symmetries, which is therefore Ω d = S 0 , S 1 , R 0 , R 1 , X . By Theorem 1, this can be written as { S 0 h S 1 k R 0 p R 1 q X s | h , k Z n , p , q , s { 0 , 1 } } = Σ d Σ d R 0 Σ d R 1 Σ d R 0 R 1 Σ d X Σ d R 0 X Σ d R 1 X Σ d R 0 R 1 X . The number of equivalence classes is therefore
1 8 ( δ I ( n ) + δ R 0 ( n ) + δ R 1 ( n ) + δ R 0 R 1 ( n ) + δ X ( n ) + δ R 0 X ( n ) + δ R 1 X ( n ) + δ R 0 R 1 X ( n ) ) .
Since δ R 0 ( n ) = δ R 1 ( n ) , δ R 0 X ( n ) = δ R 1 X ( n ) , R 0 R 1 = R and δ R 0 R 1 X ( n ) = δ R X ( n ) = δ X ( n ) , this simplifies to 1 8 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 ( n ) + 2 δ X ( n ) + 2 δ R 1 X ( n ) ) .
Counting (D7) equivalence classes of permutations under cyclic shifts and reversal of input variables only (or output variables only). There are two subgroups of Ω d that do not have very natural interpretations in terms of dipole embeddings, but can be considered as groups of symmetries of Sym ( Z n ) . These are where we allow cyclic shifts of both input and output variables, and the reversal of just one set of variables (input or output, but not both). These give the groups Γ 7 = S 0 , S 1 , R 1 and Γ 7 = S 0 , S 1 , R 0 . Since Γ 7 = X 1 Γ 7 X , the number of equivalence classes for both groups will be the same, by applying Lemma 2. So we just consider Γ 7 = S 0 , S 1 , R 1 , which by Theorem 1 can be written as { S 0 h S 1 k R 1 q | h , k Z n , q { 0 , 1 } } = Σ d Σ d R 1 . The number of equivalence classes is therefore 1 2 ( δ I ( n ) + δ R 1 ( n ) ) .
Counting (D8) equivalence classes of permutation matrices under cyclic shifts of the row set, cyclic shifts of the column set, and rotations by multiples of 90 . For permutation matrices, a cyclic shift of the row set corresponds to S 0 , a cyclic shift of the column set corresponds to S 1 , and a rotation by 90 clockwise corresponds to V 1 X = S 1 n 1 R 1 X (a transposition, X, followed by reversal of the column set, V 1 = S 1 n 1 R 1 ). Thus, the group of symmetries is S 0 , S 1 , R 1 X . By Theorem 1 we see that ( R 1 X ) 2 = R , ( R 1 X ) 3 = R 0 X , and ( R 1 X ) 4 = I . So the group can be written as Σ d Σ d R Σ d R 0 X Σ d R 1 X . The number of equivalence classes is therefore 1 4 ( δ I ( n ) + δ R ( n ) + δ R 0 X ( n ) + δ R 1 X ( n ) ) . Since δ R 0 X ( n ) = δ R 1 X ( n ) , this simplifies to 1 4 ( δ I ( n ) + δ R ( n ) + 2 δ R 1 X ( n ) ) .
There are 10 groups Γ that satisfy Σ d Γ Ω d . These correspond to the subgroups of the quotient group Ω d / Σ d , which is an 8-element dihedral group. Thinking of Ω d / Σ d as symmetries of a square gives a natural correspondence with operations on permutation matrices.
We counted the equivalence classes of D n (or P n or Sym ( Z n ) ) under the action of Γ for eight of these groups in (D1)–(D8). Actually, as we noted above, (D7) handles two of these groups that are conjugate in Ω d . Item (D2) also handles two of these groups, because the groups Γ 2 = S 0 , S 1 , X and Γ 2 = S 0 , S 1 , R X are conjugate in Ω d , with Γ 2 = R 0 1 Γ 2 R 0 . Thus, we covered all 10 groups. Since X R 0 X = R 1 , the groups S 0 , S 1 , R 0 , X and S 0 , S 1 , R 1 , X are just the full group Ω d = S 0 , S 1 , R 0 , R 1 , X , and therefore we do not need to consider separate counting questions involving these groups.
Observation 2.
The above results tell us that all of δ I ( n ) , δ R ( n ) , δ R 1 ( n ) , δ X ( n ) , and δ R 1 X ( n ) are integers, as follows. By (D1), we know that δ I ( n ) is the number of equivalence classes under Σ d , so it is an integer. By (D2), (D3), and (D7), we also know that δ I ( n ) + δ X ( n ) , δ I ( n ) + δ R ( n ) , and δ I ( n ) + δ R 1 ( n ) are even integers. Therefore, δ X ( n ) , δ R ( n ) , and δ R 1 ( n ) are integers. Finally, we know by (D6) that δ I ( n ) + δ R ( n ) + 2 δ R 1 ( n ) + 2 δ X ( n ) + 2 δ R 1 ( n ) + 2 δ R 1 X ( n ) is divisible by 8, so it is even, and all of δ I ( n ) + δ R ( n ) , 2 δ R 1 ( n ) , and 2 δ X ( n ) are even. Thus, 2 δ R 1 X ( n ) is even, and δ R 1 X ( n ) is an integer.

9. Proofs for Bouquet Formulas

9.1. Colored Labeled Bouquets and Symmetry Operations

In this section, we prove counting formulas (B1)–(B4) from Section 4 regarding the embeddings of colored bouquets. Recall that a bouquet B n has one vertex and n loops. Again, we think of each edge as consisting of two half-edges. By ‘colored’, we mean that each edge receives an arbitrary color from a set of k colors. By using results in the case k = 2 , we are able to count nonorientable embeddings of bouquets, where previous counting results for embeddings of bouquets only considered orientable embeddings. Our results will be proved by elementary techniques based on groups acting on a set of objects that we will call colored labeled bouquets.
A colored labeled bouquet is a bouquet B where the half-edges receive distinct labels from Z 2 n = { 0 , 1 , 2 , , 2 n 1 } , where n = | E ( B ) | , and where each edge receives a color from Z k = { 0 , 1 , 2 , , k 1 } . We let B n , k denote the set of n-edge k-colored bouquets.
A colored labeled bouquet B is completely described by a perfect matching M in the complete graph K ( Z 2 n ) with vertex set Z 2 n , plus a coloring function ψ : M Z k . For each e E ( B ) , the perfect matching M contains an edge { a e , b e } (describing an edge as an unordered pair of vertices), where a e and b e are the labels of the two half-edges of e, and ψ assigns the color of e E ( B ) to { a e , b e } M . There is a one-to-one correspondence between B n , k and M n , k , the set of k-colored perfect matchings ( M , ψ ) in K ( Z 2 n ) . Perfect matchings on a cyclically ordered set, such as Z 2 n , are often represented by chord diagrams, so our results may also be interpreted as results for colored chord diagrams. See Figure 1.
Each oriented or orientable embedding of a colored bouquet can be turned into a colored labeled bouquet (or k-colored perfect matching) in a natural way. We refer the reader back to Figure 5 for an example. However, the colored labeled bouquet is not, in general, unique, and we wish to characterize the possible bouquets by equivalence under certain symmetry operations. The symmetries always include cyclically shifting the labels of the half-edges, but may also include reversing the labels.
Our symmetries can be defined in terms of their effect on elements of Z 2 n , but to avoid treating n = 1 and 2 as special cases, and to simplify some proofs, we define them more generally as permutations of R 2 n = R / 2 n Z , which contains Z 2 n as a subgroup. Let I denote the identity of Sym ( R 2 n ) , and define S , R S y m ( R 2 n ) as follows:
S ( a ) = a + 1 ; and R ( a ) = a .
Let Σ b = S and Ω b = S , R (the superscript ‘b’ indicating bouquets), so that Σ b Ω b S y m ( R 2 n ) .
If T = S or R then it is clear that applying T, or T 1 , to all the labels in a colored labeled bouquet, without changing any colors, produces a new colored labeled bouquet, so that T and T 1 permute B n , k . Correspondingly, we may apply T, or T 1 , to the vertices of K ( Z 2 n ) , and define T ( M ) = { { T ( a ) , T ( b ) } | { a , b } M } , with the edge T ( { a , b } ) = { T ( a ) , T ( b ) } receiving the color assigned to { a , b } . In this way T and T 1 permute M n , k . We can then extend this to all T Ω b , so we have an action of Ω b on B n , k and an equivalent action on M n , k .
The basic properties of S, R and Ω b are as follows.
Proposition 2.
Let n be a positive integer, and consider S , R S y m ( R 2 n ) as defined above. Let I be the identity of S y m ( R 2 n ) .
(a) 
Then (composing functions right to left) S 2 n = R 2 = I and R S = S 1 R .
(b) 
Every element of Ω b = S , R can be written uniquely as S h R r where h Z 2 n and r { 0 , 1 } . Hence, | Ω b | = 4 n .
We omit the proof, which is straightforward.

9.2. Bouquet Coset Averages

We are going to consider the action of Ω b = S , R S y m ( R 2 n ) (a dihedral group) and its subgroup Σ b = S (a cyclic group) on B n , k and M n , k . When n = 1 or 2 the action is not faithful (for example, if n = 2 then S 2 acts in the same way as I) but this does not matter.
For determining fixed points for Burnside’s lemma, we use the action of Ω b or Σ b on M n , k . As in Section 8, we will consider average numbers of fixed points for the right cosets of Σ b , which are just Σ b itself and Σ b R . Each coset has size | Σ b | = 2 n , so for T = I or R we define
β T ( n , k ) = 1 2 n γ Σ b T | Fix ( γ ) | = 1 2 n h Z 2 n | Fix ( S h T ) |
where we are considering the action on M n , k .
Before computing the coset averages, we consider what a fixed point ( M , ψ ) M n , k of T Ω b must look like in general. Suppose { a , b } M . Then we also have { T ( a ) , T ( b ) } M and hence we have { T t ( a ) , T t ( b ) } M for all integers t. For t 0 , this follows by induction. For t < 0 it follows because something is a fixed point of T if and only if it is a fixed point of T 1 . The edges { T t ( a ) , T t ( b ) } M for all integers t form an edge-orbit of K ( Z 2 n ) under the action of T . Since ψ is also fixed by T, all edges in an edge-orbit must have the same color.
The points T t ( a ) form a vertex-orbit of the action of T on K ( Z 2 n ) , as do the points T t ( b ) . If the two vertex-orbits are the same, we must have an orbit of even size, because M matches up the vertices in the vertex-orbit. If the two vertex-orbits are different, they must have the same size, because M matches the vertices of one vertex-orbit to the vertices of the other.
Thus, if ( M , ψ ) M n , k is a fixed point of T, then the edges of M can be partitioned into edge-orbits under the action of T . Each edge-orbit either matches the vertices of a single vertex-orbit O of even size, or matches the vertices of one vertex-orbit O 1 to the vertices of a paired vertex-orbit O 2 of the same size, say s. In the latter case, if we fix a O 1 then there are s possible vertices b O 2 for which we could have { a , b } M , and once we choose this edge the rest of the edge-orbit is determined. So (assuming no special restrictions apply), there are s possible edge-orbits matching two paired vertex-orbits. All edges of M in the same edge-orbit receive the same color under ψ .
Computing β I ( n , k ) . To compute β I ( n , k ) we consider fixed points of elements of Σ b , which have the form S h . Suppose there is ( M , ψ ) Fix ( S h ) . If we let g = gcd ( h , 2 n ) then h Z 2 n = g Z 2 n . The number of elements of g Z 2 n is d = 2 n / g . For a given g there are φ ( d ) possible values of h.
The vertex-orbits of K ( Z 2 n ) under the action of S h are just the cosets a + h Z 2 n = a + g Z 2 n . So each edge-orbit must match up vertices in the same coset, or must match one coset to another.
Suppose an edge-orbit matches vertices in the same coset a + g Z 2 n . Then we have an edge { a , a + u g } for some integer u, where u g 0 . We also have an edge { a + u g , a + 2 u g } , so we must have a = a + 2 u g , so that 2 u g = 0 . Since u g 0 , we must have u g = n . Since n g Z 2 n , the number of elements in g Z 2 n , which is d, must be even.
So suppose d is even such that n g Z 2 n . We can construct fixed points of S h as follows. Choose j with 0 j g / 2 , and pair up j pairs of the g cosets, which may be done in μ ( g , j ) ways. If a + g Z 2 n is paired with b + g Z 2 n , which both have size d, then there are d possible choices of edge-orbit, so there are d j possible edge-orbits for all the paired cosets. If a + g Z 2 n is not one of the paired cosets, then from the above, each a a + g Z 2 n must be joined by M to a + n , so there is only one possibility for the edges in the unpaired cosets.
There are j edge-orbits between paired cosets, and g 2 j edge-orbits inside unpaired cosets. So there are g j edge-orbits and hence k g j choices of ψ .
The total number of fixed points for a particular value of h with an even value of d is therefore
j = 0 g / 2 μ ( g , j ) d j k g j .
Now suppose d is odd, which means that g = 2 n / d is even. From the above, we cannot have edges inside a single coset a + g Z 2 n , so all g cosets are paired up. This means we just have the case j = g / 2 from above, so the number of fixed points for a particular value of h with an odd value of d is μ ( g , g / 2 ) d g / 2 k g / 2 .
Putting these together,
β I ( n , k ) = 1 2 n h Z 2 n | Fix ( S h ) | = 1 2 n ( d , g ) : d g = 2 n d odd φ ( d ) μ ( g , g / 2 ) d g / 2 k g / 2 + 1 2 n ( d , g ) : d g = 2 n d even φ ( d ) j = 0 g / 2 μ ( g , j ) d j k g j .
Computing β R ( n , k ) . Suppose γ = S h R Σ b R , and ( M , ψ ) Fix ( γ ) . For i Z 2 n , S h R ( i ) = h i , so the vertex-orbits of S h R are sets { i , h i } . Such a vertex-orbit may have size 1 if i = h i , which happens when h is even and i = h / 2 or h / 2 + n . Otherwise the vertex-orbits have size 2.
Suppose h is odd. Then there are n vertex-orbits, all of size 2. Thus, all edge-orbits in M either match the two vertices in a single vertex-orbit, or match one vertex-orbit to a paired vertex-orbit. To construct a fixed point of S h R we choose j with 0 j n / 2 , and pair up j pairs of vertex-orbits of size 2, which may be done in μ ( n , j ) ways. There are 2 choices of edge-orbit for each pair of vertex-orbits, for 2 j total choices. The unpaired vertex-orbits have one edge of M joining their two vertices, which can only be done in one way.
There are j edge-orbits between paired cosets, and n 2 j edge-orbits inside unpaired cosets, so there are n j edge-orbits and hence k n j choices of ψ .
The total number of fixed points for one of the n odd values of h is therefore
j = 0 n / 2 μ ( n , j ) 2 j k n j .
Suppose now that h is even. Then there are two vertex-orbits { h / 2 } and { h / 2 + n } of size 1, and ( n 1 ) vertex-orbits of size 2. There must be an edge of M joining the two vertex-orbits of size 1, and there are k choices for the color of this edge. Then we can apply the same analysis as above, replacing n by n 1 , to the vertex-orbits of size 2. So the total number of fixed points for one of the n even values of h is
k j = 0 ( n 1 ) / 2 μ ( n 1 , j ) 2 j k n 1 j = j = 0 ( n 1 ) / 2 μ ( n 1 , j ) 2 j k n j .
Putting everything together, we have
β R ( n , k ) = 1 2 n n j = 0 n / 2 μ ( n , j ) 2 j k n j + n j = 0 ( n 1 ) / 2 μ ( n 1 , j ) 2 j k n j = 1 2 j = 0 n / 2 μ ( n , j ) 2 j k n j + j = 0 ( n 1 ) / 2 μ ( n 1 , j ) 2 j k n j .

9.3. Counting Colored Bouquet Embeddings and Related Objects

In this subsection, we verify the results summarized in Table 2. We consider B n , k , or equivalently M n , k , under the action of either Γ = Σ b or Γ = Ω b = Σ b Σ b R . In a similar way to Equation (4), we can just take the average over all cosets of Σ b in Γ of the average number of fixed points in a coset.
Counting (B1) oriented embeddings of colored bouquets. Given an oriented embedding Φ of a colored bouquet, we can transform it into a colored labeled bouquet by choosing a half-edge to label 0, and then labeling the other half-edge in ascending clockwise order. This is illustrated by Figure 5. However, our choice of which half-edge to give label 0 is arbitrary. So other colored labeled bouquets for Φ can be obtained by applying an arbitrary cyclic shift S h .
Thus, an oriented embedding of a colored bouquet may be regarded as an equivalence class of colored labeled bouquets under the action of Σ b = S , and so the number of equivalence classes is just β I ( n , k ) .
This can also be regarded as the number of colored chord diagrams equivalent under cyclic shifts.
Counting (B2) orientable embeddings of colored bouquets. To count orientable embeddings of colored bouquets, we must allow for the orientation of the surface being reversed. This means that when we choose the half-edge to label 0, we can then label the other half-edges in one of two cyclic orders. These two labelings are related by the transformation R. So the group of symmetries we must consider is Ω b = S , R = Σ b Σ b R . The number of equivalence classes is therefore 1 2 ( β I ( n , k ) + β R ( n , k ) ) .
Counting (B3) generic (orientable or nonorientable) embeddings of colored bouquets. Generic embeddings are described by a rotation scheme together with edge signatures, which describe whether an edge should be considered twisted or not. For graphs in general this representation is not unique. However, when a graph has only one vertex the representation is unique, and so a generic embedding can be regarded as a rotation scheme (which may be reversed without changing the embedding) together with edge signatures, which are just a 2-coloring of the edges. So generic embeddings of bouquets are in one-to-one correspondence with orientable embeddings of 2-colored bouquets. More generally, generic embeddings of k-colored bouquets are in one-to-one correspondence with orientable embeddings of 2 k -colored bouquets. Therefore, the number of generic embeddings of k-colored bouquets is 1 2 ( β I ( n , 2 k ) + β R ( n , 2 k ) ) .
Counting (B4) nonorientable embeddings of colored bouquets. The number of nonorientable embeddings is just the number of generic embeddings minus the number of orientable embeddings. So the number of nonorientable embeddings of k-colored bouquets is ( B 3 ) ( B 2 ) = 1 2 ( β I ( n , 2 k ) + β R ( n , 2 k ) β I ( n , k ) β R ( n , k ) ) .
Observation 3.
From (B1) and (B2), we see that β I ( n , k ) and β R ( n , k ) are both integers.

10. Proofs for Directed Bouquets

10.1. Colored Signed Labeled Bouquets and Symmetry Operations

In this section, we prove counting Formulas (A1)–(A9) from Section 5 for directed embeddings of colored directed bouquets and related objects. Recall that a directed bouquet B n is a digraph with one vertex and n directed loops. We think of each arc (directed edge) as consisting of an outward half-arc and an inward half-arc. A directed embedding of a directed bouquet requires that the directions on the half-arcs alternate when going around the cyclic order at the vertex. By ‘colored’, we mean that each arc receives an arbitrary color from a set of k colors.
We also consider equivalence classes of digraphs under the operation of reversing the direction of all of the arcs. We call such an equivalence class an arc-reversal class. If we have a directed embedding of a digraph, reversing all the arcs preserves the fact that we have a directed embedding, so we can also consider arc-reversal classes of directed embeddings.
As with embeddings of bouquets, by using the results in the case k = 2 , we are able to count nonorientable directed embeddings of directed bouquets. Our results will be proved by elementary techniques based on groups acting on a set of objects that we will call colored signed labeled bouquets.
A colored signed labeled bouquet is a bouquet B where each of the half-edges receives the following: a distinct label from Z 2 n = { 0 , 1 , 2 , , 2 n 1 } , where n = | E ( B ) | ; either a + or a − sign so that all even half-edges have one sign and all odd half-edges have the opposite sign so that every edge has both an even half-edge and an odd half-edge; and a color from Z k = { 0 , 1 , 2 , , k 1 } . The signs indicate how to convert B into a directed bouquet, namely by directing each edge from its positive half-edge to its negative half-edge. Requiring the even half-edges to have one sign and the odd half-edges to have the other assures the alternation of signs required for a directed embedding of the bouquet. We let A n , k denote the set of n-edge k-colored signed labeled bouquets.
A colored signed labeled bouquet is completely described by a triple ( N , ψ , ε ) . Here N is a perfect matching in the complete bipartite graph K ( 2 Z 2 n , 1 + 2 Z 2 n ) , whose vertices are partitioned into the set 2 Z 2 n of even numbers and the set 1 + 2 Z 2 n of odd numbers. The function ψ : N Z k assigns one of k colors to each edge in N. Finally, ε { + , } is the sign assigned to all the even vertices (elements of 2 Z 2 n ), while ε is the sign assigned to all the odd vertices (elements of 1 + 2 Z 2 n ). The vertices of the graph correspond to the half-edges in the bouquet as described in detail in Section 9.1, and the edges of N correspond to the edges of the bouquet. We let N n , k denote the set of triples ( N , ψ , ε ) .
We will use the same symmetries as in Section 9.1, namely S , R Sym ( R 2 n ) where R 2 n = R / 2 n Z . Thus, if T S , R then we have an action of T on V ( K ( 2 Z 2 n , 1 + 2 Z 2 n ) ) = Z 2 n R 2 n , which we use to define T ( N , ψ , ε ) = ( T ( N ) , ψ , ε ) where T ( N ) = { { T ( a ) , T ( b ) } | { a , b } N } , with ψ ( { T ( a ) , T ( b ) } ) = ψ ( { a , b } ) , and ε is ε if T preserves the parity of elements of Z 2 n and ε otherwise. The reader may think of T as relabeling the vertices without changing edge colors or vertex signs.
However, we have a third basic symmetry F, which flips the sign of all vertices. Clearly F 2 = I and F commutes with elements of S , R , so our overall group of symmetries is Ω a = S , R × F . We regard F as acting as the identity on both vertices and edges of K ( 2 Z 2 n , 1 + 2 Z 2 n ) .

10.2. Directed Bouquet Coset Averages

We are going to consider the action of Ω a = S , R × F and some of its subgroups on A n , k and N n , k . For small n the action is not faithful but this does not matter. All the groups Γ that we will consider contain Σ a = S as a subgroup, so that Σ a Γ Ω a , and we can write Γ as a union of cosets of Σ a in Ω a . There are four such cosets Σ a , Σ a R , Σ a F , Σ a R F , and for each T { I , R , F , R F } we will compute the coset average
α T ( n , k ) = 1 2 n γ Σ a T | Fix ( γ ) | = 1 2 n h Z 2 n | Fix ( S h T ) |
for the action on N n , k .
The analysis of fixed points here will be similar to that in Section 9.2, using vertex-orbits and edge-orbits of the action of elements of S , R . However, since edges now must join vertices of opposite sign (i.e., opposite parity) we have additional restrictions on the edge-orbits.
Computing α I ( n , k ) . To compute α I ( n , k ) we consider fixed points of elements of Σ a , which have the form S h . If h is odd, S h will move vertices to vertices of opposite sign, and hence will not preserve a triple ( N , ψ , ε ) . Therefore, we can only have fixed points if h is even. If h is even, we know the signs are preserved, and there are 2 choices of ε , so we just need to determine when ( N , ψ ) is fixed.
Therefore, we may suppose that h = 2 j is even. The vertex-orbits of Z 2 n under the action of S h are just the cosets a + 2 j Z 2 n = a + 2 g Z 2 n , where g = gcd ( j , n ) . Each coset has size d = 2 n / 2 g = n / g . There are φ ( d ) possible values of j for each given g and d with g d = n . Since 2 g is even, all elements of each coset have the same parity and hence the same sign, and there are g even cosets and g odd cosets. We can therefore construct a fixed point of S h by matching even cosets to odd cosets in g ! ways, choosing an edge-orbit for each pair of cosets in d g ways, and choosing a coloring of the edge-orbits in k g ways. Thus, the number of fixed ( N , ψ ) for S h is g ! d g k g .
Adding over all possible even h, and remembering that ε can be chosen in 2 ways, gives
α I ( n , k ) = 1 2 n 2 ( d , g ) : d g = n ϕ ( d ) g ! d g k g = 1 n ( d , g ) : d g = n ϕ ( d ) g ! d g k g .
Computing α R ( n , k ) . Suppose γ = S h R Σ a R and ( N , ψ , ε ) Fix ( γ ) . Since R preserves the parity, hence the sign, of elements of Z 2 n , again h must be even to have a fixed point. If h is even, we know S h R preserves signs, and there are 2 choices of ε , so we just need to determine when ( N , ψ ) is fixed.
Therefore, we may suppose that h = 2 j is even. For i Z 2 n , we have S h R ( i ) = h i , and the vertex-orbits of S h R are { j } and { j + n } of size 1, and n 1 vertex-orbits of size 2. The two vertex-orbits of size 1 must be matched by N to each other. This is only possible if one is even and the other odd, which means n must be odd; if n is even, we have no fixed points.
Thus, we may assume n is odd so that there is one even and one odd vertex-orbit of size 1, and ( n 1 ) / 2 even and ( n 1 ) / 2 odd vertex-orbits of size 2. We can therefore construct a fixed point of S h R by matching the two vertex-orbits of size 1 in a unique way, matching even vertex-orbits of size 2 to odd vertex-orbits of size 2 in ( ( n 1 ) / 2 ) ! ways, choosing edge-orbits for these pairs in 2 ( n 1 ) / 2 ways, and then coloring the 1 + ( n 1 ) / 2 = ( n + 1 ) / 2 edge-orbits in k ( n + 1 ) / 2 ways.
Adding over all n possible even values of h, and remembering that ε can be chosen in 2 ways, gives
α R ( n , k ) = 0 if n is even , 1 2 n 2 n n 1 2 ! 2 ( n 1 ) / 2 k ( n + 1 ) / 2 = n 1 2 ! 2 ( n 1 ) / 2 k ( n + 1 ) / 2 if n is odd .
Computing α F ( n , k ) . Suppose γ = S h F Σ a F and ( N , ψ , ε ) Fix ( γ ) . Now γ flips signs, so we have the opposite situation to when γ = S h : we only obtain fixed points when h is odd. When h is odd, we know S h F preserves signs, and there are 2 choices of ε , so we just need to determine when ( N , ψ ) is fixed.
Therefore, we may suppose that h is odd. The vertex-orbits of Z 2 n under the action of S h F are just the cosets a + h Z 2 n = a + g Z 2 n , where g = gcd ( h , 2 n ) is odd, so g = gcd ( h , n ) | n . Each coset has size 2 d where d = n / g , and consists of d even and d odd elements. For a given g and d, there are φ ( 2 d ) possible values of h.
An edge-orbit of N can match two cosets, or match a coset to itself. Since there are g cosets and g is odd, at least one coset must be matched to itself. However, if a coset is matched to itself, then each element a must be matched by N to a + n (as in the analysis of α I ( n , k ) in Section 9.2). Since a and a + n must have different signs, n must be odd, and hence when n is even, there are no fixed points. If a coset a + g Z 2 n is matched to a different coset b + g Z 2 n , then there are d choices for the edge { a , b + u g } N , which determines the other edges in this edge-orbit.
Therefore, when n is odd the ( N , ψ ) fixed by γ can be constructed as follows. Choose j with 0 j g / 2 , match j pairs of cosets in μ ( g , j ) ways, choose the edge-orbits for these cosets in d j ways, then the other g 2 j edge-orbits which match cosets to themselves are uniquely determined, and the j + ( g 2 j ) = g j edge-orbits can be colored in k g j ways. Thus, the number of fixed ( N , ψ ) for S h F is
j = 1 g / 2 μ ( g , j ) d j k g j .
Adding over all possible odd h, and remembering that ε can be chosen in 2 ways, gives
α F ( n , k ) = 1 2 n 2 ( d , g ) : d g = n g odd φ ( 2 d ) j = 0 g / 2 μ ( g , j ) d j k g j if n is odd .
Simplifying gives the general expression
α F ( n , k ) = 0 if n is even , 1 n ( d , g ) : d g = n g odd φ ( 2 d ) j = 0 g / 2 μ ( g , j ) d j k g j if n is odd .
Computing α R F ( n , k ) . Suppose γ = S h R F Σ a R F and ( N , ψ , ε ) Fix ( γ ) . Since γ flips signs and R preserves signs, we only obtain fixed points when h is odd. When h is odd, we know S h R F preserves signs, and there are 2 choices of ε , so we just need to determine when ( N , ψ ) is fixed.
Therefore, we may suppose that h is odd. The vertex-orbits of Z 2 n under the action of S h R F are just the n pairs { i , h i } , each of which contains one even element and one odd element. An edge-orbit of N can match two vertex-orbits, but also match a vertex-orbit to itself.
So ( N , ψ ) fixed by γ can be constructed as follows. Choose j with 0 j n / 2 , match j pairs of vertex-orbits in μ ( g , j ) ways, and match the n 2 j remaining vertex-orbits to themselves. We have only one choice for the edge-orbit for a pair of matched vertex-orbits or for the edge-orbit matching a vertex-orbit to itself. We can color the j + ( n 2 j ) = n j edge-orbits in k n j ways. Thus, the number of ( N , ψ ) fixed by S h R F is
j = 1 n / 2 μ ( n , j ) k n j .
Adding over the n possible odd values of h, and remembering that ε can be chosen in 2 ways, gives
α R F ( n , k ) = 1 2 n 2 n j = 1 n / 2 μ ( n , j ) k n j = j = 1 n / 2 μ ( n , j ) k n j .

10.3. Counting Directed Embeddings of Colored Bouquets and Related Objects

In this subsection, we verify the results summarized in Table 3. We consider A n , k , or equivalently N n , k , under the action of a group Γ with Σ a Γ Ω a . In a similar way to the previous sections, we can just take the average over all cosets of Σ a in Γ of the average number of fixed points for a coset.
Counting (A1) oriented colored directed embeddings of directed bouquets. Given an oriented directed embedding Φ of a colored directed bouquet, we can transform it into a colored signed labeled bouquet by choosing a half-arc to label 0, labeling the other half-arcs in ascending clockwise order, and then transforming the arc directions into positive signs on outward half-arcs and negative signs on inward half-arcs. However, our choice of which half-arc to label 0 is arbitrary. So other colored signed labeled bouquets for Φ can be obtained by applying an arbitrary cyclic shift S h .
Thus, an oriented colored directed embeddings of a directed bouquet may be regarded as an equivalence class of colored signed labeled bouquets under the action of Σ a = S , and so the number of equivalence classes is just α I ( n , k ) .
Counting (A2) orientable colored directed embeddings of directed bouquets. To count orientable directed embeddings, we must allow for the orientation of the surface being reversed. As with (B2) earlier, we have to add the transformation R to our group of symmetries, giving S , R = Σ a Σ a R . The number of equivalence classes is therefore 1 2 ( α I ( n , k ) + α R ( n , k ) ) .
Counting (A3) arc reversal classes of oriented colored directed embeddings of directed bouquets. To allow for arc reversal, we must add the transformation F to our group of symmetries, giving S , F = Σ a Σ a F . The number of equivalence classes is therefore 1 2 ( α I ( n , k ) + α F ( n , k ) ) .
Counting (A4) arc reversal classes of orientable colored directed embeddings of directed bouquets. To allow for both surface orientation reversal and arc reversal, we must add both R and F to our group of symmetries, giving S , R , F = Σ a Σ a R Σ a F Σ a R F . The number of equivalence classes is therefore 1 4 ( α I ( n , k ) + α R ( n , k ) + α F ( n , k ) + α R F ( n , k ) ) .
Counting (A5) simultaneous reflection and arc reversal classes of oriented colored directed embeddings of directed bouquets. To allow for simultaneous reflection and arc reversal, we must add the transformation R F to our group of symmetries, giving S , R F = Σ a Σ a R F . The number of equivalence classes is therefore 1 2 ( α I ( n , k ) + α R F ( n , k ) ) .
There are five groups Γ that satisfy Σ a Γ Ω a . These correspond to the subgroups of the quotient group Ω a / Σ a , which is a 4-element dihedral group (or Klein group). We have counted equivalence classes of A n , k (or N n , k ) under the action of Γ for all five groups in (A1)–(A5).
Counting (A6) generic (orientable or nonorientable) colored directed embeddings of directed bouquets. Similar to (B3), generic k-colored directed embeddings of directed bouquets are in one-to-one correspondence with 2 k -colored orientable directed embeddings of directed bouquets. So this is (A2) with k replaced by 2 k , namely 1 2 ( α I ( n , 2 k ) + α R ( n , 2 k ) ) .
Counting (A7) nonorientable colored directed embeddings of directed bouquets. Similar to (B4), this is ( A 6 ) ( A 2 ) = 1 2 ( α I ( n , 2 k ) + α R ( n , 2 k ) α I ( n , k ) α R ( n , k ) ) .
Counting (A8) arc-reversal classes of generic (orientable or nonorientable) colored directed embeddings of directed bouquets. Similar to (B3) and (A6), generic k-colored arc-reversible directed embeddings of directed bouquets are in one-to-one correspondence with the corresponding 2 k -colored orientable objects. So this is (A4) with k replaced by 2 k , namely 1 4 ( α I ( n , 2 k ) + α R ( n , 2 k ) + α F ( n , 2 k ) + α R F ( n , 2 k ) ) .
Counting (A9) arc-reversal classes of nonorientable colored directed embeddings of directed bouquets. Similar to (B4) and (A7), this is ( A 8 ) ( A 4 ) = 1 4 ( α I ( n , 2 k ) + α R ( n , 2 k ) + α F ( n , 2 k ) + α R F ( n , 2 k ) α I ( n , k ) α R ( n , k ) α F ( n , k ) α R F ( n , k ) ) .
Observation 4.
From (A1), (A2), (A3), and (A5) we see that α I ( n , k ) , α R ( n , k ) , α F ( n , k ) , and α R F ( n , k ) are all integers.

Author Contributions

Both authors contributed equally to this manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

The work of M. N. Ellingham on this paper was supported by Simons Foundation award no. 429625.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We thank the anonymous referees for very helpful feedback, including directing us to several pertinent references.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. OEIS Foundation Inc. The On-Line Encyclopedia of Integer Sequences. 2022. Available online: http://oeis.org (accessed on 25 May 2022).
  2. Mull, B.P.; Rieper, R.G.; White, A.T. Enumerating 2-cell imbeddings of connected graphs. Proc. Am. Math. Soc. 1988, 103, 321–330. [Google Scholar] [CrossRef]
  3. Rieper, R.G. The Enumeration of Graph Imbeddings. Ph.D. Dissertation, Western Michigan University, Kalamazoo, MI, USA, 1990. [Google Scholar]
  4. Kwak, J.H.; Lee, J. Enumeration of graph embeddings. Discret. Math. 1994, 135, 129–151. [Google Scholar] [CrossRef]
  5. Mull, B.P. Enumerating the orientable 2-cell imbeddings of complete bipartite graphs. J. Graph Theory 1999, 30, 77–90. [Google Scholar] [CrossRef]
  6. Kim, J.H.; Park, Y.K. Incongruent embeddings of a bouquet into surfaces. Bull. Austral. Math. Soc. 2000, 61, 89–96. [Google Scholar] [CrossRef]
  7. Feng, Y.Q.; Kwak, J.H.; Zhou, J.X. Congruence classes of orientable 2-cell embeddings of bouquets of circles and dipoles. Electron. J. Combin. 2010, 17, R41. [Google Scholar] [CrossRef]
  8. Feng, Y.; Kwak, J.H.; Zhou, J. Enumerating reflexible 2-cell embeddings of connected graphs. Sci. China Math. 2013, 56, 933–950. [Google Scholar] [CrossRef]
  9. Orbanić, A.; Petkovšek, M.; Pisanski, T.; Potočnik, P. A note on enumeration of one-vertex maps. Ars Math. Contemp. 2010, 3, 1–12. [Google Scholar] [CrossRef]
  10. Chen, Y.; Gao, X.; Huang, Y. Enumerating unlabelled embeddings of digraphs. Canad. Math. Bull. 2018, 61, 55–69. [Google Scholar] [CrossRef]
  11. Stahl, S. Average genus of classes of graph embeddings. Congr. Numer. 1983, 40, 375–388. [Google Scholar]
  12. Gross, J.L.; Furst, M.L. Hierarchy for imbedding-distribution invariants of a graph. J. Graph Theory 1987, 11, 205–220. [Google Scholar] [CrossRef]
  13. Furst, M.L.; Gross, J.L.; Statman, R. Genus distributions for two classes of graphs. J. Comb. Theory Ser. B 1989, 46, 22–36. [Google Scholar] [CrossRef] [Green Version]
  14. Gross, J.L.; Robbins, D.P.; Tucker, T.W. Genus distributions for bouquets of circles. J. Comb. Theory Ser. B 1989, 47, 292–306. [Google Scholar] [CrossRef]
  15. Kwak, J.H.; Shim, S.H. Total embedding distributions for bouquets of circles. Discret. Math. 2002, 248, 93–108. [Google Scholar] [CrossRef]
  16. Krzywinski, M.I.; Schein, J.E.; Birol, I.; Connors, J.; Gascoyne, R.; Horsman, D.; Marra, S.J.J.M.A. Circos: An information aesthetic for comparative genomics. Genome Res. 2009, 19, 1639–1645. [Google Scholar] [CrossRef]
  17. Bon, M.; Vernizzi, G.; Orland, H.; Zee, A. Topological Classification of RNA Structures. J. Mol. Biol. 2008, 379, 900–911. [Google Scholar] [CrossRef]
  18. Penner, R.C. Moduli spaces and macromolecules. Bull. Am. Math. Soc. 2016, 53, 217–268. [Google Scholar] [CrossRef]
  19. Zając, S.; Geary, C.; Andersen, E.S.; Dabrowski-Tumanski, P.; Sułkowska, J.I.; Sulkowski, P. Genus trace reveals the topological complexity and domain structure of biomolecules. Sci. Rep. 2018, 8, 17537. [Google Scholar] [CrossRef]
  20. Andersen, J.; Mattes, J.; Reshetikhin, N. The Poisson structure on the moduli space of flat connections and chord diagrams. Topology 1996, 35, 1069–1083. [Google Scholar] [CrossRef]
  21. Touchard, J. Sur un problème de configurations et sur les fractions continues. Canad. J. Math. 1952, 4, 2–25. [Google Scholar] [CrossRef]
  22. Riordan, J. The distribution of crossings of chords joining pairs of 2n points on a circle. Math. Comp. 1975, 29, 215–222. [Google Scholar] [CrossRef]
  23. Bar-Natan, D. On the Vassiliev knot invariants. Topology 1995, 34, 423–472. [Google Scholar] [CrossRef] [Green Version]
  24. Chmutov, S.; Duzhin, S.; Mostovoy, J. Introduction to Vassiliev Knot Invariants; Cambridge University Press: Cambridge, UK, 2012; p. xvi+504. [Google Scholar] [CrossRef]
  25. nLab Chord Diagram Page. Available online: https://ncatlab.org/nlab/show/chord+diagram (accessed on 25 April 2022).
  26. Ellis-Monaghan, J.; Pangborn, G.; Seeman, N.; Blakeley, S.; Disher, C.; Falcigno, M.; Healy, B.; Morse, A.; Singh, B.; Westland, M. Design Tools For Reporter Strands and DNA Origami Scaffold Strands. Theoret. Comput. Sci. 2017, 671, 69–78. [Google Scholar] [CrossRef]
  27. Ellis-Monaghan, J.; McDowell, A.; Moffatt, I.; Pangborn, G. DNA origami and the complexity of Eulerian circuits with turning costs. Nat. Comput. 2015, 14, 491–503. [Google Scholar] [CrossRef]
  28. Veneziano, R.; Ratanalert, S.; Zhang, K.; Zhang, F.; Yan, H.; Chiu, W.; Bathe, M. Designer Nanoscale DNA Assemblies Programmed from the Top Down. Science 2016, 352, 1534. [Google Scholar] [CrossRef]
  29. Ellingham, M.N.; Ellis-Monaghan, J.A. Edge-outer graph embedding and the complexity of the DNA reporter strand problem. Theoret. Comput. Sci. 2019, 785, 117–127. [Google Scholar] [CrossRef]
  30. Wu, G.; Jonoska, N.; Seeman, N.C. Construction of a DNA nano-object directly demonstrates computation. Biosystems 2009, 98, 80–84. [Google Scholar] [CrossRef]
  31. Pelesko, J. Self Assembly: The Science of Things That Put Themselves Together; Taylor & Francis Group, LLC: Abingdon, UK, 2007. [Google Scholar]
  32. Rothemund, P.W. Folding DNA to create nanoscale shapes and patterns. Nature 2006, 440, 297–302. [Google Scholar] [CrossRef]
  33. Seeman, N.C. Structural DNA Nanotechnology; Cambridge University Press: Cambridge, UK, 2016. [Google Scholar]
  34. Xuong, N.H. How to determine the maximum genus of a graph. J. Comb. Theory Ser. B 1979, 26, 217–225. [Google Scholar] [CrossRef]
  35. Xuong, N.H. Upper-embeddable graphs and related topics. J. Comb. Theory Ser. B 1979, 26, 226–232. [Google Scholar] [CrossRef] [Green Version]
  36. Ellis-Monaghan, J.; Moffatt, I. Graphs on Surfaces: Twisted Duality, Polynomials and Knots; SpringerBriefs in Mathematics; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  37. Gross, J.L.; Tucker, T.W. Topological Graph Theory; Dover Publications, Inc.: Mineola, NY, USA, 2001; p. xvi+361. [Google Scholar]
  38. Mohar, B.; Thomassen, C. Graphs on Surfaces; Johns Hopkins Studies in the Mathematical Sciences; Johns Hopkins University Press: Baltimore, MD, USA, 2001; p. xii+291. [Google Scholar]
Figure 1. An embedded bouquet (left) and the corresponding chord diagram (right).
Figure 1. An embedded bouquet (left) and the corresponding chord diagram (right).
Symmetry 14 01793 g001
Figure 2. Basic design principle for DNA origami. (a) Target structure. (b) Target modeled as a graph. (c) Route for scaffolding strand (Euler circuit). (d) Placing the staple strands.
Figure 2. Basic design principle for DNA origami. (a) Target structure. (b) Target modeled as a graph. (c) Route for scaffolding strand (Euler circuit). (d) Placing the staple strands.
Symmetry 14 01793 g002
Figure 3. Surface duals of classes of embedded graphs. (a) Dual of an upper embeddable graph with one face. (b) Dual of a bi-Eulerian edge-outer embeddable graph. (c) Dual of an upper embeddable graph with two faces. (d) Dual of an edge-outer embeddable graph.
Figure 3. Surface duals of classes of embedded graphs. (a) Dual of an upper embeddable graph with one face. (b) Dual of a bi-Eulerian edge-outer embeddable graph. (c) Dual of an upper embeddable graph with two faces. (d) Dual of an edge-outer embeddable graph.
Symmetry 14 01793 g003
Figure 4. Bouquets and dipoles with fixed labels have no rotational symmetry, so can be identified with linear diagrams. (a) A bouquet with fixed labels. (b) Linear diagram for the bouquet. (c) A dipole with fixed labels. (d) Linear diagram for the dipole.
Figure 4. Bouquets and dipoles with fixed labels have no rotational symmetry, so can be identified with linear diagrams. (a) A bouquet with fixed labels. (b) Linear diagram for the bouquet. (c) A dipole with fixed labels. (d) Linear diagram for the dipole.
Symmetry 14 01793 g004
Figure 5. Colored labeled abstract bouquets or chord diagrams correspond to colored embedded bouquets labeled in rotational order. (a) A colored bouquet embedding with half-edges labeled in rotational order. (b) The colored labeled abstract bouquet. (c) The colored chord diagram.
Figure 5. Colored labeled abstract bouquets or chord diagrams correspond to colored embedded bouquets labeled in rotational order. (a) A colored bouquet embedding with half-edges labeled in rotational order. (b) The colored labeled abstract bouquet. (c) The colored chord diagram.
Symmetry 14 01793 g005
Figure 6. Labeled dipoles correspond to a dipole embedding. (a) Dipole embedding with half-edges labeled in rotational order. (b) Corresponding labeled dipole.
Figure 6. Labeled dipoles correspond to a dipole embedding. (a) Dipole embedding with half-edges labeled in rotational order. (b) Corresponding labeled dipole.
Symmetry 14 01793 g006
Figure 7. Chord diagram symmetries. Figures (d) and (e) correspond to directed bouquets, and Figure (f) to a colored bouquet. (a) Neither reflexive nor rotational symmetry. (b) 180 rotational symmetry; no reflexive symmetry. (c) Reflexive symmetry through 0–5; no rotational symmetry. (d) 180 rotation plus arc-reversal; reflection through 4–9; reflection through 1 1 2 6 1 2 plus arc-reversal. (e) Rotation by 72 ; reflection through 1 2 5 1 2 plus arc-reversal. (f) Neither reflexive nor rotational symmetry, although the underlying uncolored diagram has many symmetries.
Figure 7. Chord diagram symmetries. Figures (d) and (e) correspond to directed bouquets, and Figure (f) to a colored bouquet. (a) Neither reflexive nor rotational symmetry. (b) 180 rotational symmetry; no reflexive symmetry. (c) Reflexive symmetry through 0–5; no rotational symmetry. (d) 180 rotation plus arc-reversal; reflection through 4–9; reflection through 1 1 2 6 1 2 plus arc-reversal. (e) Rotation by 72 ; reflection through 1 2 5 1 2 plus arc-reversal. (f) Neither reflexive nor rotational symmetry, although the underlying uncolored diagram has many symmetries.
Symmetry 14 01793 g007
Figure 8. There are many ways to label the vertices and edges of an embedded dipole, but any labelings of the same embedded dipole will correspond to permutations related by the symmetry operations. (a) An unlabeled dipole embedded in an oriented surface. (b) L1: An arbitrary vertex and edge labeling. (c) L2: A different arbitrary vertex and edge labeling. (d) Extracting the permutation for L1. (e) Extracting the permutation for L2.
Figure 8. There are many ways to label the vertices and edges of an embedded dipole, but any labelings of the same embedded dipole will correspond to permutations related by the symmetry operations. (a) An unlabeled dipole embedded in an oriented surface. (b) L1: An arbitrary vertex and edge labeling. (c) L2: A different arbitrary vertex and edge labeling. (d) Extracting the permutation for L1. (e) Extracting the permutation for L2.
Symmetry 14 01793 g008
Table 1. Basic counting results for n-edge dipole embeddings and related objects.
Table 1. Basic counting results for n-edge dipole embeddings and related objects.
ItemObjects CountedCoefficient of f ( n ) Group (see Section 8)
δ I δ R δ R 1 δ X δ R 1 X
(D1)vertex-labeled oriented dipole embeddings1 S 0 , S 1
(D2)oriented dipole embeddings 1 2 1 2 S 0 , S 1 , X (conjugate to S 0 , S 1 , R X )
(D3)vertex-labeled orientable dipole embeddings 1 2 1 2 S 0 , S 1 , R
(D4)orientable dipole embeddings 1 4 1 4 1 2 S 0 , S 1 , R , X
(D5)vertex-labeled dipolar cogs 1 4 1 4 1 2 S 0 , S 1 , R 0 , R 1
(D6)dipolar cogs 1 8 1 8 1 4 1 4 1 4 S 0 , S 1 , R 0 , R 1 , X
(D7)equivalence classes of permutations under S 0 , S 1 and R 0 (see Section 8) 1 2 1 2 S 0 , S 1 , R 0 (conjugate to S 0 , S 1 , R 1 )
(D8)permutation matrices under cyclic shifts and rotations 1 4 1 4 1 2 S 0 , S 1 , R 1 X
All items (Di/Dj:S) or (Di/Dj:AP) are obtained by applying Section 2.3.
Table 2. Basic counting results for k-colored embeddings of n-edge bouquets.
Table 2. Basic counting results for k-colored embeddings of n-edge bouquets.
ItemObjects countedCoefficient of f ( n , k ) Group (see Section 9)
β I β R
(B1)oriented embeddings of bouquets1 S
(B2)orientable embeddings of bouquets 1 2 1 2 S , R
ItemObjects countedHow computed (see Section 9)
(B3)orientable or nonorientable embeddings of bouquetsreplace k by 2 k in (B2)
(B4)nonorientable embeddings of bouquets(B3)–(B2)
All items (Bi/Bj:S) or (Bi/Bj:AP) are obtained by applying Section 2.3.
Table 3. Basic counting results for k-colored directed embeddings of n-arc directed bouquets.
Table 3. Basic counting results for k-colored directed embeddings of n-arc directed bouquets.
ItemObjects CountedCoefficient of f ( n , k ) Group (see Section 10)
α I α R α F α RF
(A1)oriented directed embeddings of directed bouquets1 S
(A2)orientable directed embeddings of directed bouquets 1 2 1 2 S , R
(A3)arc-reversal classes of oriented directed embeddings of directed bouquets 1 2 1 2 S , F
(A4)arc-reversal classes of orientable directed embeddings of directed bouquets 1 4 1 4 1 4 1 4 S , R , F
(A5)classes of oriented directed embeddings of directed bouquets under simultaneous reflection and arc-reversal 1 2 1 2 S , R F
ItemObjects CountedHow Computed (see Section 10)
(A6)orientable or nonorientable directed embeddings of directed bouquetsreplace k by 2 k in (A2)
(A7)nonorientable directed embeddings of directed bouquets(A6)–(A2)
(A8)arc-reversal classes of orientable or nonorientable directed embeddings of directed bouquetsreplace k by 2 k in (A4)
(A9)arc-reversal classes of nonorientable directed embeddings of directed bouquets(A8)–(A4)
All items (Ai/Aj:S) or (Ai/Aj:AP) are obtained by applying Section 2.3.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ellingham, M.N.; Ellis-Monaghan, J.A. A Catalog of Enumeration Formulas for Bouquet and Dipole Embeddings under Symmetries. Symmetry 2022, 14, 1793. https://doi.org/10.3390/sym14091793

AMA Style

Ellingham MN, Ellis-Monaghan JA. A Catalog of Enumeration Formulas for Bouquet and Dipole Embeddings under Symmetries. Symmetry. 2022; 14(9):1793. https://doi.org/10.3390/sym14091793

Chicago/Turabian Style

Ellingham, Mark N., and Joanna A. Ellis-Monaghan. 2022. "A Catalog of Enumeration Formulas for Bouquet and Dipole Embeddings under Symmetries" Symmetry 14, no. 9: 1793. https://doi.org/10.3390/sym14091793

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop