1. Introduction
All graphs considered in this paper are simple connected graphs. The m-th power graph,
, of a graph
G is the graph whose vertex set is
and in which two distinct vertices are adjacent if and only if their distance in
G is at most
m. Let
c be a proper
k-coloring of a graph
G and
be an ordered partition of
of the resulting color classes. For any vertex
v of
G, the color code of
v with respect to
,
, is defined as the ordered
k-tuple
where
is the minimum distance from
v to each other vertex
for
. If distinct vertices of
G have distinct color codes, then we call
c a locating coloring of
G. The locating chromatic number of
G,
, is the minimum number of colors needed in a locating coloring of
G. The locating-chromatic number of a graph is a combined concept between the coloring and partition dimension of a graph. There are many applications of graph coloring and labeling in various fields, for instance, this notion relates to different applications in computer science and communication network and it plays an important role in solving scheduling problems, storage problem of chemical substances and placement problem of particular different objects—see, for example, [
1,
2]. The concept of locating chromatic number of a graph was introduced and studied by Chartrand et al. [
3] in 2002. They established some bounds for the locating chromatic number of a connected graph. They also proved that, for a connected graph
G with
vertices,
if and only if
G is a complete multi-partite graph. Hence, the locating chromatic number of the complete graph
is
n. In addition, for paths and cycles of order
, they proved that
,
when
n is odd, and
when n is even. The locating chromatic numbers of trees, and the amalgamation of stars, the graphs with dominant vertices are studied in [
4,
5,
6], respectively.
The distance graph
with distance set
is a graph with vertex set
, and edge set
. The circulant graph can be defined as follows. Let
be two positive integers and let
with
. Then, the vertex set of the circulant graph
is
and the set of edges is
. The problem of coloring of this class of graphs has attracted considerable attention—see, for example, [
7,
8]. Circulant graphs have been extensively studied and have an immense number of applications to multicomputer networks and distributed computation—see, for example, [
9,
10]. The distance graph
with finite distance set
is isomorphic to the m-th power graph of a path and the circulant graph
with
is isomorphic to the m-th power graph of a cycle. In this paper, we investigate the locating chromatic number of powers of paths and powers of cycles. For further work, one might consider the locating chromatic number of circulant graphs
for any finite set
S.
2. Locating Chromatic Number of Powers of Paths
Let denote the path of order n with vertex set and edge set . Then, the m-th power graph of , , is the graph with the the same vertex set of and the edge set .
In this section, we determine the locating chromatic number of the m-th power of the path , , where .
To clarify the proof of the next theorem, we give the following example.
Example 1. Let be the path of length 9 with vertex set and edge set . Then, the induced subgraph of by the vertices and form a clique. Thus, . Now, define the function as follows:Clearly, k is a coloring of , and hence . Since , we have . If , then and share the same color in since they are both adjacent to the vertices and that have different colors. Therefore, and have the same coding color, a contradiction. Thus, . Now, define the coloring function by Then, is the partition of with respect to c. Since the color code of any vertex with respect to the partition π is , we get, , , , , , , , , and . Thus, .
Theorem 1. Let be the path of order n and be the m-th power of . Then, Proof. Clearly, when
, then
is a complete graph of order
n, and thus
. But
, so
. Now, let
and
be the vertices of
such that
for all
. Then, the vertices
induce a clique in the graph
and thus each of these vertices should have a different color. Now, if
, then there exists a coloring function
such that
when
. Since
and
are both adjacent to the vertices
, they must have the same color and hence they share the same color code, a contradiction. Thus,
, whenever
. Now, define the coloring function
such that
Then,
is a partition of
where
is the set of vertices receiving color i. Note that, for
the induced subgraph with vertex set
is a clique colored by the
distinct colors
. Henceforth,
Since the induced subgraph with vertex set form a clique, we have when . Therefore, when . Thus, whenever . □
3. Locating Chromatic Number of Powers of Cycles
Let be the cycle of order n with the vertex set and edge set . For positive integers n and m, we denote by the graph with the same vertex set of and edge set . The graph is the m-th power of the -cycle . Let G be a graph with vertex set and edge set . For any vertex , the open neighborhood of v, denoted by , is defined by .
In this section, we give an upper and a lower bound for the locating chromatic number of the m-th power of the cycle , and we prove that these bounds are sharp. It should be mentioned that the power of cycle graph is highly symmetric and so we can start coloring from any vertex and this is simplify the coloring process through our work.
We start with the following lemma that helps us in our study.
Lemma 1 ([
3])
. Let c be a locating-coloring in a connected graph G. If u and v are distinct vertices of G such that for all , then . In particular, if u and v are non-adjacent vertices of G such that , then . Theorem 2. Let be a cycle of order n. Then, for all .
Proof. Since is a complete graph for any , we have . If then and . Clearly, and for all . Using Lemma 1, we get for all . Similarly, have different colors, so . □
Now, we give an upper bound for .
Theorem 3. Let be a cycle of order . Then, .
Proof. Clearly, . Now, assume that . Then, there exists such that if and only if . Let be the partition of where for all and let . Let and . Then, otherwise and hence there exist and that have the same color. Since and are subsets of and each one of them induce a complete subgraph of , we have , a contradiction. Thus, we have two cases:
Case 1: .
Then, there exist where such that , for all and the number of vertices between and is greater than . Thus, there exists such that . Thus, , a contradiction.
Case 2: .
Assume that such that , for all and the number of vertices between and greater than , then as in Case 1 we have a contradiction. Now, let the number of vertices between and in is for all i. Then, c is not a locating coloring. □
In the following lemma, we will show that is a sharp upper bound for .
Lemma 2. Suppose that is a cycle of order and or where q is a positive integer. Then, .
Proof. Let
and
. Define
Then, whenever , or . In addition, or for any , . Now, set and define by for any . Then, for any , . □
Now, we give exact values of the locating chromatic number of certain powers of cycles (for and when or 2 mod 4).
Lemma 3. - (i)
If , then .
- (ii)
If , then when , and when .
Proof. - (i)
In view of Theorem 3 and Lemma 2, it is enough to show that . Assume that , then is a partition of . Now, define by for any . Then, it is easy to show that for any .
- (ii)
and , . Then, is a partition of for . Now, let defined by for any . Clearly, for any , for .
□
In the following lemma, upper and lower bounds for some, , of a certain n are given.
Lemma 4. - (i)
Let and . Then, .
- (ii)
Let and . Then, .
Proof. - (i)
Assume that and . Notice that the length of the path is and the length of the path is , while the length of the path is for Thus, . Now, let , , , . Then, is a partition of and defined by for any is a locating coloring of . By using Theorem 3, we obtain .
- (ii)
Assume that and . Then, for all . Set , , . Then, is a partition of and defined by for any is a locating coloring of .
□
In the following two lemmas, we give an upper bound for whenever .
Lemma 5. Let and Then, Proof. - (1)
For , let . Then, is a partition of and defined by for any is a locating coloring of .
- (2)
For , where let similar to the case . Set . Then, is a partition of and given by for any is a locating coloring of .
- (3)
By part (i) of Lemma 4, when .
- (4)
For , take similar to the case except and . Let , , and . This implies that is a partition of and defined by for any is a locating coloring of .
- (5)
For where , take similar to the case except and , where . Set , and . Note that , and . Then, it is easy to show that the function defined by for any is a locating coloring of .
□
Lemma 6. Let and Then, Proof. - (1)
If , define , . Clearly, is a partition of and the function given by for any is a locating coloring of .
- (2)
If , where , take similar to the case . Set . Then, defined by for any is a locating coloring of .
- (3)
From part (ii) of Lemma 4, we conclude that when .
- (4)
If , take similar to the case except and . Set and . Then, , where is a partition of . Notice that and . Thus, the function given by for any is a locating coloring of .
- (5)
If , where , define similar to the case except and where . Set and . Then, it is easy to show that given by for any is a locating coloring of .
- (6)
If , take similar to the case . Then, , where is a partition of and the function given by for any is a locating coloring of .
□
As a consequence of Lemmas 3, 4, 5 and 6, we have the following.
Theorem 4. If or , then .
In view of Lemma 2, the lower bound of the above inequality is sharp. Next, we will show that the upper bound is also sharp.
Theorem 5. [11] Let n and m be positive integers such that . If and , then . The following two theorems give the exact values of which illustrate the sharpness of the upper bounds in Theorem 4.
Theorem 6. If , and , then .
Proof. By Theorem 5, . Hence . Suppose that and c is a locating coloring of and is the partition of into color classes resulting from c. Then, for all i, otherwise there exists j such that and hence has two adjacent vertices. Thus, for all i. Now, let and for . Set and . Clearly, and for . Since and , there exists for some . However, for any . Thus, for all and hence , a contradiction. By using Theorem 6, we have . □
Theorem 7. If , and , then .
Proof. From Theorem 5, . Hence, . Assume that . Let c be a locating coloring of and be the partition of into color classes resulting from c such that . Since for all i, we have and . Let and for . Set , and where . Then, for all and for all , while for all . Now, note that , for all , for all .
Since , there exist t vertices of S belong to and all other vertices of S belong to . Thus, we have the following cases:
- (1)
If , then .
- (2)
If and , where or . Then, for all and . However, , which gives and , which gives , while . Thus, whenever or and . Thus, .
- (3)
If , where , and where . Then, for all and . Thus, whenever or and Then, .
Therefore, . By Theorem 6, we get . □