Next Article in Journal
Efficient Video Steganalytic Feature Design by Exploiting Local Optimality and Lagrangian Cost Quotient
Next Article in Special Issue
The Ascending Ramsey Index of a Graph
Previous Article in Journal
A Method for Solving Time-Fractional Initial Boundary Value Problems of Variable Order
Previous Article in Special Issue
Modular Version of Edge Irregularity Strength for Fan and Wheel Graphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the P3 Coloring of Graphs

1
School of Computer Science, Chengdu University, Chengdu 610106, China
2
Key Laboratory of Pattern Recognition and Intelligent Information Processing of Sichuan, Chengdu University, Chengdu 610106, China
3
Department of Mathematics, COMSATS University Islamabad, Sahiwal 57000, Pakistan
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Symmetry 2023, 15(2), 521; https://doi.org/10.3390/sym15020521
Submission received: 4 January 2023 / Revised: 2 February 2023 / Accepted: 5 February 2023 / Published: 15 February 2023
(This article belongs to the Special Issue Labelings, Colorings and Distances in Graphs)

Abstract

:
The vertex coloring of graphs is a well-known coloring of graphs. In this coloring, all of the vertices are assigned colors in such a way that no two adjacent vertices have the same color. We can call this type of coloring P 2 coloring, where P 2 is a path graph. However, there are situations in which this type of coloring cannot give us the solution to the problem at hand. To answer such questions, in this article, we introduce a novel graph coloring called P 3 coloring. A graph is called P 3 -colorable if we can assign colors to the vertices of the graph such that the vertices of every P 3 path are distinct. The minimum number of colors required for a graph to have P 3 coloring is called the P 3 chromatic number. The aim of this article is, in general, to prove some basic results concerning this coloring, and, in particular, to compute the P 3 chromatic number for different symmetric families of graphs.

1. Introduction

The history of graph coloring started with a problem that was about the maps of some countries, such as the United States. A map was to be colored in such a way that any two countries with the same border could not be colored with the same color. In 1971, an article entitled “The Mathematics of Map Coloring” was published in the Journal of Recreational Mathematics by H.S.M. (Donald) Coxeter, who proved that a “minimum of four colors are required for the map of United States to color the common border states differently” (see [1]). Since then, graph coloring has progressed immensely. When we talk about graph theory and its applications, one of the most commonly used, studied, and applicable topics in graph theory is graph coloring (see [2]). Graph coloring has many applications in various fields of life, such as timetabling (see, for example, [3,4,5,6]), scheduling daily life activities, scheduling computer processes (see [7,8]), registering allocations to different institutions and libraries (see [6,9,10]), manufacturing tools (see [11]), printed circuit testing (see [12]), routing and wavelength assignment (see [6]), bag rationalization for a food manufacturer (see [13]), satellite range scheduling (see [14,15]), and frequency assignment (see [6,16]). These are some applications out of the many that already exist and many to come. In fact, coloring has inspired many other fields of graph theory.
Coloring theory is the theory of dividing sets with internally compatible conflicts, and there are many different types of graph coloring; the history of graph coloring is provided in a previous survey [2]. There are numerous conjectures about coloring problems that are still unsolved and are being researched by mathematicians and computer scientists internationally; some of these are noted in [17]. There are many research articles being published about graph coloring. There are two types of categories of such articles: One category gives different colors to a graph according to the rules of the topic of the article, and the other is about the colored structures of graphs whose coloring cannot be controlled. For further reading and a literature review about graph coloring, readers can refer to [18,19,20,21]. A historical review and some recent developments in graph coloring schemes are presented in [22,23,24].
One way to understand the coloring of the vertices of a graph G is that we can see it as a function f from the vertex set of G to positive integers such that if x y is an edge of G, then f ( x ) f ( y ) . In other words, we assign colors to the vertices of G in such a way that adjacent vertices have different colors. This is called graph coloring or, more precisely, the vertex coloring of a graph. The minimum number of colors required for coloring a graph is called its chromatic number. Thus, in a sense, one can say that the assignment of colors to the vertices of a graph is called graph coloring if the colors of the vertices of all P 2 paths in the graph are distinct; that is, instead of using the word “edge”, we can use the term “ P 2 path”.
Therefore, in this article, motivated by the above reasoning, we introduce the P 3 -labeling of graphs, and we will discuss this labeling for some very well-known families of graphs, such as path graphs, wheel graphs, cycle graphs, complete graphs, prism graphs, ladder graphs, and star graphs.
Definition 1. 
A P 3 coloring is a function f from the vertex set of G to the set of colors { c 1 , c 2 , c 3 , , c k } such that for every P 3 path on graph G, the colors of its vertices are distinct, that is, if x y z is a P 3 path on G, then f ( x ) f ( y ) f ( z ) f ( x ) . This is a natural generalization of P 2 coloring.
Definition 2. 
The minimum number of colors required for a graph G to have P 3 coloring is called the P 3 chromatic number, and it is denoted as χ 3 ( G ) .
Note that every P 3 coloring of a graph is also its P 2 coloring. Therefore, we have
χ ( G ) χ 3 ( G ) .
In addition, it is clear from the definition that for all graphs G,
χ 3 ( G ) 3 .

2. Motivation

To place more emphasis on the motivation for our introduction of this type of coloring, here, we will give an example in which we cannot apply P 2 coloring, but only P 3 coloring. In addition, much in the field of mathematics is produced by the curiosity of the minds of mathematicians when a question emerges while discussing something. In the field of computer science, there are graphs that are associated with bit strings. Suppose that we have a set S consisting of all bit strings of length n > 1 . Then, a hypercube graph, which is also known as a cube graph and denoted as Q n , is a graph consisting of the elements of S as vertices, and there is an edge between two strings if they differ at exactly one position. Now, if we want to assign different colors to the strings that are different by at most two positions (or someone challenges us to color the strings (vertices) of Q n in such a way that any two strings that differ by at most two positions have different colors), then what type of coloring will we use? Moreover, what is the minimum number of colors required to achieve this? It is very easy to see that we cannot use P 2 coloring here, and we have to apply P 3 coloring to find a possible solution. For example, in Figure 1, we can see that the usual P 2 coloring of Q 2 requires only two colors to color this graph, but for the above question, we cannot color it with two colors. For this purpose, we have to use P 3 coloring, which gives us the solution with four colors for Q 2 . For the case in which n 3 , χ 3 ( Q n ) is given in the section of this article on open questions.

3. Main Results

In this section, we present the main results of this article. Theorem 1, Lemma 1, and its corollaries give us the P 3 chromatic number of some general graphs. In Theorems 2–5, closed formulas are found for the P 3 chromatic number of path graphs, cycle graphs, prism graphs, and ladder graphs. The next theorem gives us the P 3 chromatic number of path graph.
Lemma 1. 
Let G be a simple graph on n vertices and assume that there is a vertex v V ( G ) such that v is adjacent to every vertex of G, then χ 3 ( G ) = n .
Proof. 
By contrast, suppose that χ P 3 ( G ) < n . This means that there are two vertices in G having the same color, e.g., x , y are those vertices. However, every two vertices of G are on some P 3 path having v as the middle vertex. Thus, we have a P 3 path x v y , and this path has the same color as that of its end vertices. This is a contradiction. Therefore, χ 3 ( G ) must be | V ( G ) | . □
The following corollaries directly result from the Lemma 1:
Corollary 1. 
Let K n be the complete graph then χ 3 ( K n ) = n for all n 3 ;
Corollary 2. 
Let W n be the wheel graph on n vertices, then χ 3 ( W n ) = n for all n 4 ;
Corollary 3. 
Let S n be the star graph on n vertices, then χ 3 ( S n ) = n for all n 3 .
The following Theorem 1 also follows from the above definition:
Theorem 1. 
Let G be a graph and H be a subgraph of G then χ 3 ( G ) χ 3 ( H ) ;
Theorem 2. 
Let P n be the path graph, then χ 3 ( P n ) = 3 for all n 3 ;
Proof. 
Let P n be a path graph on n vertices, where n 3 as shown in Figure 2.
To show that χ P 3 ( P n ) = 3 , first, we show that the path graph has P 3 coloring. For this purpose, we define a function from the set of vertices of P n to the set of colors { 0 , 1 , 2 } . Thus, lets define a function as follows:
f ( x i ) = 0 , if i 0 ( mod 3 ) ; 1 , if i 1 ( mod 3 ) ; 2 , if i 2 ( mod 3 ) .
To prove that f is indeed a P 3 coloring, we show that all P 3 paths in P n are of different colors. Let Q be a P 3 path in P n as depicted in Figure 3; then, there are three possible cases.
  • Case I: If j 0 ( mod 3 ) , then f ( x j ) = 0 , f ( x j + 1 ) = 1 , f ( x j + 2 ) = 2 ;
  • Case II: If j 1 ( mod 3 ) , then f ( x i + 1 ) = 1 , f ( x i + 2 ) = 2 , f ( x i + 3 ) = 0 ;
  • Case III: If j 2 ( mod 3 ) , then f ( x i + 2 ) = 2 , f ( x i + 3 ) = 0 , f ( x i + 4 ) = 1 .
Thus, from all of the above possible cases, we can see that all P 3 paths Q have different colors of its vertices under the labeling f. Thus, f is a P 3 coloring and by using Equation (2), we reach our conclusion that is c h i P 3 ( P n ) = 3 . □
Theorem 3. 
Let C n be the cycle graph and n 5 . Then, for all n 3
χ 3 ( C n ) = 3 , n 0 ( mod 3 ) ; 4 , n 2 ( mod 3 ) .
Proof. 
Let C n be the cycle graph on n vertices and n 3 . This proof consists of three cases on three different values of n under mod 3 .
  • Case I: Suppose that n 0 ( mod 3 ) . Let us define a function f on the vertices of C n as follows:
    f ( x i ) = 1 , if i 0 ( mod 3 ) ; 2 , if i 1 ( mod 3 ) ; 3 , if i 2 ( mod 3 ) ,
    where 1 i n 4 . Figure 4 represents the P 3 coloring of C 9 to explain this labeling. Let Q 1 : x i x i + 1 x i + 2 be an arbitrary P 3 path in C n , as shown in Figure 5, for 0 i n 1 .
    Then, there are three possible cases.
    (a). 
    From Figure 5, we have,
    if i 0 ( mod 3 ) , then f ( x i ) = 1 , f ( x i + 1 ) = 2 , f ( x i + 2 ) = 3 ;
    (b). 
    If i 1 ( mod 3 ) , then f ( x i ) = 2 , f ( x i + 1 ) = 3 , f ( x i + 2 ) = 1 ;
    (c). 
    If i 2 ( mod 3 ) , then f ( x i ) = 3 , f ( x i + 1 ) = 1 , f ( x i + 2 ) = 2 .
    Thus, from all of these cases, we can see that all P 3 paths have different colors of their vertices. Thus, f is a P 3 coloring, and the result follows.
  • Case II: Suppose that n 1 ( mod 3 ) . In this case, when we start a P 3 coloring of C n from any vertex, e.g., x 1 , to the last, e.g., x n , with at most three colors, then the last vertex x n cannot be assigned any color from the given three colors. Thus, we need at least four colors to have a P 3 coloring of this graph. For the reverse case, we define the P 3 -labeling function as follows:
    f ( x n ) = 1 , f ( x n 1 ) = 2 , f ( x n 2 ) = 3 , f ( x n 3 ) = 4 and for all 1 i n 4 we have
    f ( x i ) = 4 , if i 1 ( mod 3 ) ; 3 , if i 2 ( mod 3 ) ; 2 , if i 0 ( mod 3 ) .
    Figure 6 represents the P 3 coloring of C 10 to explain this labeling. Let Q 2 be an arbitrary path x i x i + 1 x i + 2 in C n ; then, there are four possible cases to discuss this labeling.
    (a). 
    If i 0 ( mod 3 ) , then f ( x i ) = 2 , f ( x i + 1 ) = 4 , f ( x i + 2 ) = 3 ;
    (b). 
    If i 1 ( mod 3 ) , then f ( x i ) = 4 , f ( x i + 1 ) = 3 , f ( x i + 2 ) = 2 ;
    (c). 
    If i 2 ( mod 3 ) , then f ( x i ) = 3 , f ( x i + 1 ) = 2 , f ( x i + 2 ) = 4 ;
    (d). 
    When the paths are of the forms x 1 x 2 x n , x 1 x n x n 1 , x n 2 x n 3 x n 4 and x n 3 x n 4 x n 5 ;
    (i) 
    For the path x 1 x 2 x n , we have the labeling f ( x 1 ) = 4 , f ( x 2 ) = 3 , f ( x n ) = 1 ;
    (ii) 
    For the path x 1 x n x n 1 , we have the labeling f ( x 1 ) = 4 , f ( x n ) = 1 , f ( x n 1 ) = 2 ;
    (iii) 
    For the path x n 2 x n 3 x n 4 , we have the labeling f ( x n 2 ) = 3 , f ( x n 3 ) = 4 , f ( x n 4 ) = 2 because n 1 ( mod 3 ) ;
    (iv) 
    For the path x n 3 x n 4 x n 5 , we have the labeling f ( x n 3 ) = 4 , f ( x n 4 ) = 2 , f ( x n 5 ) = 3 because n 1 ( mod 3 ) .
    Thus, from all of these cases, we can see that all P 3 paths have different colors of their vertices. Thus, f is indeed a P 3 coloring. This shows that χ P 3 ( C n ) 4 . This concludes the result.
  • Case III: When n 2 ( mod 3 ) . In this case, to start a P 3 coloring of C n from vertex x 1 to the last with at most three colors, the last two vertices x n 1 , x n cannot be assigned any color from the given three colors. Therefore, we need at least four colors to have P 3 coloring of this graph. For the reverse case, we will define P 3 labeling function as follows:
    f ( x 1 ) = 1 , f ( x 2 ) = 2 , f ( x 3 ) = 3 , f ( x 4 ) = 4 , f ( x n ) = 4 , f ( x n 1 ) = 3 , f ( x n 2 ) = 2 , f ( x n 3 ) = 1 , and for all 5 i n 4 , the function is defined by
    f ( x i ) = 2 , if i 2 ( mod 3 ) ; 3 , if i 0 ( mod 3 ) ; 4 , if i 1 ( mod 3 ) .
    To explain this labeling, Figure 7 shows a P 3 coloring of C 11 under f. Let Q 3 be any arbitrary P 3 path in C n ; then, we have the following cases to discuss for the assertion of P 3 coloring.
    (a). 
    If i 0 ( mod 3 ) and 5 i n 4 , then f ( x i ) = 3 , f ( x i + 1 ) = 4 , f ( x i + 2 ) = 2 ;
    (b). 
    If i 1 ( mod 3 ) and 5 i n 4 , then f ( x i ) = 4 , f ( x i + 1 ) = 2 , f ( x i + 2 ) = 3 ;
    (c). 
    If i 2 ( mod 3 ) and 5 i n 4 , then f ( x i ) = 2 , f ( x i + 1 ) = 3 , f ( x i + 2 ) = 4 ;
    (d). 
    For the following paths, we have different labeling:
    (i) 
    For path x 3 x 4 x 5 , we have the labeling f ( x 3 ) = 3 , f ( x 4 ) = 4 , f ( x 5 ) = 2 ;
    (ii) 
    For path x 4 x 5 x 6 , we have the labeling f ( x 4 ) = 4 , f ( x 5 ) = 2 , f ( x 6 ) = 3 ;
    (iii) 
    For path x n 2 x n 3 x n 4 , we have the labeling f ( x n 2 ) = 2 , f ( x n 3 ) = 1 , f ( x n 4 ) = 4 because n 2 ( mod 3 ) ;
    (iv) 
    For path x n 3 x n 4 x n 5 , we have the labeling f ( x n 3 ) = 1 , f ( x n 4 ) = 4 , f ( x n 5 ) = 3 because n 2 ( mod 3 ) .
    Therefore, from all of these cases, we can see that all P 3 paths have different colors of their vertices. Thus, f is a P 3 coloring and χ 3 ( C n ) 4 for all n 8 . Hence, the proof is completed.
Remark 1. 
The χ 3 ( C 5 ) = 5 , and it is very easy to see that we cannot have P 3 -coloring of C 5 with less than 5 colors.
Remark 2. 
Note that for χ 3 ( C n ) = 3 = χ 3 ( C n ) for n = 3 and χ 3 ( P n ) = 3 > 2 = χ ( P n ) this shows that for some graphs, the P 3 -chromatic number is equal to their chromatic number, and for some graphs, this relation is strict.
Theorem 4. 
Let G D n be the prism graph. Then
χ 3 ( D n ) = 4 , if n 0 ( mod 4 ) and n 4 ; 5 , if n 1 ( mod 4 ) and n 9 ; 5 , if n 2 ( mod 4 ) and n 10 ; 5 , if n 3 ( mod 4 ) and n 15 .
Proof. 
Let D n be the prism graph as depicted in Figure 8. We shall discuss the proof in four cases.
  • Case I. Assume that n 0 ( mod 4 ) and n 4 . Since C 4 is a subgraph of D n , then from Theorem 1, we have χ 3 ( D n ) 4 . To prove the reverse, we shall define a function g : V ( D n ) { 1 , 2 , 3 , 4 } as follows:
    g ( α i ) = 1 , if i 1 ( mod 4 ) , 1 i n ; 2 , if i 2 ( mod 4 ) , 1 i n ; 3 , if i 3 ( mod 4 ) , 1 i n ; 4 , if i 0 ( mod 4 ) , 1 i n .
    g ( β i ) = 3 , if i 1 ( mod 4 ) , 1 i n ; 4 , if i 2 ( mod 4 ) , 1 i n ; 1 , if i 3 ( mod 4 ) , 1 i n ; 2 , if i 0 ( mod 4 ) , 1 i n .
    We will show that f is a P 3 coloring. Let Q 1 be any arbitrary P 3 path in D n ; then, there are ten possible types of P 3 paths in D n , and they are as follows: The paths are α i α i + 1 a i + 2 , α i α i + 1 β i + 1 , α i β i β i + 1 , β i β i + 1 b i + 2 , β i α i α i + 1 , β i β i + 1 α i + 1 , α i + 1 α i + 2 β i + 2 , β i + 1 α i + 1 α i + 2 , α i + 2 β i + 2 β i + 1 and β i + 2 β i + 1 α i + 1 .
    (a). 
    For i 0 ( mod 4 ) , we have ten possibilities of the induced coloring of Q 1 from g as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 4 , g ( α i + 1 ) = 1 , g ( α i + 2 ) = 2 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 4 , g ( α i + 1 ) = 1 , g ( β i + 1 ) = 3 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 4 , g ( β i ) = 2 , g ( β i + 1 ) = 3 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 2 , g ( β i + 1 ) = 3 , g ( β i + 2 ) = 4 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 2 , g ( α i ) = 4 , g ( α i + 1 ) = 1 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 2 , g ( β i + 1 ) = 3 , g ( α i + 1 ) = 1 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 1 , g ( α i + 2 ) = 2 , g ( β i + 2 ) = 3 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 3 , g ( α i + 1 ) = 1 , g ( α i + 2 ) = 2 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 2 , g ( β i + 2 ) = 4 , g ( β i + 1 ) = 3 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 4 , g ( β i + 1 ) = 3 , g ( α i + 1 ) = 1 .
    (b). 
    For i 1 ( mod 4 ) , we have ten possibilities of the induced coloring of Q 1 from g as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 1 , g ( α i + 1 ) = 2 , g ( α i + 2 ) = 3 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 1 , g ( α i + 1 ) = 2 , g ( β i + 1 ) = 4 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 1 , g ( β i ) = 3 , g ( β i + 1 ) = 4 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 3 , g ( β i + 1 ) = 4 , g ( β i + 2 ) = 1 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 3 , g ( α i ) = 1 , g ( α i + 1 ) = 2 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 3 , g ( β i + 1 ) = 4 , g ( α i + 1 ) = 2 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 4 , g ( α i + 2 ) = 3 , g ( β i + 2 ) = 1 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 4 , g ( α i + 1 ) = 2 , g ( α i + 2 ) = 3 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 2 , g ( β i + 2 ) = 1 , g ( β i + 1 ) = 4 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 1 , g ( β i + 1 ) = 4 , g ( α i + 1 ) = 2 .
    (c). 
    For i 2 ( mod 4 ) , we again have ten possibilities of the induced coloring of Q 1 from g as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 2 , g ( α i + 1 ) = 3 , g ( α i + 2 ) = 4 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 2 , g ( α i + 1 ) = 3 , g ( β i + 1 ) = 1 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 2 , g ( β i ) = 4 , g ( β i + 1 ) = 1 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 4 , g ( β i + 1 ) = 1 , g ( β i + 2 ) = 2 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 4 , g ( α i ) = 2 , g ( α i + 1 ) = 3 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 4 , g ( β i + 1 ) = 1 , g ( α i + 1 ) = 3 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 3 , g ( α i + 2 ) = 4 , g ( β i + 2 ) = 2 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 1 , g ( α i + 1 ) = 3 , g ( α i + 2 ) = 4 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 4 , g ( β i + 2 ) = 2 , g ( β i + 1 ) = 1 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 2 , g ( β i + 1 ) = 1 , g ( α i + 1 ) = 3 .
    (d). 
    For i 3 ( mod 4 ) , we have ten possibilities of the induced coloring of Q 1 from g as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 3 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 3 , g ( α i + 1 ) = 4 , g ( β i + 1 ) = 2 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 3 , g ( β i ) = 1 , g ( β i + 1 ) = 2 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 1 , g ( β i + 1 ) = 2 , g ( β i + 2 ) = 3 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 1 , g ( α i ) = 3 , g ( α i + 1 ) = 4 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 1 , g ( β i + 1 ) = 3 , g ( α i + 1 ) = 4 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 , g ( β i + 2 ) = 3 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 1 , g ( β i + 2 ) = 3 , g ( β i + 1 ) = 2 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 3 , g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 .
    In all of these subcases, we can see that g is indeed a P 3 coloring. Therefore, the P 3 -chromatic number of prism graph D n is 4 for all n 4 and n 0 ( mod 4 ) .
  • Case II. Assume that n 1 ( mod 4 ) and n 9 . Note that in any P 3 coloring, if we color the vertices of the D n graph from a set of only four colors { a , b , c , d } , because graph C 4 is a subgraph of D n , then all of the vertices of every C 4 have different colors, as shown in Figure 9.
    Therefore, when we apply any P 3 coloring on D n , for any C 4 subgraph, its left and right adjacent C 4 ’s have the only possible P 3 coloring, as shown in Figure 10.
    Now, this process is continued until a P 3 -coloring with only four colors { a , b , c , d } is completed or produced. We define a C 4 to be correctly colored if all its vertices have different colors. Because n 0 ( mod 4 ) , and we have n number of C 4 s that covers D n , eventually, we will arrive at a situation displayed in Figure 11.
    Since n 1 ( mod 4 ) , from Figure 11, we can easily see that the remaining two C 4 s cannot be correctly colored with only four given colors. Thus, we have χ 3 ( D n ) 5 , and this shows that we need at least five colors to produce a P 3 coloring of D n . For the reverse case, let us define a function g from V ( D n ) to { 1 , 2 , 3 , 4 , 5 } as follows:
    g ( α i ) = i , if 1 i 5 ; 1 , if i 2 mod 4 , 6 i n ; 2 , if i 3 mod 4 , 6 i n ; 3 , if i 0 mod 4 , 6 i n ; 4 , if i 1 mod 4 , 6 i n ,
    g ( β 1 ) = 3 , g ( β 2 ) = 5 ,
    g ( β i ) = i 2 , if 3 i 7 ; 1 , if i 0 mod 4 , 8 i n ; 2 , if i 1 mod 4 , 8 i n ; 3 , if i 2 mod 4 , 8 i n ; 5 , if i 3 mod 4 , 8 i n .
    Let Q 2 be an arbitrary P 3 path; then, as before, there will be ten possible P 3 paths for any given i { 1 , 2 , n } . It is enough to discuss the following possible P 3 paths to prove that g is indeed a P 3 coloring: α i α i + 1 α i + 2 , α i α i + 1 β i + 1 , α i , β i , β i + 1 , β i β i + 1 β i + 2 , β i α i α i + 1 , β i β i + 1 α i + 1 , α i + 1 α i + 2 β i + 2 , β i + 1 α i + 1 α i + 2 , α i + 2 β i + 2 β i + 1 and the last one is β i + 2 β i + 1 α i + 1 , for all 9 i n 1 .
    It is clear from the above definition that the remaining paths satisfy the P 3 coloring, as depicted in Figure 12.
    Now, we will show that g is indeed P 3 coloring in four cases, which are discussed below.
    (a). 
    For i 0 ( mod 4 ) and 9 i n 1 , all possibilities of Q 2 are discussed as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 3 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 3 , g ( α i + 1 ) = 4 , g ( β i + 1 ) = 2 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 3 , g ( β i ) = 1 , g ( β i + 1 ) = 2 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 1 , g ( β i + 1 ) = 2 , g ( β i + 2 ) = 3 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 1 , g ( α i ) = 3 , g ( α i + 1 ) = 4 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 1 , g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 , g ( β i + 2 ) = 3 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 1 , g ( β i + 2 ) = 3 , g ( β i + 1 ) = 2 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 3 , g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 .
    (b). 
    For i 1 ( mod 4 ) , all possibilities of Q 2 are discussed as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 4 , g ( α i + 1 ) = 5 , g ( α i + 2 ) = 2 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 4 , g ( α i + 1 ) = 5 , g ( β i + 1 ) = 1 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 4 , g ( β i ) = 3 , g ( β i + 1 ) = 1 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 3 , g ( β i + 1 ) = 1 , g ( β i + 2 ) = 4 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 3 , g ( α i ) = 4 , g ( α i + 1 ) = 5 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 3 , g ( β i + 1 ) = 1 , g ( α i + 1 ) = 5 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 5 , g ( α i + 2 ) = 2 , g ( β i + 2 ) = 4 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 2 , g ( β i + 2 ) = 4 , g ( β i + 1 ) = 1 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 4 , g ( β i + 1 ) = 1 , g ( α i + 1 ) = 5 .
    (c). 
    For i 2 ( mod 4 ) , all possibilities of Q 2 are discussed as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 5 , g ( α i + 1 ) = 2 , g ( α i + 2 ) = 3 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 5 , g ( α i + 1 ) = 2 , g ( β i + 1 ) = 4 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 5 , g ( β i ) = 1 , g ( β i + 1 ) = 4 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 1 , g ( β i + 1 ) = 4 , g ( β i + 2 ) = 5 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 1 , g ( α i ) = 5 , g ( α i + 1 ) = 2 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 1 , g ( β i + 1 ) = 4 , g ( α i + 1 ) = 2 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 2 , g ( α i + 2 ) = 3 , g ( β i + 2 ) = 5 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 3 , g ( β i + 2 ) = 5 , g ( β i + 1 ) = 4 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 5 , g ( β i + 1 ) = 4 , g ( α i + 1 ) = 2 .
    (d). 
    For i 3 ( mod 4 ) , all possibilities of Q 2 are discussed as follows:
    (i) 
    If the path is α i α i + 1 α i + 2 , then we have g ( α i ) = 2 , g ( α i + 1 ) = 3 , g ( α i + 2 ) = 1 ;
    (ii) 
    If the path is α i α i + 1 β i + 1 , then we have g ( α i ) = 2 , g ( α i + 1 ) = 3 , g ( β i + 1 ) = 5 ;
    (iii) 
    If the path is α i b i β i + 1 , then we have g ( α i ) = 2 , g ( β i ) = 4 , g ( β i + 1 ) = 5 ;
    (iv) 
    If the path is β i β i + 1 β i + 2 , then we have g ( β i ) = 4 , g ( β i + 1 ) = 5 , g ( β i + 2 ) = 2 ;
    (v) 
    If the path is β i a i α i + 1 , then we have g ( β i ) = 4 , g ( α i ) = 2 , g ( α i + 1 ) = 3 ;
    (vi) 
    If the path is β i β i + 1 α i + 1 , then we have g ( β i ) = 4 , g ( β i + 1 ) = 5 , g ( α i + 1 ) = 3 ;
    (vii) 
    If the path is α i + 1 α i + 2 β i + 2 , then we have g ( α i + 1 ) = 3 , g ( α i + 2 ) = 1 , g ( β i + 2 ) = 2 ;
    (viii) 
    If the path is β i + 1 α i + 1 α i + 2 , then we have g ( β i + 1 ) = 2 , g ( α i + 1 ) = 4 , g ( α i + 2 ) = 1 ;
    (ix) 
    If the path is α i + 2 β i + 2 β i + 1 , then we have g ( α i + 2 ) = 1 , g ( β i + 2 ) = 2 , g ( β i + 1 ) = 5 ;
    (x) 
    If the path is β i + 2 β i + 1 α i + 1 , then we have g ( β i + 2 ) = 2 , g ( β i + 1 ) = 5 , g ( α i + 1 ) = 3 .
    Thus, in this case, all of these subcases proved that g is a P 3 coloring of D n for n 1 ( mod 4 ) . Therefore, χ P 3 ( D n ) = 5 .
  • Case III. Assume that n 2 ( mod 4 ) and n 10 . Similarly, as in case II, when we apply any P 3 coloring on D n with only four given colors { a , b , c , d } , for any C 4 subgraph in D n , its left and right adjacent C 4 ’s have the only possible P 3 coloring labels, as shown in Figure 13.
    We continue this process to complete (or produce) a P 3 coloring with only four colors a , b , c and d. Because n 2 ( mod 4 ) , and we have n number of C 4 subgraphs that covers D n , eventually, we will reach the situation displayed in Figure 14.
    Thus, in the case when n 2 ( mod 4 ) , from Figure 14, we can easily see that the remaining three C 4 s cannot be correctly colored with only four given colors. Thus, we have χ 3 ( D n ) 5 . Therefore, we need at least five colors to produce a P 3 coloring of D n . For the reverse case, let us define a function g from V ( D n ) to { 1 , 2 , 3 , 4 , 5 } as follows:
    g ( α i ) = 1 , if i 1 mod 5 , 1 i 10 ; 2 , if i 2 mod 5 , 1 i 10 ; 3 , if i 3 mod 5 , 1 i 10 ; 4 , if i 4 mod 5 , 1 i 10 ; 5 , if i 0 mod 5 , 1 i 10 ; 1 , if i 3 mod 4 , 11 i n ; 2 , if i 0 mod 4 , 11 i n ; 3 , if i 1 mod 4 , 11 i n ; 4 , if i 2 mod 4 , 11 i n .
    g ( β 1 ) = 3 , g ( β 2 ) = 5 .
    g ( β i ) = 1 , if i 3 mod 5 , 3 i 12 ; 2 , if i 4 mod 5 , 3 i 12 ; 3 , if i 0 mod 5 , 3 i 12 ; 4 , if i 1 mod 5 , 3 i 12 ; 5 , if i 2 mod 5 , 3 i 12 ; 1 , if i 1 mod 4 , 13 i n ; 2 , if i 2 mod 4 , 13 i n ; 3 , if i 3 mod 4 , 13 i n ; 5 , if i 0 mod 4 , 13 i n .
    Let Q 3 be an arbitrary P 3 path; then, similarly as in case I and case II, it is very easy to see that g is indeed a P 3 coloring. Together with the argument at the beginning of this case, this proves that the P 3 -chromatic number of a prism graph D n is equal to 5 for n 2 ( mod 4 ) for all n 10 .
  • Case IV. Assume that n 3 ( mod 4 ) and n 15 . Similarly to case II, whenever we apply any P 3 coloring on D n with only four colors { a , b , c , d } , for any C 4 subgraph in D n , its left and right adjacent C 4 ’s have the only possible P 3 -coloring labels, as shown in Figure 10.
We continue this process to complete (or produce) a P 3 coloring with only four colors a , b , c , and d. Because n 3 ( mod 4 ) , and we have the n number of C 4 subgraphs that covers D n , eventually, we will reach the situation displayed in Figure 11.
Therefore, in the case when n 3 ( mod 4 ) , from Figure 11 and the above argument, we can easily see that the remaining two C 4 cannot be correctly colored with only four colors. Thus, we must have χ 3 ( D n ) 5 , that is, we need at least five colors to produce (or obtain) a P 3 coloring of D n . For the reverse case, let us define a function g from V ( D n ) to { 1 , 2 , 3 , 4 , 5 } as follows:
g ( α i ) = 1 , if i 1 mod 5 , 1 i 15 ; 2 , if i 2 mod 5 , 1 i 15 ; 3 , if i 3 mod 5 , 1 i 15 ; 4 , if i 4 mod 5 , 1 i 15 ; 5 , if i 0 mod 5 , 1 i 15 ; 1 , if i 0 mod 4 , 16 i n ; 2 , if i 1 mod 4 , 16 i n ; 3 , if i 2 mod 4 , 16 i n ; 4 , if i 3 mod 4 , 16 i n .
g ( β 1 ) = 3 , g ( β 2 ) = 5 .
g ( β i ) = 1 , if i 3 mod 5 , 3 i 17 ; 2 , if i 4 mod 5 , 3 i 17 ; 3 , if i 0 mod 5 , 3 i 17 ; 4 , if i 1 mod 5 , 3 i 17 ; 5 , if i 2 mod 5 , 3 i 17 ; 1 , if i 2 mod 4 , 18 i n ; 2 , if i 3 mod 4 , 18 i n ; 3 , if i 0 mod 4 , 18 i n ; 5 , if i 1 mod 4 , 18 i n .
Let Q 4 be an arbitrary P 3 path in D n ; then, as in case I and case II, it is very easy to see that g is indeed a P 3 coloring. This, combined with the argument at the beginning of this case, proves that the P 3 -chromatic number of a prism graph D n is equal to 5 for n 3 ( mod 4 ) , n 15 .
Thus, the proof of this theorem is completed. □
Theorem 5. 
Let L n be the ladder graph; then, χ 3 ( L n ) = 4 for all n 2 .
Proof. 
Let L n be the ladder graph with n 2 . Then, by Theorem 1 and Theorem 3, we have χ 3 ( L n ) 4 . To show that χ 3 ( L n ) 4 , we will define a labeling g on V ( L n ) to the color set { 1 , 2 , 3 , 4 } .
g ( α i ) = 1 , if i 1 mod 4 , 1 i n ; 2 , if i 2 mod 4 , 1 i n ; 3 , if i 3 mod 4 , 1 i n ; 4 , if i 0 mod 4 , 1 i n .
g ( β i ) = 3 , if i 1 mod 4 , 1 i n ; 4 , if i 2 mod 4 , 1 i n ; 1 , if i 3 mod 4 , 1 i n ; 2 , if i 0 mod 4 , 1 i n .
For the reader, this labeling is explained in Figure 15. Let Q be any arbitrary path of L n ; then, there are ten possible types of P 3 paths in L n , and they are as follows. The paths are α i α i + 1 α i + 2 , α i α i + 1 β i + 1 , α i β i β i + 1 , β i β i + 1 β i + 2 , β i α i α i + 1 , β i β i + 1 α i + 1 , α i + 1 α i + 2 β i + 2 , β i + 1 α i + 1 α i + 2 , α i + 2 β i + 2 β i + 1 , and β i + 2 β i + 1 α i + 1 . Then, similarly to the first case of Theorem 4, its clear that f is indeed a P 3 coloring. Thus, we achieve the result. □

4. Open Problems and Time Complexity

It is well known that graph coloring and, in particular, vertex coloring is an NP-hard problem. Since our P 3 coloring is also a vertex coloring problem, one could speculate that this is also an NP-hard problem. We proved that for some families of graphs, this problem can be solved in polynomial time, which is clear from Theorem 2 to Theorem 5. For future research, we plan to list a few of the open problems concerning this new coloring scheme, which include the following objectives:
  • Problem 1: Prove or disprove the conjecture that “The P 3 coloring is an NP-hard problem”;
  • Problem 2: Discuss all types of time complexity of P 3 coloring as an NP-hard problem;
  • Problem 3: Find stronger upper and lower bounds of the P 3 coloring;
  • Problem 4: Find χ 3 ( Q n ) for n 3 .

5. Conclusions

In this article, we introduced a new type of graph coloring scheme, and we called it P 3 coloring. A graph having P 3 coloring is also a vertex-colorable graph (in a normal sense). We proved that when a graph has a vertex that is adjacent to all other vertices of the graph, its P 3 -chromatic number is the cardinality of the vertices of the graph. Then, we computed the P 3 chromatic number of some well-known families of graphs. To this end, we computed the P 3 -chromatic number of path, cycle, prism, and ladder graphs. It is clear from the above discussion and results that the P 3 -chromatic number of a graph is greater than or equal to its chromatic number. Graph coloring always raises strong interest among mathematicians and other related researchers. Therefore, any new and novel coloring technique is always followed by numerous graph-coloring studies in the literature. We gave an example of a challenge that can be countered only by using P 3 coloring. This also gives us the reasons for why this type of coloring should exist. We presented some future plans and open problems to further advance in this topic and extend its application.

Author Contributions

Conceptualization, M.N.; methodology, M.N.; software, M.N.; validation, H.Y. and S.Q.; formal analysis, M.N.; investigation, M.N.; resources, H.Y.; data curation, S.Q.; writing—original draft preparation, S.Q.; writing—review and editing, M.N.; visualization, M.N.; supervision, M.N.; project administration, H.Y.; funding acquisition, H.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Sichuan Science and Technology Program under grant 2018ZR0265.

Data Availability Statement

All the data supporting this article is in the manuscript of the article.

Acknowledgments

We acknowledge the anonymous reviewers for their comments and suggestions in the overall improvement and quality of this article.

Conflicts of Interest

We declare that there is no conflict of interest between the authors.

References

  1. Coxeter, H.S.M. The Mathematics of Map Coloring. Leonardo 1971, 4, 273–277. [Google Scholar] [CrossRef]
  2. Formanowicz, P.; Tanaś, K. A survey of Graph coloring-Its types, methods and applications. Found. Comput. Decis. Sci. 2012, 37, 223–238. [Google Scholar] [CrossRef] [Green Version]
  3. Burke, E.K.; Meisels, A.; Petrovic, S.; Qu, R. A graph-based hyper heuristic for timetabling problems. Eur. J. Oper. Res. 2007, 176, 177–192. [Google Scholar] [CrossRef] [Green Version]
  4. Galinier, P.; Hertz, A. A survey of local search methods for graph coloring. Comput. Oper. Res. 2006, 33, 2547–2562. [Google Scholar] [CrossRef]
  5. Leighton, F. A graph coloring algorithm for large scheduling problem. J. Res. Natl. Burean Stand. 1979, 84, 489–503. [Google Scholar] [CrossRef]
  6. Philippe, G.; Jean, P.; Hao, K.J.; Daniel, P. Recent Advances in Graph Vertex Coloring; Intelligent Sysstem References Liberary; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  7. Błażewicz, J.; Ecker, K.H.; Pesch, E.; Schmidt, G.; Weglarz, J. Scheduling Computer and Manufacturing Process; Springer: Berlin/Heidelberg, Germany, 1996. [Google Scholar]
  8. Dewerra, D. An introduction to timetabling. Eur. J. Operrational Res. 1985, 19, 151–162. [Google Scholar] [CrossRef]
  9. Chow, F.C.; Hennessy, J.L. The priorty-based coloring approach to register allocation. ACM Trans. Program. Lang. Syst. 1990, 12, 501–536. [Google Scholar] [CrossRef]
  10. Chaitin, G.J.; Auslander, M.A.; Chandra, A.K.; Cocke, J.; Hopkins, M.E.; Markstein, P.W. Register allocation via coloring. Comput. Lang. 1981, 6, 47–57. [Google Scholar] [CrossRef]
  11. Donderia, V.; Jana, P.K. A novel scheme for graph coloring. Procedia Technol. 2012, 4, 261–266. [Google Scholar] [CrossRef] [Green Version]
  12. Garey, M.; Johnson, D.; So, H. An Application of graph coloring to printed cicuit testing. IEEE Trans. Circuits Syst. 1976, 23, 591–599. [Google Scholar] [CrossRef]
  13. Glass, C. Bag rationalization for a food manufacturer. J. Oper. Res. Soc. 2002, 53, 544–551. [Google Scholar] [CrossRef]
  14. Arputhamarya, A.; Mercy, M.H. Rainbow Coloring of shadow Graphs. Int. J. Pure Appl. Math. 2015, 6, 873–881. [Google Scholar]
  15. Zufferey, N.; Amstutz, P.; Giaccari, P. Graph coloring approaches for a satellite range sceduling problems. J. Sceduling 2008, 11, 263–277. [Google Scholar] [CrossRef] [Green Version]
  16. Gamst, A. Some lower bounds for a class of frequency assignment problems. IEEE Trans. Veh. Echonol. 1986, 35, 8–14. [Google Scholar] [CrossRef]
  17. Voloshin, V.I. Graph Coloring: History, results and open problems. Ala. J. Math. 2009. Available online: https://ajmonline.org/2009/voloshin.pdf (accessed on 2 February 2023).
  18. Dey, A.; Son, L.H.; Kumar, P.K.K.; Selvachandran, G.; Quek, S.G. New Concepts on Vertex and Edge Coloring of Simple Vague Graphs. Symmetry 2018, 10, 373. [Google Scholar] [CrossRef] [Green Version]
  19. Gallian, G.A. A Dynamic Survey of Graph Labeling. Electron. J. Comb. 2022, 1, DS6. [Google Scholar] [CrossRef]
  20. Szabo, S.; Zavalnij, B. Graph Coloring via Clique Search with Symmetry Breaking. Symmetry 2022, 14, 1574. [Google Scholar] [CrossRef]
  21. Yegnanarayanan, V.; Yegnanarayanan, G.N.; Balas, M. On Coloring Catalan Number Distance Graphs and Interference Graphs. Symmetry 2018, 10, 468. [Google Scholar] [CrossRef] [Green Version]
  22. Ascoli, A.; Weiher, M.; Herzig, M.; Slesazeck, S.; Mikolajick, T.; Tetzlaff, R. Graph Coloring via Locally-Active Memristor Oscillatory Networks. J. Low Power Electron. Appl. 2022, 12, 22. [Google Scholar] [CrossRef]
  23. Sotskov, Y.N. Mixed Graph Colorings: A Historical Review. Mathematics 2020, 8, 385. [Google Scholar] [CrossRef] [Green Version]
  24. Tilley, J.A. The a-graph coloring problem. Discret. Appl. Math. 2017, 217, 304–317. [Google Scholar] [CrossRef]
Figure 1. Hypercube graphs of strings. Part (a) is of Q 2 and part (b) is graph Q 3 .
Figure 1. Hypercube graphs of strings. Part (a) is of Q 2 and part (b) is graph Q 3 .
Symmetry 15 00521 g001
Figure 2. P 3 labeling of P n .
Figure 2. P 3 labeling of P n .
Symmetry 15 00521 g002
Figure 3. An arbitrary P 3 path in P n .
Figure 3. An arbitrary P 3 path in P n .
Symmetry 15 00521 g003
Figure 4. The labeling of the vertices of C 9 under f.
Figure 4. The labeling of the vertices of C 9 under f.
Symmetry 15 00521 g004
Figure 5. An arbitrary P 3 path of C 15 .
Figure 5. An arbitrary P 3 path of C 15 .
Symmetry 15 00521 g005
Figure 6. P 3 labeling of C 10 .
Figure 6. P 3 labeling of C 10 .
Symmetry 15 00521 g006
Figure 7. P 3 labeling of C 11 .
Figure 7. P 3 labeling of C 11 .
Symmetry 15 00521 g007
Figure 8. The prism graph of D n , where the vertices b i = β i .
Figure 8. The prism graph of D n , where the vertices b i = β i .
Symmetry 15 00521 g008
Figure 9. An arbitrary C 4 in D n , when n 1 ( mod 4 ) .
Figure 9. An arbitrary C 4 in D n , when n 1 ( mod 4 ) .
Symmetry 15 00521 g009
Figure 10. Adjacent C 4 s when n 1 ( mod 4 ) , where the vertices b i = β i .
Figure 10. Adjacent C 4 s when n 1 ( mod 4 ) , where the vertices b i = β i .
Symmetry 15 00521 g010
Figure 11. Covering of D n by correctly colored C 4 s when n 1 ( mod 4 ) .
Figure 11. Covering of D n by correctly colored C 4 s when n 1 ( mod 4 ) .
Symmetry 15 00521 g011
Figure 12. P 3 coloring of D n when n 1 ( mod 4 ) , where the vertices b i = β i .
Figure 12. P 3 coloring of D n when n 1 ( mod 4 ) , where the vertices b i = β i .
Symmetry 15 00521 g012
Figure 13. Adjacent C 4 s when n 2 ( mod 4 ) , where the vertices b i = β i .
Figure 13. Adjacent C 4 s when n 2 ( mod 4 ) , where the vertices b i = β i .
Symmetry 15 00521 g013
Figure 14. Covering of D n by rightly colored C 4 s when n 2 ( mod 4 ) .
Figure 14. Covering of D n by rightly colored C 4 s when n 2 ( mod 4 ) .
Symmetry 15 00521 g014
Figure 15. A P 3 coloring of L n , where the vertices b i = β i .
Figure 15. A P 3 coloring of L n , where the vertices b i = β i .
Symmetry 15 00521 g015
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, H.; Naeem, M.; Qaisar, S. On the P3 Coloring of Graphs. Symmetry 2023, 15, 521. https://doi.org/10.3390/sym15020521

AMA Style

Yang H, Naeem M, Qaisar S. On the P3 Coloring of Graphs. Symmetry. 2023; 15(2):521. https://doi.org/10.3390/sym15020521

Chicago/Turabian Style

Yang, Hong, Muhammad Naeem, and Shahid Qaisar. 2023. "On the P3 Coloring of Graphs" Symmetry 15, no. 2: 521. https://doi.org/10.3390/sym15020521

APA Style

Yang, H., Naeem, M., & Qaisar, S. (2023). On the P3 Coloring of Graphs. Symmetry, 15(2), 521. https://doi.org/10.3390/sym15020521

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