Colorings of (r, r)-Uniform, Complete, Circular, Mixed Hypergraphs

: In colorings of some block designs, the vertices of blocks can be thought of as hyperedges of a hypergraph H that can be placed on a circle and colored according to some rules that are related to colorings of circular mixed hypergraphs. A mixed hypergraph H is called circular if there exists a host cycle on the vertex set X such that every edge ( C - or D -) induces a connected subgraph of this cycle. We propose an algorithm to color the ( r , r ) -uniform, complete, circular, mixed hypergraphs for all feasible values with no gaps. In doing so, we show χ ( H ) = 2 and ¯ χ ( H ) = n − s or n − s − 1 where s is the sieve number.


Introduction
Initially, this paper was inspired by coloring star systems investigated in [1]. Darijani and Pike colored e-stars systems of the complete graph. As with the colorings of our family of graphs, each e-star could be considered a block and one would want to avoid a monochromatic coloring of any block.
In this paper, we work on a coloring problem that avoids monochromatic and rainbow colorings of the blocks with the additional structure that there must be a sequential ordering of vertices and each block consists of sequential vertices. We also investigate how many colors can be used. That is, we determine the range of color classes. It follows that these colorings can be modeled by circular mixed hypergraphs. The concept of circular mixed hypergraphs was introduced and studied in [2,3], and continued in [4].
In the traditional theory of coloring graphs and hypergraphs [5][6][7], we seek colorings of the vertices so that each edge has at least two vertices of different colors. Usually, the minimum number of colors required is sought. One can also seek the dual question to color the vertices so that each edge requires at least two vertices of the same color and ask for the maximum number of colors needed. In the case of mixed hypergraphs, we ask the combination of the above two questions [7][8][9].
In the present paper we deal with such a combination of constraints on colorings and use the terminology of Voloshin in [7]. We begin with the Preliminaries, including definitions, background, and motivation. We then introduce a coloring algorithm that will properly color the class of mixed hypergraphs. We then show that the algorithm properly colors all values from the lower chromatic number to the upper chromatic number with no gaps. In doing so, we provide the feasible set as Bujtás and Tuza did in [10] for interval hypergraphs and hypertrees.

Preliminaries
A mixed hypergraph is a triple H = (X, C, D), where X is the vertex set and each of C and D is a family of subsets of X, the C-edges and D-edges, respectively. Each element of C ∪ D is of a size of at least 2. In a mixed hypergraph, if a subset of vertices is a C-edge and a D-edge at the same time, then it is a bi-edge. In the results where we strictly look at bi-edges, we will simply use the term edge. A mixed hypergraph H = (X, C, D) is a bihypergraph if C = D. A proper k-coloring of a mixed hypergraph is a mapping from the vertex set to a set of k colors so that each C-edge has two vertices with a Common color and each D-edge has two vertices with Different colors. A mixed hypergraph is k-colorable (uncolorable) if it has a proper coloring with at most k colors (admits no proper colorings). A strict k-coloring is a proper coloring using all k colors. The minimum number of colors in a proper coloring of H is the lower chromatic number χ(H); the maximum number of colors in a strict coloring is the upper chromatic numberχ(H). We use c(x) for the color of vertex x. The set of values k such that H has a strict k-coloring is called the feasible set of H, denoted by F(H). A mixed hypergraph H = (X, C, D) has a gap at k if F(H) contains elements larger and smaller than k, but omits k. F(H) is called gap-free if it has no gaps. A mixed hypergraph H is called circular if there exists a host cycle on the vertex set X such that every C-edge and every D-edge induces a connected subgraph of the host cycle.
In other words, for a circular mixed hypergraph there exists a circular ordering of the vertex set X, say, X = {x 0 , x 1 , . . . , x n−1 , x 0 } such that every edge (C-or D-) induces an interval in this ordering. In [2], the lower chromatic number was investigated for the colorability and unique colorability of classical circular mixed hypergraphs, while the upper chromatic number was investigated in [3]. The generalizations of circular mixed hypergraphs have been investigated in [11]. In particular, it was shown that the feasible set of any mixed strong hypercactus is gap-free, and there are infinitely many mixed weak hypercacti such that the feasible set of any of them contains a gap. In this paper, we focus on a particular family of hypergraphs, the (r, r)-uniform complete circular hypergraphs.
Let H = (X, C, D) be a circular mixed hypergraph. If every k consecutive vertices of X form a C-edge, then we denote C = C k . Similarly, if every l consecutive vertices of X form a D-edge, then we denote D = D l . The circular mixed hypergraph H = (X, C k , D l ) is called (k, l)-uniform and is denoted by KC(n; k, l), where n := |X|. A (3, 2)-uniform circular mixed hypergraph H = (X, C 3 , D 2 ) = KC(n; 3, 2) is a complete circular mixed hypergraph where each consecutive triple must have two colors in common and every consecutive pair must be colored differently.
In a mixed hypergraph H, the subfamily of C-edges Σ ⊆ C is a sieve [12], if for every pair of vertices x, y ∈ X and every pair of different C−edges C, C ∈ Σ the following implication holds: The maximum cardinality of a sieve of a hypergraph H is the sieve-number s(H). The authors proved for H = KC(n; 3, 3), χ(H) = 2, andχ(H) = n/2 when n is even andχ(H) = n−1 2 when n is odd and produces colorings for all feasible values with no gaps [4,10].
It should be noted thatχ(H) = n − s or n − s − 1 satisfies the constraints of Theorem 1 below found in [3] since the sieve-number for s(KC(n; r, r)) is n r−1 .
for all 1 ≤ i ≤ s, s ≥ 3 (indices mod s), and (ii) Each C-edge C ∈ C has the property: There exist two C-edges C i , C i+1 ∈ Σ with two common vertices, say u and u + , such that either u + / ∈ C and C i \ u + ⊂ C or u / ∈ C and C i+1 \ u ⊂ C, and there is no other C-edge of C containing precisely one of the vertices u and u + .
For our hypergraphs (ii) fails with r ≥ 5.

Coloring Algorithm
The algorithm below will properly color the vertices of H = (X, C r , D r ). Within the algorithm, a sieve Σ is constructed of a circular mixed hypergraph. In our family of circular mixed hypergraphs, the intersection of two different C-edges of a sieve can only be empty, a common vertex, or two common vertices forming a D-edge. Hence, the intersection of two arbitrary C-edges is called good if and only if this intersection is empty, or a single vertex, or two vertices forming a D-edge. Otherwise, the intersection of two arbitrary C-edges is called bad. Due to our particular family of graphs, we will always have a good intersection with a single vertex.

1.
Construction of a maximum sieve Σ through C 0 . Let Choose the C-edge C 1 nearest to C 0 , having a "good intersection." So, C 1 = {x r−1 , . . . , x 2r−2 }. Let C 2 have smallest distance from C 1 (measured in the cyclic order of the host cycle). Choose C 3 nearest to C 2 , etc. Thus a maximum sieve Σ = {C 0 , C 1 , . . . , C s−1 } is obtained so that no new C s can be found.

2.
Assigning colors to some vertices of Σ. The vertices of the C-edge C i with r vertices are denoted by x i 0 , x i 1 , . . . , x i r−1 according to the cyclic order of the host cycle. Next we assign colors to some vertices of the C-edges of Σ in the following way, where the coloring is denoted by c. Assign color 1 to the last two vertices x 0 r−1 and x 0 r−2 . We then color some vertices of C 1 , . . . , C s−1 in the following way: Color x i r−2 and x i r−1 a new color c(x i−1 r−1 ) + 1.

3.
Fixing the vertices to satisfy the C condition. In step 2, we start coloring with the vertex x 0 r−1 ∈ C 0 , proceed along the host cycle and end with coloring of the vertices of C s−1 . If Σ = X and s − 1 = 0, assign 1 to x 0 ; otherwise, assign c(x s−1 r−1 ) + 1 to x 0 and x n−1 .

4.
Assign pairwise different colors to the remaining vertices of X. The graph is now colored withχ(H) = n − s or n − s − 1 as we will see in the following proofs.

5.
Downshifting colors: For any number of colors 2 ≤ k <χ(H) do the following: (a) If more than s + 1 colors are used, recolor all vertices with the largest color, a color 1 less.
Repeat the above until the desired number of colors is used until the number of colors used is s + 1.
(c) If fewer than s + 1 colors is desired, begin with C 1 and color x 1 r−1 and x 1 r−2 both 1. Then for all vertices assigned s + 1, recolor these vertices 2. s colors are now used. (d) If fewer than s colors is desired, begin with C 2 and color x 2 r−1 and x 2 r−2 both 1. Then for all vertices not assigned 1 or 2, recolor these vertices 1 less than the color already assigned. Repeat this process with C 3 , C 4 , and so on until the desired number of colors is met.

Lemma 1.
The coloring algorithm produces a proper coloring for H = (X, C r , D r )= KC(n; r, r), n > r > 3.
Proof. For any edge containing vertices between x 0 r−1 and x s−1 r−2 (step 2) it is easily seen these edges are properly colored with a common color. Any sequential vertices colored this way (e.g., x i r−2 and x i r−1 ) will properly color all edges extending a distance of r − 2 in either direction with a common color. Steps 3b and 3c ensure any remaining edges satisfy the C-condition since otherwise the sieve would not be maximum. As r ≥ 4, there is at least one vertex between x i r−1 and x i+1 r−2 colored a different color satisfying the D-condition.
Proof. As there are no D-edges of size 2, the intersection of consecutive C-edges can be chosen to be 0 or 1 vertex. To maximize the number of edges in Σ we choose the intersection with 1 vertex each time. Thus, there are r − 1 vertices in C i−1 that are not in C i . This creates a partition of the vertices in Σ each of size r − 1. Any sieve that contains intermediate C-edges with an empty intersection must contain the same or fewer C-edges. With this construction, there must be fewer than r − 2 vertices not in Σ so s(H) = n r−1 .

Lemma 3.
If H = (X, C r , D r ) = KC(n; r, r), n > r > 3 thenχ(H) = n − s if Σ = X and Proof. Let H = (X, C r , D r ) = KC(n; r, r) with vertices x 0 , x 1 , . . . , x n−1 . Using the coloring algorithm, if C s−1 ∩ C 0 = ∅ each element of the sieve has a pair of vertices that share a color. Additionally, a color needs to be repeated to get the edges that are not properly colored (in Step 3). Thusχ(H) = n − s − 1. If C s ∩ C 1 = {x 0 }, then each element of the sieve has a pair of vertices that share a color. Proof. Together the lemmas and algorithm prove our theorem as we are able to color the graph any amount of colors from 2 toχ(H).
Additionally, it should be noted that the algorithm has a linear runtime O(n) as the worst-case scenario will have a run-time of kn where k is an integer dependent on the number of colors required.

Conclusions
Originally, the problems in [4] and this paper were to be tools to work toward coloring star systems. For the most part, Darijani and Pike [1] have answered this question. We now hope these results can be used for further research. Of particular interest would be coloring KC(n; r, 2), the class of complete, circular, mixed hypergraphs with C-edges of size r, and D-edges of size 2. This class of graphs would disallow the sequential coloring that was so beneficial in the coloring algorithm presented in this paper.