Next Article in Journal
Incremental Granular Model Improvement Using Particle Swarm Optimization
Previous Article in Journal
Nonlinear Management of Topological Solitons in a Spin-Orbit-Coupled System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Locating Chromatic Number of Powers of Paths and Cycles

Department of Mathematics, School of Science, The University of Jordan, Amman 11942, Jordan
*
Author to whom correspondence should be addressed.
Symmetry 2019, 11(3), 389; https://doi.org/10.3390/sym11030389
Submission received: 25 January 2019 / Revised: 28 February 2019 / Accepted: 1 March 2019 / Published: 18 March 2019

Abstract

:
Let c be a proper k-coloring of a graph G. Let π = { R 1 , R 2 , , R k } be the partition of V ( G ) induced by c, where R i is the partition class receiving color i. The color code c π ( v ) of a vertex v of G is the ordered k-tuple ( d ( v , R 1 ) , d ( v , R 2 ) , , d ( v , R k ) ) , where d ( v , R i ) is the minimum distance from v to each other vertex u R i for 1 i k . If all vertices of G have distinct color codes, then c is called a locating k-coloring of G. The locating-chromatic number of G, denoted by χ L ( G ) , is the smallest k such that G admits a locating coloring with k colors. In this paper, we give a characterization of the locating chromatic number of powers of paths. In addition, we find sharp upper and lower bounds for the locating chromatic number of powers of cycles.

1. Introduction

All graphs considered in this paper are simple connected graphs. The m-th power graph, G m , of a graph G is the graph whose vertex set is V ( G ) 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 π = { R 1 , R 2 , , R k } be an ordered partition of V ( G ) of the resulting color classes. For any vertex v of G, the color code of v with respect to π , c π ( v ) , is defined as the ordered k-tuple ( d ( v , R 1 ) , d ( v , R 2 ) , , d ( v , R k ) ) , where d ( v , R i ) is the minimum distance from v to each other vertex u R i for 1 i k . If distinct vertices of G have distinct color codes, then we call c a locating coloring of G. The locating chromatic number of G, χ L ( 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 n 3 vertices, χ L ( G ) = n if and only if G is a complete multi-partite graph. Hence, the locating chromatic number of the complete graph K n is n. In addition, for paths and cycles of order n 3 , they proved that χ L ( P n ) = 3 , χ L ( C n ) = 3 when n is odd, and χ L ( C n ) = 4 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 G ( D ) with distance set D = { d 1 , d 2 , } N is a graph with vertex set { x i : i Z } , and edge set { x i x j : | i j | D } . The circulant graph can be defined as follows. Let n , r be two positive integers and let S = { k 1 , k 2 , , k r } with { k 1 < k 2 < < k r n 2 } . Then, the vertex set of the circulant graph G ( n ; S ) is { x 1 , x 2 , , x n } and the set of edges is { x i x j : i j ± k l mod n , for some k l S } . 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 G ( D ) with finite distance set D = { 1 , 2 , , m } is isomorphic to the m-th power graph of a path and the circulant graph G ( n ; S ) with S = { 1 , 2 , , m } 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 G ( n ; S ) for any finite set S.

2. Locating Chromatic Number of Powers of Paths

Let P n denote the path of order n with vertex set V ( P n ) = { x 1 , x 2 , , x n } and edge set E ( P n ) = { x i x i + 1 : i = 1 , 2 , , n } . Then, the m-th power graph of P n , P n m , is the graph with the the same vertex set of P n and the edge set { x i x j : 1 | i j | m } .
In this section, we determine the locating chromatic number of the m-th power of the path P n , P n m , where m n 1 .
To clarify the proof of the next theorem, we give the following example.
Example 1.
Let P 9 be the path of length 9 with vertex set V ( P 9 ) = { x 1 , x 2 , , x 9 } and edge set E ( P 9 ) = { x i x i + 1 : i = 1 , 2 , , 8 } . Then, the induced subgraph of P 9 3 by the vertices x 1 , x 2 , x 3 and x 4 form a clique. Thus, χ ( P 9 3 ) 4 . Now, define the function k : V ( P 9 3 ) { 1 , 2 , 3 , 4 } as follows:
k ( x i ) = 1 , if i = 1 , 5 , 9 ; 2 , if i = 2 , 6 ; 3 , if i = 3 , 7 ; 4 , if i = 4 , 8 .
Clearly, k is a coloring of P 9 3 , and hence χ ( P 9 3 ) = 4 . Since χ ( P 9 3 ) χ L ( P 9 3 ) , we have χ L ( P 9 3 ) 4 . If χ L ( P 9 3 ) = 4 , then x 1 and x 5 share the same color in P 9 3 since they are both adjacent to the vertices x 2 , x 3 , and x 4 that have different colors. Therefore, x 1 and x 5 have the same coding color, a contradiction. Thus, χ L ( P 9 3 ) 5 . Now, define the coloring function c : V ( P 9 3 ) { 1 , 2 , 3 , 4 , 5 } by
c ( x i ) = 1 , if i = 1 ; 2 , if i = 2 , 6 ; 3 , if i = 3 , 7 ; 4 , if i = 4 , 8 ; 5 , if i = 5 , 9 .
Then, π = { R 1 = { x 1 } , R 2 = { x 2 , x 6 } , R 3 = { x 3 , x 7 } , R 4 = { x 4 , x 8 } , R 5 = { x 5 , x 9 } } is the partition of V ( P 9 3 ) with respect to c. Since the color code of any vertex x i with respect to the partition π is c π ( x i ) = ( d ( x i , R 1 ) , d ( x i , R 2 ) , , d ( x i , R 5 ) ) , we get, c π ( x 1 ) = ( 0 , 1 , 1 , 1 , 2 ) , c π ( x 2 ) = ( 1 , 0 , 1 , 1 , 1 ) , c π ( x 3 ) = ( 1 , 1 , 0 , 1 , 1 ) , c π ( x 4 ) = ( 1 , 1 , 1 , 0 , 1 ) , c π ( x 5 ) = ( 2 , 1 , 1 , 1 , 0 ) , c π ( x 6 ) = ( 2 , 0 , 1 , 1 , 1 ) , c π ( x 7 ) = ( 2 , 1 , 0 , 1 , 1 ) , c π ( x 8 ) = ( 3 , 1 , 1 , 0 , 1 ) , and c π ( x 9 ) = ( 3 , 1 , 1 , 1 , 0 ) . Thus, χ L ( P 9 3 ) = 5 .
Theorem 1.
Let P n be the path of order n and P n m be the m-th power of P n . Then,
χ L ( P n m ) = n , if m = n 1 ; m + 2 , if m < n 1 .
Proof. 
Clearly, when n = m + 1 , then P n m is a complete graph of order n, and thus χ ( P n m ) = n . But χ ( P n m ) χ L ( P n m ) n , so χ L ( P n m ) = n . Now, let n m + 2 and x 1 , x 2 , , x n be the vertices of P n such that x i x i + 1 E ( P n ) for all i = 1 , 2 , , n 1 . Then, the vertices x 1 , x 2 , , x m + 1 induce a clique in the graph P n m and thus each of these vertices should have a different color. Now, if χ L ( P n m ) = m + 1 , then there exists a coloring function c : V ( P n m ) { 1 , 2 , , m + 1 } such that c π ( x i ) c π ( x j ) when i j . Since x 1 and x m + 2 are both adjacent to the vertices x 2 , , x m , x m + 1 , they must have the same color and hence they share the same color code, a contradiction. Thus, χ L ( P n m ) m + 2 , whenever n m + 2 . Now, define the coloring function c : V ( P n m ) { 1 , 2 , , m + 2 } such that
c ( x i ) = 1 , if i = 1 ; j , if i j mod ( m + 1 ) ; where j { 2 , 3 , , m + 1 , m + 2 } and i 1 .
Then, π = { R 1 , R 2 , , R m + 2 } is a partition of V ( P n m ) , where R i is the set of vertices receiving color i. Note that, for k 1 , the induced subgraph with vertex set { x k + 1 , x k + 2 , , x k + m + 1 } is a clique colored by the m + 1 distinct colors 2 , 3 , , m + 2 . Henceforth,
d ( x i , R j ) = 0 , if c ( x i ) = c ( x j ) ; 1 , if c ( x i ) c ( x j ) and i , j 1 or i = 1 and 2 j m + 1 .
Moreover,
d ( x i , R 1 ) = d ( x i , x 1 ) = 0 , if i = 1 ; k + 1 , if 2 + k m i 1 + ( k + 1 ) m .
Since the induced subgraph with vertex set { x i : 2 + k m i 1 + ( k + 1 ) m } form a clique, we have d ( x i , R 1 ) d ( x j , R 1 ) when c ( x i ) = c ( x j ) . Therefore, c π ( x i ) c π ( x j ) when i j . Thus, χ L ( P n m ) = m + 2 whenever n m + 2 . □

3. Locating Chromatic Number of Powers of Cycles

Let C n be the cycle of order n with the vertex set { x 1 , x 2 , , x n } and edge set { x i x i + 1 : 1 i n 1 } { x n x 1 } . For positive integers n and m, we denote by C n m the graph with the same vertex set of C n and edge set { x i x j : i j ± k ( mod n ) , 1 k m } . The graph C n m is the m-th power of the n -cycle C n . Let G be a graph with vertex set V ( G ) and edge set E ( G ) . For any vertex v V ( G ) , the open neighborhood of v, denoted by N ( v ) , is defined by N ( v ) = { u V ( G ) u v E ( G ) } .
In this section, we give an upper and a lower bound for the locating chromatic number of the m-th power of the cycle C n , 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 d ( u , w ) = d ( v , w ) for all w v ( G ) { u , v } , then c ( u ) c ( v ) . In particular, if u and v are non-adjacent vertices of G such that N ( u ) = N ( v ) , then c ( u ) c ( v ) .
Theorem 2.
Let C n be a cycle of order n. Then, χ L ( C n m ) = n for all n 2 m + 2 .
Proof. 
Since C n m is a complete graph for any n 2 m + 1 , we have χ L ( C n m ) = n . If n = 2 m + 2 , then V ( C n m ) = { x 1 , x 2 , , x n } and E ( C n m ) = { x i x j : i j ± k ( mod n ) , 1 k m } . Clearly, x 1 x i E ( C n m ) , i m + 2 and d ( x i , x 1 ) = d ( x i , x m + 2 ) for all i 1 , m + 2 . Using Lemma 1, we get c ( x 1 ) c ( x i ) for all i 2 . Similarly, x 2 , x 3 , , x 2 m + 2 have different colors, so χ L ( C n m ) = n . □
Now, we give an upper bound for χ L ( C n m ) .
Theorem 3.
Let C n be a cycle of order n 2 m + 3 . Then, χ L ( C n m ) m + 3 .
Proof. 
Clearly, χ L ( C n m ) > m + 1 . Now, assume that χ L ( C n m ) = m + 2 . Then, there exists c : V ( C n ) { 1 , 2 , , m + 2 } such that c π ( x i ) = c π ( x j ) if and only if x i = x j . Let π = { R 1 , R 2 , , R m + 2 } be the partition of V ( C n ) , where c ( x i ) = j for all x i R j and let | R 1 | | R 2 | | R m + 2 | . Let V ( C n m ) = { x 1 , x 2 , , x n } and E ( C n m ) = { x i x j : i j ± k ( mod n ) , 1 k m } . Then, | R 1 | 1 , otherwise R 1 = { x a } and hence there exist u { x a m , x a m + 1 , , x a 2 , x a 1 } and v { x a + 1 , x a + 2 } that have the same color. Since { x a m 1 , x a m , , x a 2 , x a 1 } and { x a + 1 , x a + 2 , , x a + m } are subsets of N C n m ( x a ) and each one of them induce a complete subgraph of C n m , we have c π ( u ) = c π ( v ) , a contradiction. Thus, we have two cases:
Case 1: 2 | R 1 | < | R m + 2 | .
Then, there exist x s , x t R 1 where s < t such that x i R 1 , for all s < i < t and the number of vertices between x s and x t is greater than m + 1 . Thus, there exists u { x s + 1 , x s + 2 , , x s + m + 2 } such that c ( u ) = c ( x t 1 ) . Thus, c π ( u ) = c π ( x t 1 ) , a contradiction.
Case 2: 2 | R 1 | = | R 2 | = = | R m + 2 | .
Assume that x s , x t R i such that s < t , x j R i for all s < j < t and the number of vertices between x s and x t greater than m + 1 , then as in Case 1 we have a contradiction. Now, let the number of vertices between x s and x t in R i is m + 1 for all i. Then, c is not a locating coloring. □
In the following lemma, we will show that m + 3 is a sharp upper bound for χ L ( C n m ) .
Lemma 2.
Suppose that C n is a cycle of order n 2 m + 3 and n = q ( m + 1 ) or q ( m + 1 ) + 1 where q is a positive integer. Then, χ L ( C n m ) = m + 3 .
Proof. 
Let V ( C n m ) = { x 1 , x 2 , , x n } and E ( C n m ) = { x i x j : i j ± k ( mod n ) , 1 k m } . Define
R 1 = { x 1 } , R 2 = { x 2 , x 2 + ( m + 1 ) , x 2 + 2 ( m + 1 ) , , x q ( m + 1 ) ( m 1 ) } ,
R 3 = { x 3 , x 3 + ( m + 1 ) , x 3 + 2 ( m + 1 ) , , x q ( m + 1 ) ( m 2 ) } , ,
R m = { x m , x m + ( m + 1 ) , x m + 2 ( m + 1 ) , , x q ( m + 1 ) 1 } , R m + 1 = { x m + 1 } ,
R m + 2 = { x 1 + ( m + 1 ) , x 1 + 2 ( m + 1 ) , , x q ( m + 1 ) m } when n = q ( m + 1 ) ,
R m + 2 = { x 1 + ( m + 1 ) , x 1 + 2 ( m + 1 ) , , x q ( m + 1 ) + 1 } when n = q ( m + 1 ) + 1 ,
R m + 3 = { x 2 ( m + 1 ) , x 3 ( m + 1 ) , , x q ( m + 1 ) } .
Then, d ( u , x 1 ) d ( v , x 1 ) whenever { u , v } R i { x 2 , x 3 , , x n 2 } , or { u , v } R i { x n 2 , x n 2 + 1 , , x n } . In addition, d ( u , x 1 ) d ( v , x 1 ) or d ( u , x m + 1 ) d ( v , x m + 1 ) for any u R i { x 2 , x 3 , , x n 2 } , v R i { x n 2 , x n 2 + 1 , x n 2 + 2 , , x n } . Now, set π = { R i : i = 1 , , m + 3 } and define c : V ( C n m ) { 1 , 2 , , m + 3 } by c ( x i ) = j for any x i R j . Then, for any u , v V ( C n m ) , c π ( u ) c π ( v ) . □
Now, we give exact values of the locating chromatic number of certain powers of cycles (for m = 2 and m = 3 , when n 0 , 1 or 2 mod 4).
Lemma 3.
(i) 
If n 7 , then χ L ( C n 2 ) = 5 .
(ii) 
If n 9 , then χ L ( C n 3 ) = 6 when n { 4 q , 4 q + 1 , 4 q + 2 } , and 6 χ L ( C n 3 ) 7 when n = 4 q .
Proof. 
(i)
In view of Theorem 3 and Lemma 2, it is enough to show that χ L ( C 3 q + 2 2 ) 5 . Assume that n = 3 q + 2 , then π = { R 1 = { x 1 } , R 2 = { x 5 , x 8 , , x 3 q + 2 } , R 3 = { x 3 } , R 4 = { x 4 , x 7 , , x 3 q + 1 } , R 5 = { x 2 , x 6 , x 9 , , x 3 q } } is a partition of V ( C n 2 ) . Now, define c : V ( C n 2 ) { 1 , 2 , 3 , 4 , 5 } by c ( x i ) = j for any x i R j . Then, it is easy to show that c π ( u ) c π ( v ) for any u , v V ( C n 2 ) .
(ii)
Let π 1 = { R 1 = { x 1 } , R 2 = { x 6 , x 10 , , x 4 q + 2 } , R 3 = { x 3 , x 7 , , x 4 q 1 } , R 4 = { x 4 } , R 5 = { x 5 , x 9 , , x 4 q + 1 } , R 6 = { x 2 , x 8 , x 12 , x 4 q } } , and π 2 = π 1 R 7 , R 7 = { x 4 q + 3 } . Then, π k is a partition of V ( C 4 q + 1 + k 3 ) for k = 1 , 2 . Now, let c : V ( C 4 q + 1 + k 3 ) { 1 , 2 , , 5 + k } defined by c ( x i ) = j for any x i R j . Clearly, for any u , v V ( C 4 q + 1 + k 3 ) , c π k ( u ) c π k ( v ) for k = 1 , 2 .
 □
In the following lemma, upper and lower bounds for some, χ L ( C n m ) , of a certain n are given.
Lemma 4.
(i) 
Let m = 2 t 4 and n = q ( m + 1 ¯ ) + t , q 2 . Then, m + 3 χ L ( C n m ) m + t + 1 .
(ii) 
Let m = 2 t 1 5 and n = q ( m + 1 ) + ( t 1 ) , q 2 . Then, m + 3 χ L ( C n m ) m + t .
Proof. 
(i)
Assume that m = 2 t and n = q ( m + 1 ) + t , q 2 . Notice that the length of the path x q ( m + 1 ) t x q ( m + 1 ) ( t 1 ) x q ( m + 1 ) + t x 1 x t is m + t and the length of the path x q ( m + 1 ) x q ( m + 1 ) + 1 x q ( m + 1 ) + t x 1 x t + 1 is m + 1 , while the length of the path x q ( m + 1 ) ( t i + 1 ) x q ( m + 1 ) ( t i ) x q ( m + 1 ) + t x 1 x t + i is m + t + 1 for 2 i t Thus, d ( x t , x q ( m + 1 ) t ) = d ( x t + 1 , x q ( m + 1 ) ) = d ( x t + i , x q ( m + 1 ) ( t i + 1 ) ) = 2 . Now, let R 1 = { x 1 } , R 2 = { x 2 } , , R t 1 = { x t 1 } , R t = { x t , x ( t + 1 ) + ( m + 1 ) , x ( t + 1 ) + 2 ( m + 1 ) , , x q ( m + 1 ) t } , R t + 1 = { x t + 1 , x 2 ( m + 1 ) , x 3 ( m + 1 ) , , x q ( m + 1 ) } , R t + i = { x t + i , x ( t + i ) + ( m + 1 ) , x ( t + i ) + 2 ( m + 1 ) , , x q ( m + 1 ) ( t i + 1 ) } , 2 i t , R m + 1 = { x m + 1 } , R m + i = { x m + i , x ( m + i ) + ( m + 1 ) , x ( m + i ) + 2 ( m + 1 ) , , x q ( m + 1 ) + ( i 1 ) } , 2 i t + 1 . Then, π = { R i : i = 1 , 2 , , m + t + 1 } is a partition of V ( C n m ) and c : V ( C n m ) { 1 , 2 , , m + t + 1 } defined by c ( x i ) = j for any x i R j is a locating coloring of C n m . By using Theorem 3, we obtain m + 3 χ L ( C n m ) m + t + 1 .
(ii)
Assume that m = 2 t 1 and n = q ( m + 1 ) + ( t 1 ) , q 2 . Then, d ( x t 1 , x q ( m + 1 ) t ) = d ( x t , x q ( m + 1 ) ( t 1 ) ) = d ( x t + 1 , x q ( m + 1 ) ) = d ( x t + i , x q ( m + 1 ) ( t i ) ) = 2 for all 2 i t 1 . Set R 1 = { x 1 } , R 2 = { x 2 } , , R t 2 = { x t 2 } , R t 1 = { x t 1 , x t + ( m + 1 ) , x t + 2 ( m + 1 ) , , x q ( m + 1 ) t } , R t = { x t , x ( t + 1 ) + ( m + 1 ) , x ( t + 1 ) + 2 ( m + 1 ) , , x q ( m + 1 ) ( t 1 ) } , R t + 1 = { x t + 1 , x 2 ( m + 1 ) , x 3 ( m + 1 ) , , x q ( m + 1 ) } , R t + i = { x t + i , x ( t + i ) + ( m + 1 ) , x ( t + i ) + 2 ( m + 1 ) , , x q ( m + 1 ) ( t i ) } , 2 i t 1 , R m + 1 = { x m + 1 } , R m + i = { x m + i , x ( m + i ) + ( m + 1 ) , x ( m + i ) + 2 ( m + 1 ) , , x q ( m + 1 ) + ( i 1 ) } , 2 i t . Then, π = { R i : i = 1 , , m + t } is a partition of V ( C n m ) and c : V ( C n m ) { 1 , 2 , , m + t } defined by c ( x i ) = j for any x i R j is a locating coloring of C n m .
 □
In the following two lemmas, we give an upper bound for χ L ( C n m ) whenever m 4 .
Lemma 5.
Let m = 2 t 4 and n 2 m + 3 . Then,
χ L ( C n m ) m + 4 , if n 2 mod ( m + 1 ) ; m + 5 , if n 3 mod ( m + 1 ) ; : m + t + 1 , if n t 1 , t mod ( m + 1 ) m + t + 2 , if n t + i mod ( m + 1 ) for 1 i t .
Proof. 
(1)
For n = q ( m + 1 ) + 2 , let R 1 = { x 1 } , R 2 = { x 2 , x 2 + ( m + 1 ) , , x q ( m + 1 ) ( m 1 ) } , R 3 = { x 3 , x 3 + ( m + 1 ) , , x q ( m + 1 ) ( m 2 ) } , , R m = { x m , x m + ( m + 1 ) , , x q ( m + 1 ) 1 } , R m + 1 = { x m + 1 } , R m + 2 = { x 1 + ( m + 1 ) , x 1 + 2 ( m + 1 ) , , x q ( m + 1 ) + 1 } , R m + 3 = { x 2 ( m + 1 ) , x 3 ( m + 1 ) , , x q ( m + 1 ) } , R m + 4 = { x q ( m + 1 ) + 2 } . Then, π = { R i : i = 1 , 2 , m + 4 } is a partition of V ( C n m ) and c : V ( C n m ) { 1 , 2 , , m + t } defined by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(2)
For n = q ( m + 1 ) + i , where 3 i < t let R 1 , R 2 , , R m + 4 similar to the case n = q ( m + 1 ) + 2 . Set R m + j = { x ( m + 1 ) q + ( j 2 ) } , 5 j i + 2 . Then, π = { R i : i = 1 , 2 , m + i + 2 } is a partition of V ( C n m ) and c : V ( C n m ) { 1 , 2 , , m + i + 2 } given by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(3)
By part (i) of Lemma 4, χ L ( C n m ) m + t + 1 when n = q ( m + 1 ) + t , q 2 .
(4)
For n = q ( m + 1 ) + ( t + 1 ) , take R 1 , R 2 , , R m + t + 1 similar to the case n = q ( m + 1 ) + ( t 1 ) except R t + 1 and R m + 3 . Let R t + 1 = { x t + 1 + ( m + 1 ) , x t + 1 + 2 ( m + 1 ) , , x t + 1 + q ( m + 1 ) } , R m + 3 = { x t + 1 , x 2 ( m + 1 ) , x 3 ( m + 1 ) , , x q ( m + 1 ) } , and R m + t + 2 = { x t + q ( m + 1 ) } . This implies that π = { R i : i = 1 , 2 , m + i + 2 } is a partition of V ( C n m ) and c : V ( C n m ) { 1 , 2 , , m + t } defined by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(5)
For n = q ( m + 1 ) + ( t + i ) where 2 i t , take R 1 , R 2 , , R m + t + 2 similar to the case n = q ( m + 1 ) + ( t + 1 ) except R t + j and R m + j + 2 , where 2 j i . Set R t + j = { x ( t + j ) + ( m + 1 ) , x ( t + j ) + 2 ( m + 1 ) , , x ( t + j ) + q ( m + 1 ) } , and R m + j + 2 = { x q ( m + 1 ) + j , x t + j } . Note that d ( x q ( m + 1 ) + j , x t + j ) = 2 , d ( x t + j , x m + 1 ) = 1 and d ( x q ( m + 1 ) + j , x m + 1 ) = 2 . Then, it is easy to show that the function c : V ( C n m ) { 1 , 2 , , m + t + 2 } defined by c ( x i ) = j for any x i R j is a locating coloring of C n m .
 □
Lemma 6.
Let m = 2 t 1 5 and n 2 m + 3 . Then,
χ L ( C n m ) m + 4 , if n 2 mod ( m + 1 ) ; m + 5 , if n 3 mod ( m + 1 ) ; : m + t , if n ( t 2 ) or ( t 1 ) mod ( m + 1 ) ; m + t + 1 , if n ( t + i ) mod ( m + 1 ) for 0 i m 1 ; m + t + 2 , if n m mod ( m + 1 ) .
Proof. 
(1)
If n = q ( m + 1 ) + 2 , define R 1 = { x 1 } , R 2 = { x 2 , x 2 + ( m + 1 ) , x 2 + 2 ( m + 1 ) , , x q ( m + 1 ) ( m 1 ) } , R 3 = { x 3 , x 3 + ( m + 1 ) , , x q ( m + 1 ) ( m 2 ) } , , R m = { x m , x m + ( m + 1 ) , , x q ( m + 1 ) 1 } , R m + 1 = { x m + 1 } , R m + 2 = { x 1 + ( m + 1 ) , x 1 + 2 ( m + 1 ) , , x 1 + q ( ( m + 1 ) } , R m + 3 = { x 2 ( m + 1 ) , x 3 ( m + 1 ) , , x q ( m + 1 ) } , R m + 4 = { x q ( m + 1 ) + 2 } . Clearly, π = { R i : i = 1 , 2 , , m + 4 } is a partition of V ( C n m + 1 ) and the function c : V ( C n m ) { 1 , 2 , , m + 4 } given by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(2)
If n = q ( m + 1 ) + i , where 3 i t 2 , take R 1 , R 2 , , R m + 4 similar to the case n = q ( m + 1 ) + 2 . Set R m + j = { x ( j 2 ) + q ( m + 1 ) } , 5 j i + 2 . Then, c : V ( C n m ) { 1 , 2 , , m + i + 2 } defined by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(3)
From part (ii) of Lemma 4, we conclude that χ L ( C n m ) m + t when n = q ( m + 1 ) + ( t 1 ) , q 2 .
(4)
If n = q ( m + 1 ) + t , take R 1 , R 2 , , R m + t similar to the case n = q ( m + 1 ) + ( t 2 ) except R t and R m + 3 . Set R t = { x t + ( m + 1 ) , x t + 2 ( m + 1 ) , , x t + q ( m + 1 ) } and R m + 3 = { x t , x 2 ( m + 1 ) , , x q ( m + 1 ) } . Then, π = { R i : i = 1 , 2 , , m + t } R m + t + 1 , where R m + t + 1 = { x ( t 1 ) + q ( m + 1 ) } is a partition of V ( C n m ) . Notice that d ( t , q ( m + 1 ) ) = 2 , d ( t , m + 1 ) = 1 and d ( q ( m + 1 ) , m + 1 ) = 2 . Thus, the function c : V ( C n m ) { 1 , 2 , , m + t + 1 } given by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(5)
If n = q ( m + 1 ) + ( t + i ) , where 1 i t 2 , define R 1 , R 2 , , R m + t + 1 similar to the case n = q ( m + 1 ) + t except R t + j and R m + 3 + j , where 1 j i . Set R t + j = { x ( t + j ) + ( m + 1 ) , x ( t + j ) + 2 ( m + 1 ) , , x q ( m + 1 ) + ( t + j ) } and R m + j + 3 = { x t + j , x ( t + j ) + q ( m + 1 ) } . Then, it is easy to show that c : V ( C n m ) { 1 , 2 , , m + t + 1 } given by c ( x i ) = j for any x i R j is a locating coloring of C n m .
(6)
If n = q ( m + 1 ) + m , take R 1 , R 2 , , R m + t + 1 similar to the case n = q ( m + 1 ) + ( m 1 ) . Then, π = { R i : i = 1 , 2 , , m + t + 1 } R m + t + 2 , where R m + t + 2 = { x q ( m + 1 ) + m } is a partition of V ( C n m + 1 ) and the function c : V ( C n m ) { 1 , 2 , , m + t + 2 } given by c ( x i ) = j for any x i R j is a locating coloring of C n m .
 □
As a consequence of Lemmas 3, 4, 5 and 6, we have the following.
Theorem 4.
If m = 2 t 4 or m = 2 t 1 5 , then m + 3 χ L ( C n m ) m + t + 2 .
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 n 2 m . If n = q ( m + 1 ) + r , q > 0 and 0 r m , then χ ( C n m ) = m + 1 + r q .
The following two theorems give the exact values of χ L ( C n m ) , which illustrate the sharpness of the upper bounds in Theorem 4.
Theorem 6.
If m = 2 t 4 , and n = 2 ( m + 1 ) + m , then χ L ( C n m ) = m + t + 2 .
Proof. 
By Theorem 5, χ ( C n m ) = m + t + 1 . Hence χ L ( C n m ) m + t + 1 . Suppose that χ L ( C n m ) = m + t + 1 and c is a locating coloring of C n m and π = { R i : i = 1 , , m + t + 1 } is the partition of V ( C n m ) into color classes resulting from c. Then, | R i | 2 for all i, otherwise there exists j such that | R j | 3 and hence R j has two adjacent vertices. Thus, | R i | = 2 for all i. Now, let V ( C n m ) = { x 1 , x 2 , , x n } and x i R i for i = 1 , 2 , , m + 1 . Set T = { x m + 2 , x m + 3 , , x 2 m + 1 } and S = { x 2 m + 3 , x 2 m + 4 , , x n } . Clearly, T R i ϕ and S R i ϕ for m + 2 i m + t + 1 . Since | R m + 1 | = 2 and T i m + 1 R i , there exists x j R m + 1 for some j { 2 m + 2 } S . However, N ( x j ) R i ϕ for any i m + 1 . Thus, d ( x j , x i ) = 1 for all i m + 1 and hence c π ( x j ) = c π ( x m + 1 ) , a contradiction. By using Theorem 6, we have χ L ( C n m ) = m + t + 2 . □
Theorem 7.
If m = 2 t 1 3 , and n = 2 ( m + 1 ) + m , then χ L ( C n m ) = m + t + 2 .
Proof. 
From Theorem 5, χ ( C n m ) = m + t + 1 . Hence, χ L ( C n m ) m + t + 1 . Assume that χ L ( C n m ) = m + t + 1 . Let c be a locating coloring of C n m and π = { R i : i = 1 , , m + t + 1 } be the partition of V ( C n m ) into color classes resulting from c such that | R 1 | | R 2 | | R m + t + 1 | . Since | R i | 2 for all i, we have | R 1 | = 1 and | R i | = 2 , i 2 . Let V ( C n m ) = { x 1 , x 2 , , x n } and x i R i for i = 1 , 2 , , m + 2 . Set T = { x m + 3 , x m + 4 , , x 2 m + 1 } , S = { x 2 m + 3 , x 2 m + 4 , , x n } and S k = S { x 2 m + 2 , x 2 m + 1 , , x 2 m k + 3 } , where 1 k t . Then, T R i ϕ for all i m + 3 and S R i ϕ for all i m + 2 , while S k R i ϕ for all i m k + 2 . Now, note that N ( x m + 1 ) = T ( { x 1 , x 2 , , x m + 2 } { x m + 1 } ) , N ( x m k ) = ( T { x 2 m + 1 , x 2 m , , x ( 2 m + 1 ) k } ) ( { x n k , x n k + 1 , , x n , x 1 , x 2 , , x m + 2 } { x m k } ) for all 0 k m 2 , N ( x n k ) = ( S k + 1 { x n k } ) { x 1 , x 2 , , x m k } for all 0 k t .
Since S R i ϕ , i m + 2 , there exist t vertices of S belong to i = m + 2 m + t + 1 R i and all other vertices of S belong to i = 2 m + 1 R i . Thus, we have the following cases:
(1)
If x n R m + 1 , then c π ( x n ) = c π ( x m + 1 ) .
(2)
If x n R l , l m + 2 and x n 1 R k , where k = m or m + 1 . Then, ( T { x 2 m + 1 } ) R i ϕ for all i m + 3 and i l . However, k = m , which gives N ( x k ) = ( { x n , x 1 , x 2 , , x m + 2 } { x m } ) ( T { x 2 m + 1 } ) and k = m + 1 , which gives N ( x k ) = ( { x 1 , x 2 , , x m + 2 } { x m + 1 } ) T , while N ( x n 1 ) = { x 1 , x 2 , , x m 1 } ( S 2 { x n 1 } ) . Thus, N ( x j ) R i ϕ whenever j = k , or n 1 and i k . Thus, c π ( x n 1 ) = c π ( x k ) .
(3)
If x n , x n 1 , , x n r + 1 j = 1 r R l j , where 2 r t 1 , l j m + 2 and x n r R k , where m r + 1 k m + 1 . Then, ( T { x 2 m + 1 , x 2 m , , x 2 m r + 2 } ) R i ϕ for all i m + 3 and i j = 1 r l j . Thus, N ( x j ) R i ϕ whenever j = k , or n r and i k Then, c π ( x n r ) = c π ( x k ) .
Therefore, χ L ( C n m ) m + t + 2 . By Theorem 6, we get χ L ( C n m ) = m + t + 2 . □

Author Contributions

The authors contributed equally.

Funding

This research received no external funding.

Acknowledgments

The authors would like to thank the referees for careful reading of the manuscript and for valuable comments and thoughtful suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chartrand, G.; Oellermann, O.R. Applied and Algorithmic Graph Theory; McGraw-Hill, Inc.: New York, NY, USA, 1998; pp. 157–168. [Google Scholar]
  2. Sudhakar, S.; Francis, S.; Balaji, V. Odd mean labeling for two star graph. Appl. Math. Nonlinear Sci. 2017, 2, 195–200. [Google Scholar] [CrossRef]
  3. Chartrand, G.; Erwin, D.; Henning, M.A.; Slater, P.J.; Zhang, P. The locating chromatic number of a graph. Bull. Inst. Combin. Appl. 2002, 36, 89–101. [Google Scholar]
  4. Chartrand, G.; Erwin, D.; Henning, M.A.; Slater, P.J.; Zhang, P. Graphs of order n with locating-chromatic number n − 1. Discr. Math. 2003, 269, 65–79. [Google Scholar] [CrossRef]
  5. Asmiati; Assiyatun, H.; Baskoro, E.T. Locating-chromatic number of amalgamation of stars. ITB J. Sci. 2011, 43A, 1–8. [Google Scholar]
  6. Welyyanti, D.; Baskoro, E.T.; Simanjuntak, R.; Uttunggadewa, S. On locating-chromatic number for graphs with dominant vertices. Procedia Comput. Sci. 2015, 74, 89–92. [Google Scholar] [CrossRef]
  7. Zhu, X. Pattern periodic coloring of distance graphs. J. Comb. Theory 1998, B73, 195–206. [Google Scholar] [CrossRef]
  8. Ruzsa, I.Z.; Tuza, Z.; Voigt, M. Distance Graphs with Finite Chromatic Number. J. Comb. Theory 2002, B85, 181–187. [Google Scholar] [CrossRef]
  9. Bermond, J.; Cormellas, F.; Hsu, D.F. Distributed loop computer networks: A survey. J. Parallel Distrib. Comput. 1995, 24, 2–10. [Google Scholar] [CrossRef]
  10. Boesch, F.; Tindell, R. Circulants and their connectivities. J. Graph Theory 1984, 8, 487–499. [Google Scholar] [CrossRef]
  11. Prowse, A.; Woodall, D. Choosability of powers of circuits. Graphs Combin. 2003, 19, 137–144. [Google Scholar] [CrossRef]

Share and Cite

MDPI and ACS Style

Ghanem, M.; Al-Ezeh, H.; Dabbour, A. Locating Chromatic Number of Powers of Paths and Cycles. Symmetry 2019, 11, 389. https://doi.org/10.3390/sym11030389

AMA Style

Ghanem M, Al-Ezeh H, Dabbour A. Locating Chromatic Number of Powers of Paths and Cycles. Symmetry. 2019; 11(3):389. https://doi.org/10.3390/sym11030389

Chicago/Turabian Style

Ghanem, Manal, Hasan Al-Ezeh, and Ala’a Dabbour. 2019. "Locating Chromatic Number of Powers of Paths and Cycles" Symmetry 11, no. 3: 389. https://doi.org/10.3390/sym11030389

APA Style

Ghanem, M., Al-Ezeh, H., & Dabbour, A. (2019). Locating Chromatic Number of Powers of Paths and Cycles. Symmetry, 11(3), 389. https://doi.org/10.3390/sym11030389

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

Article Metrics

Back to TopTop