Locating Chromatic Number of Middle Graph of Path, Cycle, Star, Wheel, Gear and Helm Graphs

H. Aouf1, H. Al-Ezeh1, M. Ghanem1
1Department of Mathematics, The University of Jordan, Amman

Abstract

Let c be a proper k-coloring of a connected graph G and π={S1,S2,,Sk} be an ordered partition of the vertex set V(G) into the resulting color classes, where Si is the set of all vertices that receive the color i. For a vertex v of G, the color code cπ(v) of v with respect to π is the ordered k-tuple cπ(v)=(d(v,S1),d(v,S2),,d(v,Sk)), where d(v,Si)=min{d(v,u): uSi} for 1ik. If all distinct vertices of G have different color codes, then c is called a locating coloring of G. The locating chromatic number is the minimum number of colors needed in a locating coloring. In this paper, we determine the locating-chromatic number for the middle graphs of Path, Cycle, Wheel, Star, Gear and Helm graphs.

Keywords: Middle graphs, Path, Cycle, Wheel, Star, Gear and Helm graphs

1. Introduction

Let G be a connected graph without loops and multiple edges with vertex set V(G) and edge set E(G). The middle graph M(G) of the graph G is defined by the vertex set V(G)E(G), where two vertices are adjacent if and only if they are either adjacent edges of G or one is a vertex and the other is an edge incident with it. Note that every middle graph is a subdivision graph, however not every subdivision graph is a middle graph. Many theoretical graph properties and invariants of a middle graph were studied in the literature see [1] and [2]. For a connected graph G, the distance between the vertices u and v in V(G), denoted by d(u,v), is the length of the shortest path between them, whereas for a subset S of V(G), the distance between u and S is given by
d(u,S)=min{d(u,x): xS}. The neighborhood of a vertex u in a graph G, N(u), is the set of all vertices adjacent to u, i.e. N(u)={uV(G): uvE(G)}. Moreover, the degree of a vertex u, degG(u), is defined as the cardinality of N(u).

A proper k-coloring of G, kN, is a function c defined from V(G) onto a set of colors [k]={1,2,,k} such that every two adjacent vertices of G have different colors. Thus, the coloring c can be considered as a partition of V(G) into color classes S1,S2,,Sk, where the vertices of Si are colored by the color i such that no two vertices belonging to Si are adjacent for 1ik. The minimum k for which G has a proper k-coloring is the chromatic number of G, denoted by χ(G). Let π={S1,S2,,Sk} be a partition of V(G) induced by c, the color code cπ(v) of a vertex v in V(G) with respect to π is defined as the ordered k-tuple cπ(v)=(d(v,S1),d(v,S2),,d(v,Sk)). If all the distinct vertices of G have distinct color codes, then c is called a locating k-coloring of G. The minimum k for which there exists a locating coloring of G using exactly k colors is the locating chromatic number of G, denoted by χL(G). Since every locating coloring is a proper coloring, χ(G)χL(G). The locating-chromatic number of a graph is a combination concept between the partition dimension of a graph and the coloring of a graph. There exist many applications of graph coloring and labeling in various fields. These notions play an important role and they are related to different applications such as computer science and communication network (see [3] and [4]).

The concept of locating coloring of graphs was first introduced by Chartrand et al. [5] in 2002. They established some bounds for the locating chromatic number of a connected graph. They proved that for a connected graph G with n3, χL(G)=n if and only if G is a complete multi-partite graph. Also for paths and cycles of order n3, they demonstrated that χL(Pn)=3, χL(Cn)=3 when n is odd, and χL(Cn)=4 when n is even. The authors in [6] characterized all graphs of order n with locating-chromatic number n1. Many results of the locating chromatic graph for connected graph were studied. Asmiati et al. in [7] and [8] determined the locating-chromatic number of special classes of trees, an amalgamation of stars and a firecracker graph. Behtoe and Omoomi in [9] found the locating-chromatic numbers of the Kneser graph. In [10] all graphs containing cycles with locating-chromatic number 3 are characterized.

The locating-chromatic numbers of graphs obtained by some graph operations are also worthy studying. Baskoro and Purwasih in [11] studied the locating-chromatic number for the corona product of graphs. Behtoei et al. [12], on the other hand, gave the locating-chromatic number for the Cartesian product of any two graphs. In [13] the locating-chromatic number of the fan graph, wheel and friendship graph for join multiplication of two graphs are determined.

Recently, Ghanem et al. [14] figured out the locating chromatic number of powers of paths and powers of cycles. In this paper, we determine the locating-chromatic number for the middle graphs of Path, Cycle, Star, Wheel, Gear and Helm graphs.

2. Locating Chromatic Number of a Middle Graph of Path

Let V(Pn)={x1,x2,x3,,xn} and E(Pn)={xixi+1:1in1}. The middle graph of the n-path Pn is given by subdividing each edge exactly once and joining all the middle vertices of adjacent edges of Pn. Denote the middle vertex of the edge xixi+1 by yi where 1in1. In this section, we determine the locating chromatic number of a middle graph of Pn.

Theorem 1. For any postive integer n>3, χL(M(Pn))=4.

Proof. Since M(Pn) contains 3-clique, 3χ(M(Pn))χL(M(Pn)). Let c be locating 3-coloring of M(Pn). Observe that M(Pn) contains at least two distinct 3-cliques, so definitely two vertices of M(Pn) must have the same color, as well as the same color code. Thus, χL(M(Pn))4.

Define the coloring function c:V(M(Pn)){1,2,3,4} as follows: c(xi)={1ifi=1,2ifi0(mod3)and1in,3ifi2(mod3)and1in,4ifi1(mod3)and2in. c(yi)={2ifi1(mod3)and1in,3ifi0(mod3)and1in,4ifi2(mod3)and1in.

Hence, we obtain a partition π={S1,S2,S3,S4} of V(M(Pn)), where S1={x1}, S2={x3,x6,}{y1,y4,}, S3={x2,x5,}{y3,y6,}, and S4={x4,x7,}{y2,y5,}.

Now, observe that for a distinct pair u,v of V(M(Pn)), we have d(u,x1)=d(v,x1) if and only if {u,v}={xi,yi} for some i{2,,n1}. Since xi and yi belong to different color classes, it follows that d(u,S1)d(v,S1) as long as u and v belong to the same color class. As a result, this coloring c is indeed a locating 4-coloring of M(Pn)◻

3. Locating Chromatic Number of a Middle Graph of a Cycle

Let V(Cn)={x1,x2,x3,,xn} and E(Cn)={xixi+1:1in1}{xnx1}. The middle graph of the n-cycle Cn is given by subdividing each edge exactly once and joining all the middle vertices of the adjacent edges of Cn. Denote the middle vertex of the edge xixi+1 by yi where 1in1 and the middle vertex of the edge xnx1 by yn.

For proof, we rename the vertices as follows:

Let V(M(Cn))={x1,x2,x3,,x2n} and E(M(Cn))={x1x2,x2x3,x3x4,,x2n1x2n}{xixi+2: i=2m and 1mn1}{x2nx2}.

In this section, we determine the locating chromatic number of a middle graph of Cn.

Theorem 2. For any positive integer n3, χL(M(Cn))4.

Proof. Since the graph M(Cn) contains a 3-clique, χL(M(Cn))3. Assume that χL(M(Cn))=3, and c is a locating coloring of M(Cn). Let x and y be two distinct vertices of M(Cn) such that c(x)=c(y), then they are contained in two distinct 3-cliques and so cπ(x)=cπ(y), a contradiction. ◻

Theorem 3. For 3n8, χL(M(Cn))=4.

Proof. If n=3, let S1={x3,x6}, S2={x1,x4}, S3={x2} and S4={x5}. If n=4, let S1={x3,x8}, S2={x1,x4}, S3={x2,x6} and S4={x5,x7}. If n=5, let S1={x3,x6,x10}, S2={x1,x4,x7}, S3={x2,x9} and S4={x5,x8}. If n=6, let S1={x3,x6,x12}, S2={x1,x4,x7,x9}, S3={x2,x10} and S4={x5,x8,x11}. If n=7, let S1={x3,x6,x14}, S2={x1,x4,x7,x10}, S3={x2,x9,x12} and S4={x5,x8,x11,x13}. If n=8, let S1={x3,x6,x13,x16}, S2={x1,x4,x7,x10}, S3={x2,x9,x12,x15}, and S4={x5,x8,x11,x14}. Clearly π={S1,S2,S3,S4} is a partition of V(M(Cn)), where 3n8. Therefore, the coloring c defined by c:V(M(Cn)){1,2,3,4}, where c(xi)=j for any xiSj is a locating 4-coloring for M(Cn)◻

Lemma 1. For n9, let c be a locating 4-coloring of  M(Cn) and Sj,1j4 be the color classes of this locating coloring. Let M(Cn)[R] be the induced subgraph of  M(Cn) by R, where R={xs,xs+1,,xt1,xt} such that xs,xt belong to Sj and RSj={xs,xt}. Then we have the following:

  1. For every Sj, there are at most three vertices say u1,u2,u3V(M(Cn))Sj such that dM(Cn)(ui,Sj)=2 where 1j4 and 1i3.

  2. In M(Cn)[R], there exist at most three vertices say v1,v2,v3V(M(Cn[R])) such that dM(Cn)[R](vi,{xt,xs})=2.

  3. |Sj|2, for all 1j4.

  4. If xSj, then dM(Cn)(x,Sj)2.

Proof.

  1. Let Si be the set of vertices that received the color i, 1i4 . Assume that there exist four vertices say ujSi such that dM(Cn)(uj,Si)=2, 1j4 and ij. Then two vertices of M(Cn) say u,v must be share the same color but each vertex of M(Cn) is contained in a 3-clique. Consequently, cπ(u)=cπ(v), contradiction.

  2. Note that for any vertex xi in M(Cn)[R], such that dM(Cn)[R](xi,{xs,xt})=2, we have dM(Cn)[R](xi,Sj)=1 or 0 given that xs,xtSj. Then the color code of xi in M(Cn)[R] is the same in M(Cn) and so by the same argument of the proof of part 1 we get the result.

  3. Assume that for j=1, |Sj|=1, say that S1={x1}, then the distance between each vertex of {x3,x4,x2n2,x2n1} and S1 is two, which contradict the part 1.

  4. Assume that there exists xlSi such that dM(Cn)(xl,Sj)3 for some ji. Choose xs,xt such that s<t and xs and xt are the closest vertices in Sj to xl. Then s<l<t and dM(Cn)(xs,xl)3 and dM(Cn)(xl,xt)3. If dM(Cn)(xs,xl)=3 and  dM(Cn)(xl,xt)=3, then dM(Cn)[R](xl,Sj)=3 where R={xs,,,xl,,xt1,xt}. Therefore, dM(Cn)[R](xk,Si)=2 whenever k{s+1,s+2,t1,t2}. By part 2, we get a contradiction. Hence dM(Cn)[R](xl,Sj)2 and so, dM(Cn)(xl,Sj)2.

 ◻

Theorem 4. For n9, χL(M(Cn))=5.

Proof. Assume that χL(M(Cn))=4. Let c be a locating coloring and {Si, 1i4} be the set of the color classes, say that S1 is of minimum cardinality. Now, let S=V(M(Cn))S1, by part 1 of Lemma 1 there exist m vertices in S where m3 such that the distance between each one of them and S1 is two. So there exist |S|m vertecies such that dM(Cn)(xi,S1)=1, 1i2n. If uS2, then by part 4 of Lemma 1, dM(Cn)(u,Sj)2 for j=3,4. Hence cπ(u)=(1,0,k,d), where k,d{1,2}. But u is contained in a 3-clique, so cπ(u) have three possibilities, similarly for S3 and S4. Thus there are at most 9 vertices such that the distance between each one of them and S1 equal to one. Hence |S|3|S|m9|S|122n|S1|12, where 4|S1|2n. So n8, contradiction. Hence χL(M(Cn))5, for all n9. Now, define the coloring function c:V(M(Cn)){1,2,3,4,5} as follows:

  1. If n0(mod4), then c(xi)={1, if  i=2n,2, if  i1(mod4) and in+1 or i0(mod4) and n+1<i<2n,3, if  i2(mod4) and i<n or i1(mod4) and n<i<2n,4, if  i3(mod4) and i<n or i2(mod4) and n<i<2n,5, if  i0(mod4) and in or i3(mod4) and n<i<2n.

  2. If n1(mod4), then c(xi)={1, if  i=2n,2, if  i1(mod4) and i<n or i2(mod4) and n<i<2n,3, if  i2(mod4) and i<n, i=n or i3(mod4) and n<i<2n,4, if  i=3(mod4) and i<n or i0(mod4) and n<i<2n,5, if  i0(mod4) and i<n or i1(mod4) and n<i<2n.

  3. If n2(mod4), then c(xi)={1, if  i=2n,2, if  i1(mod4) and i<n or i0(mod4) and n<i<2n,3, if  i2(mod4) and in or i1(mod4) and n<i<2n,4, if  i3(mod4) and in+1 or i2(mod4) and n+1<i<2n,5, if  i0(mod4) and i<n or i3(mod4) and n<i<2n.

  4. If n3(mod4), then c(xi)={1, if  i=2n,2, if  i1(mod4) and i<n or i2(mod4) and n<i<2n,3, if  i2(mod4) and i<n or i3(mod4) and n<i<2n,4, if  i3(mod4) and\ i<n or i0(mod4) and n<i<2n,5, if  i0(mod4) and i<n, i=n or i1(mod4) and n<i<2n.

In all the above four cases π={S1,S2,S3,S4,S5} is a partition of V(M(Cn)) and for any two distinct vertices ui and uj in Sl with 2l5, d(ui,S1)d(uj,S1), hence cπ(ui)cπ(uj). Therefore, all vertices in M(Cn) have distinct color codes. ◻

4. Locating Chromatic Number of a Middle Graph of a Star Graph

Let V(K1,n)={x0,x1,x2,x3,,xn} and E(K1,n)={x0x1,x0x2,x0x3,x0x4,,x0xn}, then K1,n is called the n-star graph. The middle graph of the n-star graph is given by subdividing each edge exactly once and joining all the middle vertices of adjacent edges of K1,n. Denote the middle vertex corresponding to the edge x0xi by yi where 1in. In this section, we determine the locating chromatic number of a middle graph of a star graph.

Theorem 5. For any positive integer n2, χL(M(K1,n))=n+1.

Proof. The vertices x0,x1,x2,x3,,xn have distinct colors since they induce an n+1-clique. Therefore, χL(M(K1,n))n+1.

Now, define the coloring function c:V(M(K1,n)){1,2,,n+1} in the following way: c(x0)=c(xi)=n+1,c(yi)=i,1in. By using the coloring c, we obtain the following color codes of V(M(K1,n)) cπ(x0)=(1,1,1,,0), cπ(xi)={0 for (n+1)th component,1 for ith component 1in,2otherwise. cπ(yj)={0 for jth component 1jn,1 otherwise. As a result, this coloring c is indeed a locating n+1-coloring of M(Wn). ◻

5. Locating Chromatic Number of a Middle Graph of a Wheel Graph

Let V(Wn)={x0,x1,x2,x3,,xn}, x0 be the center vertex and other vertices be x1,x2,x3,,xn on the rim and E(Wn)={x0xi, 1in}{xixi+1, 1in1}{xnx1}. Then Wn is called the n-wheel graph.

The middle graph of the n-wheel is given by subdividing each edge only once and joining all the middle vertices of adjacent edges of Wn. Denote the middle vertex of the edge x0xi where 1in by yi, the middle vertex of the edge xixi+1, where 1in1 by yi and the middle vertex of the edge xnx1 by yn. In this section, we determine the locating chromatic number of the middle graph of Wn.

Theorem 6. For n=3, χL(M(Wn))=6.

Proof. Let c be a locating 4-coloring of M(W3). Let u and v be two distinct vertices of M(W3) that were assigned the same color by c. Certainly, each one of them is contained in a 4-clique and hence they share the same color code i.e., χL(M(W3))5. If χL(M(W3))=5, then there exist at least two vertices of {yj,yk: 1j,k3} that share the same color . So, we get one of the following cases.

Case 1: One repeated color.

Let c(yj)=c(yk). Since N(yj)N(yk)={yi,1i3}{yl,1l3}{yj,yk}, we get cπ(yj)=cπ(yk), a contradiction.

Case 2: Two repeated colors.

Let c(y1)=c(y2)=1, c(y2)=c(y3)=2, c(y3)=3, and c(y1)=4. Then there is only one vertex of {x0,x1,x2,x3} that can be colored by the remaining color. Otherwise, cπ(y1)=cπ(y2) or cπ(y2)=cπ(y3) which is a contradiction. But on the other hand, if c(x0)=5 or c(x3)=5, then, the vertices x1,x2 must share the same color and consequently they have the same color code, which is also a contradiction. On the same vein, we get a contradiction if c(x1)=5 or c(x2)=5.

Case 3: Three repeated colors.

Let c(y1)=c(y2)=1, c(y2)=c(y3)=2, and c(y3)=c(y1)=3. Clearly, c(xi){4,5} for 0i3}. Consequently, there exist two vertices xi,xj share the same color, but each one of them is contained in a different 4-clique. Moreover, d(xi,xj)=2, so xi and xj must have the same color code, a contradiction.

From the previous cases, we get χL(M(W3))6. Let S1={x0}, S2={y1,x2}, S3={y2,x3}, S4={y3,y1}, S5={y3}, and S6={x1,y2}, then the coloring c defined by c:V(M(W3)){1,,6} such that c(u)=j for all uSj is a locating 6-coloring of M(W3).

 ◻

Theorem 7. For n=4, χL(M(Wn))=6.

Proof. The vertices x0,y1,y2,y3,y4 induce a 5-clique, so χL(M(W4))5. Now, suppose that χL(M(W4))=5. Let c be a locating coloring of M(W4), then the neighbors of yj, 1j4, are colored by three or four colors since each yj is a common vertex between two 4-cliques. If there is yj such that its neighbor colors set is {1,2,3,4,5}{c(yj)}, then cπ(yj)=cπ(yi) or cπ(yj)=cπ(x0). Therefore, the neighbors of yj must be colored by only three different colors. Since there exist exactly four 4-cliques where each one of them contains two vertices of {yj, 1i4}, 1i4, all 4-cliques must be colored by the same set of colors. On the other hand, each vertex of {yi, 1i4} is contained in exactly one of the four 4-clique, this implies that all the 4-cliques must be colored by the same set of colors {c(yi), 1i4}. So there exist at least two vertices xk and yj that share the same color and their neighbors are colored by the same colors besides, the distance between each one of them and x0 is two, so they have the same color code, a contradiction.

Let S1={x0}, S2={x2,y1}, S3={x3,y2,y4}, S4={x4,y3,y1}, S5={x1,y4,y2}, and S6={y3}. Thus the coloring c defined by c:V(M(W4)){1,,6} such that c(u)=j, for all uSj, is a locating 6-coloring of M(W4)◻

Theorem 8. For n5, χL(M(Wn))=n+1.

Proof. Since the vertices x0,y1,y2,y3,,yn induce an n+1-clique, χL(M(Wn))n+1.

Define, the coloring function c:V(M(Wn)){1,2,,n+1} in the following way: c(x0)=n+1,c(yi)=i,1in,c(x1)=n,c(xi+1)=i,1in1,c(y1)=n1,c(y2)=n,c(yi+2)=i,1in2. By using the coloring c, we obtain the following color codes of V(M(Wn)) cπ(x0)=(1,1,1,,0),cπ(xi)={0 for jth component ji1(modn),1 for jth component ji,i2 or i3(modn),2 otherwise.cπ(yi)={0 for ith component 1in,1 otherwise.cπ(yi)={0 for jth component ji2(modn),1 for jth component ji,i+1,i1 or i3(modn),2 otherwise. As a consequence, the coloring c is a locating n+1-coloring of M(Wn)◻

6. Locating Chromatic Number of a Middle Graph of a Gear Graph

The gear graph Gn is a graph obtained by inserting an extra vertex between each pair of the adjacent vertices on the perimeter of the wheel graph Wn. Let V(Gn)={x0,x1,x2,x3,,xn,z1,z2,,zn}, x0 be the center vertex, the vertices {x1,x2,x3,,xn} be on the rim and the other vertices z1,z2,z3,,zn1 divide the edges xixi+1, 1in1, respectively and zn be the subdivision of the edge {xnx1} and E(Gn)={x0xi,1in}{xizi,1in}{zixi+1,1in1}{znx1}.

The middle graph of the gear graph is given by subdividing each edge only once and joining all the middle vertices of the adjacent edges of Gn. Denote the middle vertex of the edge x0xi, where 1in, by yi, the middle vertex of the edge xizi, where 1in, by yi, the middle vertex of the edge zixi+1, where 1in1, by yi, and the middle vertex of the edge znx1, by yn. In this section, we determine the locating chromatic number of the middle graph of Gn.

Theorem 9. For n=3, χL(M(Gn))=5.

Proof. Since M(G3) contains at least two distinct 4-cliques, χL(M(G3))5. Let S1={x0,x1,y3,y1}, S2={y1,y2,z3}, S3={x3,y2,z2}, S4={y3,y1,y2}, and S5={x2,z1,y3}. Clearly, the coloring c defined by c:V(M(G3)){1,,5} such that c(u)=j, for all uSj, is a locating 5-coloring of M(G3)◻

Theorem 10. For n4, χL(M(Gn))=n+1.

Proof. Since the vertices x0,y1,y2,y3,,yn induce an n+1-clique, χL(M(Gn))n+1. For n=4, let S1={x0,x1,y3,y4}, S2={x4,z4,y1,y1}, S3={x2,x3,z1,z2,z3,y4,y4}, S4={y3,y1,y2}, and S5={y2,y2,y3}. As a result, the coloring c defined by c:V(M(G4)){1,,5} such that c(u)=j, for all uSj, is a locating 5-coloring of M(G4). For n5, define the coloring function c:V(M(Gn)){1,2,,n+1} in the following way: c(x0)=n+1,c(yi)=c(zi)=i,1in,c(x1)=c(y1)=n,c(xi+1)=c(yi+1)=i,1in1,c(y1)=n2,c(y2)=n1,c(y3)=n,c(yi+3)=i,1in3. Then the color codes of the vertices of M(Gn) are cπ(yi)={0 for ith component 1in,1 otherwise. cπ(zi)={0 for ith component,1 for jth component ji1 or i3(modn),2 otherwise. cπ(xi)={0 for jth component ji1(modn),1 for jth component ji,i2 or i3(modn),2 otherwise. cπ(yi)={0for jth component ji3(modn),1 for jth component ji,i1 or i2(modn),2 otherwise. cπ(yi)={0 for jth component ji1(modn),1 for jth component ji,i2,i3 or\ i+1(modn),2 otherwise. Clearly, the coloring c is a locating n+1-coloring of M(Gn)◻

7. Locating Chromatic Number of a Middle Graph of a Helm Graph

The helm graph Hn is obtained from an n-wheel graph by adjoining a pendant edge at each node of the cycle. Let V(Hn)={x0,x1,x2,x3,,xn,x1,,xn}, x0 be the center vertex, the vertices x1,x2,x3,,xn be on the rim and other vertices x1,x2,,xn be the leaves and E(Hn)={x0xi, 1in}{xixi+1, 1in1}{xnx1}{xixi,1in}.

The middle graph of the helm graph is given by subdividing each edge only once and joining all the middle vertices of adjacent edges of Hn. Denote the middle vertex of the edge x0xi, where 1in, by yi, the middle vertex of the edge xixi+1, where 1in1, by yi, the middle vertex of the edge xnx1, by yn and the middle vertex of the edge xixi, where 1in, by yi. In this section, we determine the locating chromatic number of the middle graph of Hn.

Theorem 11. For n=3, χL(M(Hn))=6.

Proof. Note that the middle graph M(H3) contains at least two distinct 5-cliques so, χL(M(H3))6. Let S1={y1,x2,x2}, S2={y2,x3,x3}, S3={y3,y2,x1,x1}, S4={y1,y3}, S5={y2,y1}, and S6={x0,y3}. As a consequence, the coloring c defined by c:V(M(H3)){1,,6}, where c(u)=j, for all uSj, is a locating 6-coloring of M(H3). ◻

Theorem 12. For n=4,5, χL(M(Hn))=n+2.

Proof. The vertices x0,y1,y2,,yn induce an n+1-clique, χL(M(Hn))n+1. For n=4, the middle graph M(Hn) contains at least two distinct 5-cliques, so χL(M(H4))6. For n=5, assuming that χL(M(Hn))=6, then there exists a coloring function c:V(M(H5)){1,,6}, such that for u,vV(M(H5)), we have cπ(u)cπ(v). Since each yj where 1j4, is a common vertex between two 5-cliques, the neighbors of yj are colored by four or five colors. And so by the similar argument of proof of Theorem 7, we get a contradiction. Thus, χL(M(H5))7.

Therefore, χL(M(Hn))n+2. Now for n=4, let S1={y1,y3,y2}, S2={y2,y1}, S3={y3,x4,x4}, S4={x3,x3,y4,y1}, S5={x0,x1,x1,y2,y4}, and S6={x2,x2,y4,y3}. While, for n=5, let S1={x2,x2,y1,y3}, S2={x3,x3,y2,y4}, S3={x4,x4,y3,y5}, S4={x5,x5,y4,y1}, S5={x1,x1,y5,y2}, S6={x0}, and S7={y1,y2,y3,y4,y5}.

Clearly, the coloring c defined by c:V(M(Hn)){1,,n+2}, where c(u)=j, for all uSj, is a locating n+2-coloring of M(Hn). ◻

Theorem 13. For any positive integer n6, χL(M(Hn))=n+1.

Proof. The vertices x0,y1,y2,y3,,yn induce an n+1-clique. Therefore, χL(M(Hn))n+1. Now, define the coloring function c:V(M(Hn)){1,2,,n+1} in the following way: c(x0)=n+1,c(yi)=i,1in,c(x1)=c(x1)=n,c(xi+1)=c(xi+1)=i,1i<n,c(y1)=n1,c(y2)=n,c(yi+2)=i,1in2,c(y1)=n3, c(y2)=n2, c(y3)=n1, c(y4)=n, c(yi+4)=i, 1in4. Let π={S1,S2,,Sn+1} where Si is the set of all vertices of the color i. Then the color codes of the vertices of M(Hn) are cπ(yi)={0 for ith component,1 otherwise.cπ(xi)={0 for jth component ji1(modn),1 for jth component ji4(modn),2 otherwise.cπ(xi)={0 for jth component ji1(modn),1 for jth component ji,i2,i3 or i4(modn),2 otherwise.cπ(yi)={0 for jth component ji2(modn),1 for jth component ji4,i3,i1,i or i+1(modn),2 otherwise.cπ(yi)={0 for jth component ji4(modn),1 for jth component ji,i1,i2 or i3(modn),2 otherwise. As consequence, this coloring c is definitely a locating n+1-coloring of M(Hn). ◻

References:

  1. Vivin, J. V. and Akbar, A. M. M., 2009. On Harmonious Coloring of Middle Graph of C(Cn), C(K1,n), and C(Pn). Note di Matematica, 29(2), pp.203-214.
  2. Aruldass, J. A. and Gurulakshmi, G., 2016. The domination coloring of central and Middle graph of some special graphs. International Journal of Mathematics and its Applications, 4, pp.67-73.
  3. Chartrand, G. and Oellermann, O. R., 1998. Applied and Algorithmic Graph Theory (pp. 157-168). McGraw-Hill, Inc.: New York, NY, USA.
  4. Sudhakar, S., Francis, S. and Balaji, V., 2017. Odd mean labeling for two star graph. Applied Mathematics and Nonlinear Sciences, 2, pp.195-200.
  5. Chartrand, G., Erwin, D., Henning, M. A., Slater, P. J. and Zhang, P., 2002. The Locating Chromatic Number of a Graph. Bulletin of the Institute of Combinatorics and its Applications, 36, pp.89-101.
  6. Chartrand, G., Erwin, D., Henning, M. A., Slater, P. J. and Zhang, P., 2003. Graphs of Order n with Locating Chromatic Number n1. Discrete Mathematics, 269, pp.65-79.
  7. Asmiati, Assiyatun, H. and Baskoro, E. T., 2011. Locating-chromatic number of amalgamation of stars. ITB Journal of Science, A, 43, pp.1-8.
  8. Asmiati, Baskoro, E. T., Assiyatun, H., Suprijanto, D., Simanjuntak, R. and Uttunggadewa, S., 2012. The locating-chromatic number of firecracker graphs. Far East Journal of Mathematical Sciences, 63, pp.11-23.
  9. Behtoei, A. and Omoomi, B., 2011. On the locating chromatic number of Kneser graphs. Discrete Applied Mathematics, 159(18), pp.2214-2221.
  10. Asmiati and Baskoro, E. T., 2012. Characterizing all graphs containing cycles with locating-chromatic number. AIP Conference Proceedings, 1450, pp.351-357.
  11. Baskoro, E. T. and Ira, A. P., 2012. The locating chromatic number for corona product of graphs. Southeast Asian Journal of Sciences, 1(1), pp.126-136.
  12. Behtoei, A. and Omomi, B., 2012. On the Locating Chromatic Number of the Cartesian Product of Graphs. Preprint arXiv:1106.3453.
  13. Behtoei, A. and Anbarloei, M., 2015. The Chromatic Number of the Join of Two Graphs. Bulletin of the Iranian Mathematical Society, 4(1), pp.31-41.
  14. Ghanem, M., Al-ezeh, H. and Dabour, A., 2019. Locating Chromatic Number of Powers of Paths and Cycles. Symmetry, 11, p.389.