WorksComputer Science
Odd Chromatic Number of Graph Classes: Bounds and Structural Results
Abstract
A proper coloring of a graph is called an odd coloring if, for every non-isolated vertex , there exists a color that occurs an odd number of times in the open neighborhood of . For a graph , the minimum number of colors required for such a coloring is called the odd chromatic number, denoted by . The odd chromatic number has been well-studied from both combinatorial and algorithmic perspectives, and several bounds on are known. In this paper, we establish tight bounds on for several graph classes. In particular, we obtain the following results: 1. For every block-cactus graph , we prove that , where denotes the clique number of . 2. For block graphs and proper interval graphs, we establish the bounds . 3. For a bipartite circle graph, we prove that . This settles an open question asked by Davis et al., 2026. 4. For every biconvex bipartite graph , we prove that . 5. For -free cographs , we establish the bound . Moreover, we characterize block graphs, proper interval graphs, and cactus graphs based on their odd chromatic number.
Introduction
Throughout the paper, we have considered simple, connected, and finite graphs. We use to denote the set . Coloring in graphs has been one of the fundamental problems in graph theory since its inception. Among several graph coloring parameters, the chromatic number of graphs is an extensively studied parameter in graph theory and has enormous applications in the real world; see [19, 21]. A proper -coloring of a graph is a map such that if then . The minimum for which there exists a proper coloring is called chromatic number of , symbolized as .
Motivated by various real-world applications, numerous variants and generalizations of proper coloring have been introduced [6, 15, 2, 3]. Among the various extensions of proper graph coloring, proper conflict-free coloring (PCFC) is a well-studied variant [6, 15], in which every vertex is required to have at least one color that occurs exactly once in its open neighborhood of . Along similar lines, Petruševeski and Skrekovski [25] introduced odd coloring as a further generalization of PCFC.
A proper -coloring of a graph is called an odd -coloring if, for every non-isolated vertex , there exists a color that occur an odd number of times in the open neighborhood of . The odd chromatic number of , denoted by , is the minimum number of colors for which admits an odd coloring. In the associated decision problem called Odd -Coloring, given a graph and integer , we need to answer whether admits an odd coloring using at most -colors or not. It is known that the Odd -Coloring is NP-hard for bipartite graphs [1]. Later, Patar and Reddy [24] strengthened the hardness results by showing that the problem remains hard even for perfect elimination bipartite graphs and star-convex bipartite graphs. Bhyravarapu et al. [4] investigated the parameterized complexity of odd coloring and showed that Odd -Coloring is fixed-parameter tractable when parameterized by distance to cluster, distance to co-cluster, and neighborhood diversity. In addition, they obtained polynomial-time algorithms for Odd -Coloring on cographs and split graphs. Patar and Reddy [24] studied the problem for chain graphs and convex bipartite graphs.
In the context of combinatorial bounds, Daniel W. Cranston [9] determined the odd chromatic number of cycles and trees. In particular, they prove that for a cycle on vertices , and for a path on vertices , . Caro, Petruševski, and Škrekovski [7] prove that when is a connected planar graph. They also conjectured that for a planar graph , . Later, in [7], the authors reduced the bound to 8 for planar graphs. Several other bounds have also been established; see [10, 22, 8, 20, 26]. Pang, Miao, and Fan [23] studied the odd chromatic number in terms of the maximum degree of a graph and conjectured that every connected graph with maximum degree satisfies .
Our contributions. In this paper, we investigate the odd chromatic number for several well studied graph classes. Our study focuses block-cactus graphs, block graphs, proper interval graphs, biconvex bipartite graphs, bipartite circle graphs, bipartite distance-hereditary graphs, and -free cographs. The aim is to use the structures of these graph classes to establish tight lower and upper bounds. We identify that the odd chromatic number is very close to the clique number. It is important to remark that, for some graph classes, the bounds that we establish settles the conjecture posed by Pang et al. in [23].
We first consider block cactus graphs and establish the bound , where denotes the clique number of . Next, we show that if is a block graph or a proper interval graph then and characterize the graphs attaining both lower and upper bounds. Moreover, we design an efficient algorithm for odd coloring of proper interval graphs with minimum colors.
Davies et al. [11] posed Problem 5.2, asking whether every bipartite circle graph has odd chromatic number at most four. We answer this question in the negative by constructing a connected bipartite distance-hereditary graph, which is also a bipartite circle graph, with odd chromatic number five. Furthermore, we prove that every bipartite circle graph admits a proper odd coloring using at most six colors and demonstrate that this bound is sharp. Consequently, our result improves the previously best-known upper bound of 98, established in Corollary 1.6 of [11], to the sharp upper bound of six.
Next, we examine connected biconvex bipartite graphs and show that every such graph admits an odd coloring using at most five colors. The proof utilizes the multichain ordering of biconvex graphs. We have established the sharpness of this bound for bipartite biconvex graphs. For a cograph , it is known that . We observed that this particular bound is indeed tight for cographs. For example, for , which is a cograph, . We analyze the bound on cograph in the absence of (that is, -free cographs), and we improve this bound for -free cographs. In particular, for a -free cographs we show that and prove that this bound is indeed tight. As a result, we settle the conjecture posed by Pang et al. in [23] for block-cactus graphs, block graphs, proper interval graphs, biconvex bipartite graphs and -free cographs.
Preliminaries
For a graph , we denote its vertex set and edge set by and , respectively. For vertices , an edge joining and is denoted by . For a subset , we denote by the subgraph of induced by . For a vertex , the open neighborhood of is defined by , and its closed neighborhood is defined by . When the underlying graph is clear from the context, we simply write and , respectively. A vertex is called a universal vertex if it is adjacent to every other vertex of . The degree of a vertex, denoted as , is the cardinality of . A bridge (cut-edge) in a graph is an edge whose removal increases the number of connected components in the graph.
We next introduce the terminology associated with colorings that will be used throughout the paper. Let be a proper coloring of . For each , we denote by the set of vertices assigned color under . A vertex is said to have as an odd color with respect to if an odd number of its neighbors are assigned color . Equivalently, is an odd color of with respect to if .
In a graph , a set is a clique if for any two distinct vertices , . The clique size is the maximum cardinality of a clique in . We use and to denote a cycle and a path on -vertices, respectively. A vertex is called a cut vertex if is disconnected. For a graph , a maximal induced subgraph of without a cut vertex is called a block of . We use to denote blocks of a graph . By the definition of blocks, we note that if and are two blocks, then . Thus, each block is either a maximal 2-connected subgraph, an edge, or an isolated vertex. A block graph is a graph in which every block is a clique, whereas a block-cactus graph is a graph in which every block is either a clique or a cycle, and a cactus graph is a connected graph in which every block is either an edge or a cycle. A Chain Graph is a bipartite graph in which the neighborhoods of the vertices in one partite set are linearly ordered by inclusion; that is, for any , either or .
Finally, we recall the notion of perfect graphs. For a graph , let denote its chromatic number and its clique number. A graph is called perfect if, for every induced subgraph of , . In particular, every block graph, every proper interval graph, and every -free cograph is perfect.
Block-Cactus Graphs
In this section, we study the odd chromatic number in a block-cactus graph. Recall that if is a block-cactus graph, then has a block such that has exactly one cut vertex and such a block is called an end block. Before proving the main result, we state the following observations.
Observation 1. If is a complete graph, then .
Observation 2. For any general graph , if and only if is an odd-degree graph, and every cycle in has an even length.
Observation 3. Let be a clique block of a block-cactus graph , and let be a non-cut vertex; that is, belongs to exactly one block of . Then there exists a color that occurs an odd number of times in under any proper coloring of .
The next theorem establishes the bound on the odd chromatic number of block-cactus graphs.
Theorem 3.1. For a block-cactus graph , .
Proof. Let be a block-cactus graph and . The lower bound is obvious from the fact that for any connected graph having at least two vertices, and . To establish the upper bound, we use induction on the number of blocks in the block-cactus graph .
Suppose has only one block. In this case, is either a cycle or a complete graph. If is a cycle then while if is a complete graph on vertices then . This establishes the base case. Next, we assume that the result holds for any block-cactus graph having at most blocks for .
Now consider a block-cactus graph having blocks. Recall that any block-cactus graph has at least two end blocks. Let be an end block with cut vertex . Notably, is a clique or a cycle. Let and . Note that the graph is a block-cactus graph having blocks. Therefore, by the inductive hypothesis, admits an odd coloring using at most colors. Since , . Thus, admits an odd coloring using at most colors. As is an odd coloring of the graph using at most colors, there exists a color such that is odd. Also, assume that . Next, depending on whether is a complete graph or a cycle, we extend the odd coloring of to an odd coloring of such that uses at most colors.
Case 1: is a clique.
In this case, first, we note that and no vertex of has a neighbor in . Thus, we extend the coloring of to an odd coloring of as follows: for each vertex . Assign all vertices in a distinct color from the set . Now, we claim that the coloring is an odd coloring of . Noting the fact that no vertex of has a neighbor in and is a odd coloring of , for any pair of vertices , if , . Also, for each vertex , there exists a color such that is odd.
Next, note that no vertex in is assigned color or . Thus remains odd. Also, for each vertex , . Precisely, is the only vertex colored in the neighborhood of each vertex . This concludes that if is a clique then the extended coloring is an odd coloring of that uses at most colors.
Case 2: is a cycle. Let for some . Note that . Since is a cycle in , is path on vertices. Similar to the previous case, we note that no vertex in has a neighbor in . Thus, we extend the odd coloring of to an odd coloring of as follows: for each vertex . Assign colors to the set of vertices in from the set of colors such that restricted to the graph is an odd coloring. This is indeed possible due to the fact that and the odd chromatic number of any path is at most 3. Consequently, is an odd coloring of that uses at most colors.
This completes the proof of the theorem.
Since in a cactus graph there is no clique of size more than 3, we have the following bound on cactus graphs.
Corollary 3.1. Let be a cactus graph. Then . Moreover, the bound is sharp.
Proof. Let be a cactus graph. Note that a cactus graph is a block-cactus graph such that . Thus, from Theorem 3.1, we have .
Next, we characterize cactus graphs based on their odd chromatic number. Let be a connected cactus graph, and let denote the family of blocks that are cycles in . Furthermore, let be the spanning subgraph of whose edges are precisely the bridges of . Since is a cactus graph, is a forest.
Theorem 3.2. Let be a connected cactus graph. Then if and only if for every cycle block there exists a set such that:
(i) For every , .
(ii) For every vertex incident with no bridge, the number of cycle blocks containing for which the two edges of incident with are either both in or both outside is odd.
Proof. Suppose is an odd 3-coloring. For each cycle block , traverse its vertices in this order and put
where indices are read modulo . Since is proper, every color difference around this cycle is either 1 or modulo 3. Summing around the cycle gives
Thus (i) holds.
Let be incident with no bridge. Because is a cactus graph, every edge at belongs to exactly one cycle block, and each such block contributes two incident edges. In particular, is even. For a cycle block containing , its two neighbors of have different colors precisely when the two incident edges of are both in or both outside . Such a cycle contributes one neighbor of each of the two colors other than . Otherwise, the two neighbors have the same color and the cycle contributes either zero or two neighbors of either color. Consequently, modulo 2, the number of neighbors in either one of the two other color classes equals the number of cycle blocks specified in (ii). As is even and is odd, both neighbor-color classes have odd size. Therefore the number in (ii) is odd, as required.
Conversely, suppose the edge sets satisfy (i) and (ii). For each vertex , write for the number of cycle blocks containing in which the two edges incident with are both selected or both unselected.
We first assign each bridge to one of its endpoints. Let denote the number of bridges assigned to . We require
Such an assignment always exists. Indeed,
so and have the same parity. For each non-trivial tree component of the bridge forest , choose a leaf as root. Process the other vertices from the leaves toward the root. At each non-root vertex of even degree in , assign its parent bridge to the appropriate endpoint so that (1) holds; at a vertex of odd degree in , choose arbitrarily. The root has degree 1 in , so it requires no parity condition. If is isolated in , then (ii) already implies is odd.
Next, prescribe a difference for every ordered pair of adjacent vertices, with . For the chosen cyclic traversal of , set
If a bridge was assigned to , set . By (i), the sum of the prescribed differences around every cycle block is zero modulo 3. As every cycle of a cactus graph is a cycle block, the difference prescriptions are consistent along all paths. Choose a root vertex , put , and define by summing along any path from to . Thus is well-defined, and it is proper because every edge has difference 1 or .
For any vertex , let . Each cycle block counted by contributes exactly one neighbor to ; each other incident cycle block contributes zero or two. Each bridge assigned to contributes exactly one. Therefore
If is even and , then (1) and (2) show that is odd. If is even and , condition (ii) gives the same conclusion. In either case, is also odd, so satisfies the odd condition. If is odd, at least one of and is odd automatically. Hence every vertex satisfies the odd condition, and is an odd 3-coloring of . Thus .
From Observation 2, if is a connected graph with at least two vertices, then if and only if is bipartite and every vertex of has an odd degree. Due to this fact and Theorem 3.2, we have the following corollary:
Corollary 3.2. Let be a connected cactus graph with at least two vertices. Then if and only if conditions (i) and (ii) of Theorem 3.2 hold and is not a bipartite graph in which every vertex has odd degree.
Proof. By Theorem 3.2, we have if and only if conditions (i) and (ii) hold. Moreover, by Observation 2, the additional condition excludes . Hence, .
Corollary 3.3. Let be a connected cactus graph with at least two vertices. Then if and only if
has a block not isomorphic to ; and
There is no family satisfying conditions (i) and (ii) of Theorem 3.2.
Proof. Every cactus graph is outerplanar. Kashima and Zhu proved that a connected outerplanar graph is odd 4-colorable if and only if it has a block not isomorphic to [20]. Thus the first condition is equivalent to . By Theorem 3.2, the second condition is equivalent to . Together these conditions give , and the converse follows from the same equivalences.
Next, we give examples of cactus graphs having odd chromatic number 3 and 4.

Figure 1. Two connected cactus graphs. The numbers inside the vertices represent their assigned colors, and dashed edges represent bridges. In (a), double edges indicate the selected sets and , while . In (b), no edge set for the 4-cycle satisfies both conditions (i) and (ii).
Observation 4. Let be a connected cactus graph. Then if and only if every block of is isomorphic to .
Proof. Since every cactus graph is outerplanar, the result of Petruševski and Škrekovski [7] implies that . Moreover, Kashima and Zhu [20] proved that a connected outerplanar graph admits an odd 4-coloring if and only if it contains a block that is not isomorphic to . Consequently, if and only if every block of is isomorphic to .
We summarize all the results proved above through the following corollary:
Corollary 3.4. Let be a connected cactus graph with at least two vertices. Then the odd chromatic number of is given by
Block Graphs
For a graph , a maximal induced subgraph of without a cut vertex is called a block of . We use , , , to denote blocks of a graph . By the definition of blocks, we note that if and are two blocks, then . For our purpose of establishing a bound, we use the block-cut tree of a block graph .
Let be a block graph, denote the set of blocks of , and denote the set of cut vertices of . The block-cut tree of , denoted by , is a tree with vertex set , in which a cut vertex is adjacent to a block if and only if . Note that each leaf vertex of the tree denotes an end block of . We consider the block tree rooted at a vertex such that corresponds to a cut vertex of . In our proofs, we consider the vertices of in a BFS-ordering starting with vertex . An illustration of a block graph and its corresponding block tree is given in Figure 2. A BFS-ordering of block tree given in Figure 2 is given by .

Figure 2. A block graph and its corresponding rooted block-cut tree .
Theorem 4.1. Let be a block graph. Then .
Proof. The proof is similar to the proof of Theorem 3.1. For the sake of completeness, we illustrate the proof again. Let be a block graph. The lower bound is obvious from the fact that every block graph is a perfect graph, and . To establish the upper bound, we use induction on the number of blocks in the block graph .
Suppose has only one block. Thus, is a complete graph on vertices, then . This establishes the base case. Next, we assume that the result holds for any block graph having at most blocks for .
::: Now consider a block graph having blocks. Recall that any block graph has at least two end blocks. Let be an end block with cut vertex . Notably, is a clique. Let and . Note that the graph is a block graph having blocks. Therefore, by the inductive hypothesis, admits an odd coloring using at most colors. Since , admits an odd coloring using at most colors. As is an odd coloring of , there exists a color such that is odd. Also, assume that . Next, we extend the odd coloring of to an odd coloring of such that uses at most colors.
We note that and no vertex of has a neighbor in . Thus, we extend the coloring of to an odd coloring of as follows: for each vertex . Assign all vertices in a distinct color from the set . Now, we claim that the coloring is an odd coloring of . Noting the fact that no vertex of has a neighbor in and is a odd coloring of , for any pair of vertices , if , . Also, for each vertex , there exists a color such that is odd.
Next, note that no vertex in is assigned color or . Thus remains odd. Also, for each vertex , . Precisely, is the only vertex colored in the neighborhood of each vertex . This concludes that is an odd coloring of that uses at most colors.
From the above theorem, we have that, for any block graph , . Moreover the proposed bounds are tight. For example a complete graph on 5 vertices achieves the lower bound while two sharing exactly one vertex achieve the upper bound. Next, we characterize block graphs depending on the odd chromatic number of . Consider a block graph . Let and be a block and a cut vertex in , respectively. We say that is incident on if .
Theorem 4.2. Let be a block graph. Then if and only if there exists a cut vertex such that the following is satisfied:
the size of each block incident to is , and
the number of blocks incident to is even.
Proof. Let be a block graph. Due to Theorem 4.1, . First, we assume that . We need to claim that there exists a cut vertex such that the following is satisfied:
the size of each block incident to is , and
the number of blocks incident to is even.
In order to prove this, we claim that if there does not exist any cut vertex with both properties together, then . To achieve this we describe a coloring procedure that uses at most colors. Thus, for every cut vertex , either some block incident with has order less than , or the number of blocks incident with is odd. We prove that has an odd coloring using colors.
We now construct a rooted block-cut tree rooted at a cut vertex . We consider the vertices of in the BFS order and assign the color to the vertices of . Intuitively, if we are assigning colors to a cut vertex in our proposed procedure, then at the same time we decide the color of the vertices of each block adjacent to . The coloring procedure is as follows: start by assigning an arbitrary color to the cut vertex corresponding to the root vertex . Suppose . Let be the block vertices adjacent to and be the corresponding blocks.
:::
If for each .
In this case, according to the assumption, is odd. Hence, for each , every uncolored vertex of block is assigned a distinct color from . That is, for each , assign color to uncolored vertices in from the set such that for all edge . Note that when restricted to blocks is an odd coloring.
If there exists a such that .
In this case, we first assign the color to the uncolored vertices of the block other than . For each , assign color to uncolored vertices in from the set such that . If there exists a color such that is odd, then assign color to uncolored vertices in from the set such that . This is indeed possible as the number of uncolored vertices in are at most . Otherwise, whichever color from is assign to uncolored vertices in is odd. Consequently, when restricted to blocks is an odd coloring.
We note that, in this procedure, the color of a cut vertex is decided while coloring the vertices of the corresponding block. Let be any cut vertex. Let be the parent of . Note that is a block vertex corresponding to some block, say . The color of is already defined while coloring the vertices of . Suppose, . Let be the block vertices adjacent to other than and be the corresponding blocks.
If for each .
In this case, according to the assumption, is odd. Hence, for each , every uncolored vertex of block is assigned a distinct color from . That is, for each , assign color to uncolored vertices in from the set such that . Hence any color from the set occurs an odd number of times in . Thus is an odd coloring.
If there exists a such that .
We find the maximum index such that . Suppose . That is, there exist a child block having size less than . In this case, we first assign the color to the uncolored vertices of the block other than . For each , assign color to uncolored vertices in from the set such that . If there exists a color such that is odd, then assign color to uncolored vertices in from the set such that . This is indeed possible as the number of uncolored vertices in are at most . Otherwise, whichever color from is assign to uncolored vertices in is odd.
If , then all child blocks have size . In this case, for each , assign color to uncolored vertices in from the set such that . We claim that there exists a color such that is odd. We claim this by considering the following cases:
– Suppose is odd. Hence, the number of child blocks incident to vertex is even. Hence, any color assigned to a vertex is appearing odd number of times in .
– If is even. Then, the number of child blocks incident to vertex is odd. Hence, any color in the set is appearing odd number of times in , since . Thus is an odd coloring.
Conversely, suppose there exists a cut vertex such that
the size of each block incident to is , and
the number of blocks incident to is even.
On the contrary, suppose that there exists an odd coloring of that uses at most colors. Let and be the block incident to the vertex . Due to our assumption, we note that is even and is for each . Since every odd coloring is a proper coloring, for any two distinct vertices and , in any block , . Thus uses colors other than color to color the vertices of for each . This concludes that all colors other than appear even number of times in . This contradicts the fact that is an odd coloring of . Therefore, the theorem follows.
Proper Interval graph
A graph is a proper interval graph if it admits an interval representation on the real line such that, for every pair of distinct vertices , , and no interval in properly contains another. Proper interval graphs are characterized by a vertex ordering called bi-compatible ordering (BCO). Let be a graph. An ordering is called bi-compatible ordering if for , implies for each . It is known that a graph is a proper interval graph if and only if it admits a BCO [18]. Define and .
We make the following important observation about the maximum degree of a proper interval graph.
Observation 5. Every vertex of a proper interval graph satisfies .
Proof. Let be a BCO of , and let . By the BCO property, and are cliques. Hence, and . Therefore . Since is arbitrary, .
Next, we establish bounds on the odd chromatic number for proper interval graphs, followed by characterization depending on the odd chromatic number.
Theorem 5.1. Let be a proper interval graph. Then, .
Proof. Let be a proper interval graph with bi-compatible ordering (BCO) . It is known that the vertices appearing in a BCO of a proper interval graph form a Hamiltonian path. The lower bound is immediate. Since every clique of must receive distinct colors in any proper coloring, we have . It remains to establish the upper bound. To establish this, define a coloring by . Thus, the colors are assigned cyclically as .
We first prove that is a proper coloring. Suppose, for contradiction, that for some and . By the definition of , , and hence . Therefore, . Since is a BCO and , the vertices induce a clique. Consequently, , which is a contradiction. Hence, is a proper coloring. It remains to prove the odd coloring condition. For every , the preceding neighbors of with form a clique. Therefore, . Similarly, . By the definition of , and . Since each side of contains at most neighbors and the coloring is periodic with period , the color occurs exactly once in , namely at . Similarly, the color occurs exactly once in , namely at . Hence, and . Thus, at least two colors occur an odd number of times in . For , all its neighbors occur after , and . Hence, . Similarly, for , all its neighbors occur before , and . Hence, . Therefore, for every , there exists a color such that . Thus, is an odd coloring of , and consequently, . Combining this with the lower bound , we conclude that .
From Theorem 5.1, we note that the odd chromatic number of a proper interval graph is sandwiched between and . Here it is important to remark that both the bounds are tight. In Figure 3 and Figure 4, we illustrate proper interval graphs attaining lower and upper bounds, respectively.

Figure 3. Example of an interval graph attaining the lower bound in Theorem 5.1. Here, , while and .

Figure 4. Example of an interval graph attaining the upper bound in Theorem 5.1. Here, , while and .
Our next theorem characterizes the class of proper interval graphs depending on the odd chromatic number.
Theorem 5.2. Let be a proper interval graph. Then if and only if there exists a vertex such that . Otherwise, .
Proof. Let be a proper interval graph with bi-compatible ordering (BCO) . Let . By the previous Theorem 5.1, we have . Suppose . We claim that there exists a vertex such that . To prove this, define a coloring by . Since is a BCO, for every edge with , the vertices induce a clique. Hence , and thus . Since the coloring is periodic with period , implying . Therefore, is a proper -coloring.
For any , let and , where and . By the BCO property, and are cliques, then , and hence . Moreover, under , the colors on and are respectively consecutive colors preceding and succeeding , that is $f(v_i) and modulo . Thus, every color occurs at most twice in . If , then there exists some color such that ; otherwise the set of colors appearing on is equal to the set of colors appearing on . Hence, modulo . This equality is possible only when , and hence , a contradiction. Therefore, implies that satisfies the odd coloring condition.
Suppose for every , then is an odd -coloring. Together with , we obtain , a contradiction. Hence, there exists such that .
Conversely, suppose that for some . Then . By the BCO property, and are cliques of order . For any proper -coloring , each of these cliques receives all colors. Hence, . Therefore, for every . Thus, every color occurs an even number of times in , so violates the odd coloring condition. Hence, , and therefore . Thus, if and only if there exists such that ; otherwise, .
A linear time algorithm for odd coloring in proper interval graphs
In this section, we present a linear-time algorithm that, given a proper interval graph and a BCO of , computes an odd coloring of with minimum colors. We remark that clique size of a proper interval graph can be computed in linear-time [12]. The algorithm is as follows:
Algorithm 1 Odd Coloring of a Proper Interval Graph
Input: A proper interval graph and BCO of
Output: An odd coloring of
Initialize:
if there exists a vertex such that then
else
if then
for to do
else
for to do
return
The correctness of Algorithm 1 follows from the Theorem 5.1 and Theorem 5.2. Next, we analyze the time complexity of the proposed algorithm. We note that the maximum clique size of a proper interval graph can be computed in linear time. Moreover, checking whether there exists a vertex of degree with exactly can be done in linear time. Also, our coloring procedure is linear-time. This concludes the linearity of the proposed algorithm.
Bipartite Circle Graphs
A connected bipartite distance-hereditary graph is a connected bipartite graph in which the distance between any two vertices remains unchanged in every connected induced subgraph containing them. Equivalently, such a graph can be constructed from a single vertex by repeatedly adding pendant vertices or false twins. A bipartite circle graph is a bipartite graph that can be represented as the intersection graph of chords of a circle, where two vertices are adjacent if and only if their corresponding chords intersect. Every distance-hereditary graph is a circle graph; consequently, the class of bipartite distance-hereditary graphs is a proper subclass of the class of bipartite circle graphs. Davis et al. in [11] study the problem in circle and related graph classes. They pose the following question as an open problem.
Problem [11] Does every bipartite circle graph have odd chromatic number at most 4?
Below, we give a construction of a bipartite circle graph such that , thereby disproving the above statement.
Proposition 1. There is a connected bipartite circle graph on ten vertices with .
Proof. Let be the bipartite graph with bi-partition , and . Figure 5 displays with a proper odd 5-coloring.

Figure 5. A bipartite circle graph with . The numbers inside the vertices represent color of respective vertex.
To verify that is a circle graph, place the following double-occurrence word around a circle, in cyclic order:
.
Join the two occurrences of each symbol by a chord. Two chords cross if and only if their endpoints alternate around the circle, a direct check gives exactly the adjacency sets specified above. Thus is a bipartite circle graph.
We next prove that . Suppose, for a contradiction, that is a proper odd coloring of using at most four colors. The three vertices have degree two, with , , . At a degree-two vertex, the odd-neighborhood condition requires its two neighbors to receive different colors. Therefore,
Every vertex of is adjacent to both and . Properness consequently forbids these four vertices from using either of the two distinct colors . At most two colors remain, say and . Since the colors on differ, as do those on , we have . But , so each of and occurs exactly twice in , and no other color occurs there. This contradicts the odd-neighborhood condition at . Hence .
For the reverse inequality, define by
This coloring is proper. The colors in the neighborhoods of and are ; at they are ; and at each of , , , they are . Finally, the two neighbors of each of , , have different colors. Thus every vertex has a color occurring an odd number of times in its neighborhood, proving . Combining the inequalities yields .
Remark 6.1. In fact, the graph above is bipartite distance-hereditary. It may be obtained from the cycle by adjoining pendant vertices , , at , , , respectively, and then false twins , , of , , , respectively.
Theorem 6.1. Every bipartite circle graph satisfies .
Proof. We first establish the upper bound. Since the odd chromatic number of a disjoint union is the maximum of the odd chromatic numbers of its components, it suffices to consider a connected bipartite circle graph containing at least one edge.
By the characterization of De. Fraysseix [13], for every connected bipartite circle graph there exists a connected plane graph with a spanning tree such that , where is the fundamental graph of with respect to .
We identify the bi-partition of with , . For and , the vertices and are adjacent in if and only if belongs to the fundamental cycle of with respect to . Since is connected and has an edge, it has no isolated vertices. Therefore, has no loops or bridges: a loop would correspond to an isolated vertex in , whereas a bridge would correspond to an isolated vertex in . Now we construct a proper odd coloring of using six colors.
Coloring the vertices in .
By the Four Color Theorem, there exists a proper vertex coloring , where . For each tree edge , define
where denotes componentwise addition modulo 2. Since is a proper coloring, , and hence (if , then ). Assign colors 1, 2, 3 to the vertices of according to these three nonzero vectors.
We claim that every vertex of satisfies the odd coloring condition. Let . Since is not a tree edge, the fundamental cycle of consists of together with the unique - path in . Thus, . Consequently,
The second equality follows because every internal vertex of the path appears exactly twice in the XOR sum. Since is an edge of and is proper, . Therefore,
If each of the three colors occurred an even number of times in , then every vector in would occur an even number of times, forcing the XOR sum to be 00. This is a contradiction.
Hence at least one color among occurs an odd number of times in . Thus every vertex of satisfies the odd coloring condition.
Coloring the vertices in .
Let denote the planar dual of . Since is a spanning tree of , the dual edges corresponding to form a spanning tree of . Since is bridgeless, its planar dual has no loops. By the Four Color Theorem, there exists a proper vertex coloring . Equivalently, is a proper coloring of the faces of using four colors. For each non-tree edge , let and be the two faces of incident with . Define
Since has no bridges, and are distinct adjacent faces. Therefore, . Assign colors 4, 5, 6 to the vertices of according to these three non-zero vectors.
We claim that every vertex of satisfies the odd coloring condition. Let , and let be the two faces incident with . The neighbors of in are exactly the non-tree edges belonging to the fundamental cut of determined by deleting . By planar duality, the duals of these non-tree edges form the unique – path in . Consequently, the XOR sum along this dual path telescopes, giving
Since has no bridges, the faces and are distinct and adjacent in . As is proper, . Therefore,
As before, if each of the colors 4, 5, 6 occurred an even number of times in , the XOR sum would be 00, a contradiction. Hence at least one color among occurs an odd number of times in . Thus every vertex of also satisfies the odd coloring condition.
Properness of the coloring.
The vertices of receive colors only from , whereas the vertices of receive colors only from . Since is bipartite with bi-partition , every edge has one endpoint in and the other in . Therefore, the coloring is proper.
Since every non-isolated vertex satisfies the odd neighborhood condition, we obtain a proper odd coloring using at most six colors. Consequently, .
Corollary 6.1. Every connected bipartite distance-hereditary graph satisfies . Moreover, the bound is sharp.
Proof. Since every connected bipartite distance-hereditary graph is a bipartite circle graph, the inequality follows directly from Theorem 6.1. The sharpness of this bound is established in Theorem 6.2.
Sharpness of the Bound
Theorem 6.2. There exists a connected bipartite distance-hereditary graph such that . Consequently, there exists a bipartite circle graph with odd chromatic number 6.

Figure 6. A connected bipartite distance-hereditary graph with . Consequently, a connected bipartite circle graph with odd chromatic number 6. The numbers inside the vertices represent color of respective vertex.
Proof. Let be a graph with bi-partition and . Put , . We show that is a connected bipartite distance-hereditary graph and that .
Claim 1. is a connected bipartite distance-hereditary graph.
Proof. Clearly, is bipartite and connected. Recall that a connected bipartite graph is distance-hereditary if it can be constructed from a single vertex by successively adding pendant vertices and false twins. We construct as follows. Start with the edge and perform the following operations in the given order:
Add as a false twin of .
Add as a pendant vertex adjacent to .
Add as a pendant vertex adjacent to .
Add as a false twin of .
Add as a pendant vertex adjacent to .
Add as a false twin of .
Add as a pendant vertex adjacent to .
Add as a false twin of .
Add as a pendant vertex adjacent to .
Add as a false twin of .
Add as a false twin of .
Add as a false twin of .
Each operation is performed on the graph constructed so far. The resulting graph is precisely . Since pendant-vertex and false-twin additions preserve bipartite distance-hereditariness, is a connected bipartite distance-hereditary graph.
Claim 2. .
By Corollary 6.1, we have for every connected bipartite distance-hereditary graph . To establish equality, it remains to show that .
Suppose, to the contrary, that admits a proper odd coloring using at most five colors. Since and , the odd coloring condition implies . Similarly, since , we obtain . We first show that at least three distinct colors are required on .
Suppose that receives at most two colors, say and . The preceding inequalities imply and . However, . Consequently, both and appear exactly twice in . Thus no color appears an odd number of times in , contradicting the odd coloring condition. Therefore, , where denotes the set of distinct colors used on .
Similarly, since , , the odd coloring condition implies , . Suppose that receives at most two colors, say and . Then and . Since , both and appear exactly twice in . This again contradicts the odd coloring condition. Hence, . Since every vertex of is adjacent to every vertex of , and is proper, no color used on can be used on . Thus, . Consequently, the number of colors used by is at least
This contradicts the assumption that uses at most five colors. Thus, . Therefore, .
Finally, since every bipartite distance-hereditary graph is a bipartite circle graph, is also a bipartite circle graph with odd chromatic number 6.
This completes the proof.
Biconvex Bipartite Graphs
A bipartite graph is biconvex if there exist linear orderings of and such that, for every vertex , the neighbors of occur consecutively in the ordering of the partite set opposite to the one containing . A bipartite graph is a bipartite permutation graph if and only if it admits a strong ordering. A strong ordering consists of linear orderings of and of such that, for all and , if , , and , then and .
Definition 7.1 (Multichain Ordering [5, 14]). Given a connected graph , there exists a vertex from which we construct the distance layers . The layer , where , represents the set of vertices that are at distance from . Here, denotes the largest integer such that is non-empty. These layers form a multi-chain ordering of if for every two consecutive layers and , where , we have the edges connecting these layers form a chain graph.
Theorem 7.1. Let be a connected biconvex graph, .
Proof. Since is connected and has at least two vertices, . Moreover, every odd coloring is a proper coloring, and hence, . It remains to prove that . Since is biconvex, it admits a multi-chain ordering , where and consists of the vertices at distance from the unique vertex in . Note that, each layer is an independent set in . Moreover, there are no edges between vertices if any two nonconsecutive layers and for each , is a chain graph. Consequently, for each , there exists a vertex in that is adjacent to all vertices of . We denote this vertex of as and call it special vertex in the layer . Since is the final nonempty layer and there is no subsequent layer to dominate, we choose an arbitrary vertex and designate it as the special vertex of . Let be the set of special vertices. Next, we define a coloring function that uses at most 5-colors, namely and is an odd coloring of . To do so, we first define colors on the set of special vertices .
Now we define colors on the non-special vertices of each layer depending on whether is even or odd. For a each vertex we define the color on as follows:
Consequently, each non special vertex of layer is colored 3 if is even, 4 otherwise. Also special vertex of layer receives a color from the set . An illustration of our colouring procedure is given in Figure 7.

Figure 7. A layered graph with ordering for and special vertices . The numbers inside the vertices indicate assigned color labels, while vertex names appear outside the vertices.
Next, we claim that is an odd coloring of . In order to prove this, we first show that is a proper coloring in . Let be any arbitrary vertex such that . Due to the property of multi-chain ordering, we note that . We analyze the colors on by considering the following cases:
If is even.
In this case if is a non-special vertex then . Moreover, if then . Since both and are odd, for each non-special vertex , . Moreover, due to our coloring procedure, if then and . But for any three consecutive integers , , and , the values , , and , all are distinct values from the set . Consequently, . This concludes that for any .
If is odd.
This is similar to the case above.
Thus, is a proper coloring of . Next, we show that for each vertex there exist a color such that is odd. Consider vertices of any layer , . Note that is adjacent to all vertices of the layer . As discussed above, for any vertex , . Moreover if then, . Also, as per our coloring procedure, . Hence, for each vertex , .
Now, consider the layer . Note that . In fact, is adjacent to all vertices of . Let . As per our coloring procedure, . Thus, . This concludes that is an odd coloring of that uses at most 5 colors. Thus, the result follows.
Corollary 7.1. The bounds for connected biconvex graphs with at least two vertices are sharp.
Proof. The lower bound is attained by the complete graph , which is biconvex graph and satisfies . The upper bound is attained by the connected biconvex graph constructed in the following Proposition 2, for which . Hence, both bounds are sharp.
Proposition 2. There exists a connected biconvex bipartite graph such that .
Proof. Consider the bipartite graph illustrated in Figure 8, where and . Clearly, the neighbors of every vertex of occur consecutively in the ordering of . Similarly the neighbors of every vertex of also occur consecutively in the ordering of . Consequently, is biconvex. Furthermore, the graph is connected.
Figure 8. A connected biconvex bipartite graph and an odd 5-coloring of . The numbers inside the vertices represent color of respective vertex.
By Theorem 7.1, we have for every connected biconvex graph . To establish equality, it remains to show that .
Suppose, to the contrary, that admits an odd coloring using at most four colors. Since , the odd-coloring condition at implies that . Without loss of generality, assume and . Since and are adjacent to every vertex of , and is a proper coloring, no vertex of can receive color 1 or color 2. Therefore, every vertex of must receive one of the remaining two colors, say 3 and 4.
Now, consider the vertex . Since , the odd-coloring condition at implies that . Hence, colors 3 and 4 each occur exactly once in . Similarly, since , the odd-coloring condition at implies that . Thus, colors 3 and 4 each occur exactly once in .
Finally, consider the vertex . We have . By the above observations, each of the colors 3 and 4 occurs exactly twice in , while every other color occurs zero times. Therefore, no color occurs an odd number of times in . This contradicts the assumption that is an odd coloring of . Consequently, .
This completes the proof.
Cographs
In this section, we study the odd chromatic number of a -free cographs. A graph is a cograph if it contains no induced subgraph isomorphic to . A -free cograph is a cograph that contains no induced subgraph isomorphic to . The odd chromatic number of a cograph is already known.
Theorem 8.1. [4] Let be a cograph. Then .
In fact, we observe that the above-proposed bound is tight. We reduced this bound for a cograph in the absence of . Recall that a -free graph is also known as trivially perfect graph [17, 16]. A -free cograph can be obtained from by repeatedly applying one of the following in each step:
add an isolated vertex,
add a universal vertex,
take the disjoint union of two -free cographs and .
Next, we state the following theorem:
Theorem 8.2. Let be a -free cograph. Then .
Proof. Let be a -free cograph. Every -free cograph is perfect, and hence . Since every odd coloring is a proper coloring, . It remains to establish the upper bound. We proceed by induction on . For , . Now, let us assume that, for every -free cograph with we have .
Case 1: .
Let , where . Since has no neighbors, it imposes no odd-coloring constraint. Hence, . Furthermore, . Therefore, by induction, .
:::
Case 2: is disjoint union of two -free cographs and .
Let . Since there are no edges between and , then and . By the induction hypothesis, for . Consequently, .
Case 3: .
Let , where is universal vertex, and put . Then . Since is perfect, . Let be a proper -coloring of . Choose an arbitrary vertex and define by , , and for every .
Clearly, is proper. Since is universal vertex and is the unique vertex assigned color , . Moreover, is the unique vertex assigned color , and hence for every . Thus, , such that . Therefore, is an odd coloring of , and .
Thus, the upper bound holds in each of the three construction steps. By induction, . Combining this with the lower bound gives .
This completes the proof.
Corollary 8.1. The above proposed bounds are tight. For , , whereas for , and .
Concluding Remarks
In this paper, we established bounds on the odd chromatic number for several important graph classes and characterized these classes in terms of it. As a consequence, we also settle the conjecture by Pang et al. in [23] for block-cactus graphs, block graphs, proper interval graphs, biconvex bipartite graphs and -free cographs. We answer Problem 5.2 posed by Davies et al. [11] in the negative by constructing a bipartite circle graph with odd chromatic number five. For a proper interval graph , we proved that . A proper interval graph is a subclass of class of chordal graphs. It would be interesting to obtain bounds on the odd chromatic number of a chordal graph. Establishing bounds on the odd chromatic number of other important graph classes, such as distance-hereditary graphs, is also a promising research direction.
References
- [1]Jungho Ahn, Seonghyuk Im, and Sang-il Oum. The proper conflict-free k-coloring problem and the odd k-coloring problem are np-complete in bipartite graphs. Discrete Applied Mathematics, 377:10–17, 2025.DOI
- [2]Dhanyamol Antony, L. Sunil Chandran, Ankit Gayen, Shirish Gosavi, and Dalu Jacob. Total domination, separated-cluster, cd-coloring: Algorithms and hardness. In José A. Soto and Andreas Wiese, editors, LATIN 2024: Theoretical Informatics - 16th Latin American Symposium, Puerto Varas, Chile, March 18-22, 2024. Proceedings, Part I, volume 14578 of Lecture Notes in Computer Science, pages 97–113. Springer, 2024. doi:10.1007/978-3-031-55598-5\_7.DOI
- [3]Aritra Banik, Prahlad Narasimhan Kasthurirangan, and Venkatesh Raman. Dominator coloring and CD coloring in almost cluster graphs. J. Comput. Syst. Sci., 150:103633, 2025. URL: https://doi.org/10.1016/j.jcss.2025.103633, doi:10.1016/j.jcss.2025.103633.
- [4]Sriram Bhyravarapu, Swati Kumari, and I Vinod Reddy. On the parameterized complexity of odd coloring. In Conference on Algorithms and Discrete Applied Mathematics, pages 60–72. Springer, 2025.
- [5]A. Brandstädt and V. V. Lozin. On the linear structure and clique-width of bipartite permutation graphs. Ars Combin., 67:273–281, 2003.
- [6]Yair Caro, Mirko Petruševski, and Riste Škrekovski. Remarks on proper conflict-free colorings of graphs. Discrete mathematics, 346(2):113221, 2023.arxiv.org/abs/2203.01088
- [7]Yair Caro, Mirko Petruševski, and Riste Škrekovski. Remarks on odd colorings of graphs. Discrete Applied Mathematics, 321:392–401, 2022. URL: https://www.sciencedirect.com/science/article/pii/S0166218X22002864, doi:10.1016/j.dam.2022.07.024.DOI
- [8]Eun-Kyung Cho, Ilkyoo Choi, Hyemin Kwon, and Boram Park. Odd coloring of sparse graphs and planar graphs. Discrete Mathematics, 346(5):113305, 2023.arxiv.org/abs/2202.11267
- [9]Daniel W Cranston. Odd colorings of sparse graphs. arXiv preprint arXiv:2201.01455, 2022.arxiv.org/abs/2201.01455
- [10]Daniel W Cranston, Michael Lafferty, and Zi-Xia Song. A note on odd colorings of 1-planar graphs. Discrete Applied Mathematics, 330:112–117, 2023.DOI
- [11]James Davies, Meike Hatzel, Kolja Knauer, Rose McCarty, and Torsten Ueckerdt. Odd coloring graphs with linear neighborhood complexity, 2025. Version 2, revised February 12, 2026. URL: https://arxiv.org/abs/2506.08926, arXiv:2506.08926.
- [12]Celina M. H. de Figueiredo, João Meidanis, and Célia Picinin de Mello. A linear-time algorithm for proper interval graph recognition. Information Processing Letters, 56(3):179–184, 1995. doi:10.1016/0020-0190(95)00133-W.DOI
- [13]Hubert De Fraysseix. Local complementation and interlacement graphs. Discrete Mathematics, 33(1):29–35, 1981.DOI
- [14]Jessica Enright, Lorna Stewart, and Gábor Tardos. On list coloring and list homomorphism of permutation and interval graphs. SIAM J. Discrete Math., 28(4):1675–1685, 2014. doi:10.1137/13090465X.DOI
- [15]Igor Fabrici, Borut Lužar, Simona Rindošová, and Roman Soták. Proper conflict-free and unique-maximum colorings of planar graphs with respect to neighborhoods. Discrete Applied Mathematics, 324:80–92, 2023.DOI
- [16]Martin Charles Golumbic. Trivially perfect graphs. Discrete Mathematics, 24(1):105–107, 1978.DOI
- [17]Martin Charles Golumbic. Why are they called trivially perfect graphs? Cadernos do IME – Série Informática, 47:40–45, 2022. doi:10.12957/cadinf.2022.70585.DOI
- [18]Robert E Jamison and Renu Laskar. Elimination orderings of chordal graphs. Combinatorics and Applications, pages 192–200, 1982.
- [19]Tommy R. Jensen and Bjarne Toft. Graph Coloring Problems. Wiley-Interscience Series in Discrete Mathematics and Optimization. John Wiley & Sons, 1995.DOI
- [20]Masaki Kashima and Xuding Zhu. Odd 4-coloring of outerplanar graphs. Graphs and Combinatorics, 40(6):108, 2024.arxiv.org/abs/2407.19362
- [21]R. M. R. Lewis. Guide to Graph Colouring - Algorithms and Applications, Second Edition. Springer, 2021.
- [22]Weichan Liu, Mengke Qi, and Xin Zhang. Odd coloring of 2-boundary planar graphs and beyond. Discrete Applied Mathematics, 380:68–79, 2026.arxiv.org/abs/2205.09317
- [23]Jing-Ru Pang, Lian-Ying Miao, and Yi-Zheng Fan. On odd and strong odd colorings of graphs. Discrete Mathematics, 349(1):114683, 2026.
- [24]Joydeep Patar and I Vinod Reddy. On odd coloring of graphs. In Conference on Algorithms and Discrete Applied Mathematics, pages 378–391. Springer, 2026.DOI
- [25]Mirko Petruševski and Riste Škrekovski. Colorings with neighborhood parity condition. Discrete Applied Mathematics, 321:385–391, 2022.arxiv.org/abs/2112.13710
- [26]Dinabandhu Pradhan, Vaishali Sharma, and Riste Škrekovski. A remark on a result on odd colorings of planar graphs. Discrete mathematics, 349(6):115014, 2026.DOI
