1. Introduction
All graphs considered here are simple, finite, connected and undirected. We follow the basic notations and terminology of graph theory as in [1]. While studying graph theory, one that has gained a lot of popularity during the last 60 years is the concept of labelings of graphs due to its wide range of applications. Labeling is a function that allocates the elements of a graph to real numbers, usually positive integers. In 1967, Rosa [2] published a pioneering paper on graph labeling problems. Thereafter, several authors have studied many types of graph labeling techniques. Gallian in his survey [3] beautifully classified them. Cordial labeling is one such labelings defined by Cahit [4] as follows: Let f be a function from the vertices of G to
and for each edge
assign the label
. f is called a cordial labeling of G if the number of vertices labeled 0 and the number of vertices labeled 1 differ by at most 1, and the number of edges labeled 0 and the number of edges labeled 1 differ at most by 1. This concept was extended and defined product cordial labeling by Sundaram et al. [5] as follows: Let f be a function from
to
. For each edge
, assign the label
. Then f is called product cordial labeling if
and
where
and
denotes the number of vertices and edges respectively labeled with
. Some of the researchers have shown interest in this topic and published their results. An interested reader can refer to [6]-[11].
Ponraj et al. [12] further extended the concept of product cordial labeling and defined a new labeling called k-product cordial labeling. The same authors [13] established that the 4-product cordial behaviour of graphs such as subdivision star, wheel,
,
and
. For further results on 3-product and 4-product cordial labeling one can refer to [3]. Inspired by the concept of k-product cordial labeling and the results in [12], we further studied and showed that several families of graphs admit k-product cordial labeling in our published papers [14]-[21]. In [22], it is proved that
is 3-product cordial for every positive integer n. In this paper, we made an attempt to characterize the values of positive integer
for which the path graph
is k-product cordial for every positive integer n.
2. Terminology and Definitions
We use the following terminology and definitions to prove our main results.
The pigeonhole principle is, if m pigeons occupy n pigeonholes and
, then at least one pigeonhole has two or more pigeons roosting in it [23].
Let x be any real number. Then
stands for the largest integer less than or equal to x and
stands for the smallest integer greater than or equal to x.
Definition 1. An integer
is called a prime number if 1 and p are the only divisor of p.
Definition 2. Let f be a map from
to
where k is an integer,
. For each edge
assign the label
. f is called a k-product cordial labeling if
, and
,
, where
and
denote the number of vertices and edges respectively labeled with x (
).
3. Main Results
In this section, we study the k-product cordial labeling of path graph
where
and 15. Also, we show that not all paths are
-product cordial when p is odd prime. In all the results, we consider the vertex and edge set of
be
and
respectively.
Theorem 3. For
, the path
is 5-product cordial.
Proof. Define
as follows:
;
.
For
,
From the above labeling pattern, we have the following cases.
Case (i): If
,
for
.
For n is even,
For n is odd,
Hence,
is a 5-product cordial graph if
.
Case (ii): If
,
Hence,
is a 5-product cordial graph if
.
Case (iii): If
,
For n is even,
For n is odd,
Hence,
is a 5-product cordial graph if
.
Case (iv): If
,
For n is even,
For n is odd,
Hence,
is a 5-product cordial graph if
.
Case (v): If
,
for
.
For n is even,
For n is odd,
Hence,
is a 5-product cordial graph if
. □
An example of 5-product cordial labeling of
is shown in Figure 1.
Figure 1. 5-product cordial labeling of P12.
Theorem 4. For
, the path
is 7-product cordial.
Proof. Define
as follows:
;
.
For
,
From the above labeling pattern, we have the following cases.
Case (i): If
,
for
.
For n is even,
For n is odd,
Hence,
is a 7-product cordial graph if
.
Case (ii): If
.
Hence,
is a 7-product cordial graph if
.
Case (iii): If
,
For n is odd,
For n is even,
Hence,
is a 7-product cordial graph if
.
Case (iv): If
,
Hence,
is a 7-product cordial graph if
.
Case (v): If
,
For n is odd,
For n is even,
Hence,
is a 7-product cordial graph if
.
Case (vi): If
,
Hence,
is a 7-product cordial graph if
.
Case (vii): If
,
for
,
Hence,
is a 7-product cordial graph if
. □
An example of 7-product cordial labeling of
is shown in Figure 2.
Figure 2. 7-product cordial labeling of P11.
Theorem 5. For
, the path
is 11-product cordial.
Proof. Define
as follows:
;
.
For
,
From the above labeling pattern, we have the following cases.
Case (i): If
,
for
.
For n is even,
For n is odd,
Hence,
is a 11-product cordial graph if
.
Case (ii): If
.
Hence,
is a 11-product cordial graph if
.
Case (iii): If
,
For n is even,
For n is odd,
Hence,
is a 11-product cordial graph if
.
Case (iv): If
.
Hence,
is a 11-product cordial graph if
.
Case (v): If
,
For n is even,
For n is odd,
Hence,
is a 11-product cordial graph if
.
Case (vi): If
.
Hence,
is a 11-product cordial graph if
.
Case (vii): If
,
For n is even,
For n is odd,
Hence,
is a 11-product cordial graph if
.
Case (viii): If
.
Hence,
is a 11-product cordial graph if
.
Case (ix): If
,
For n is even,
For n is odd,
Hence,
is a 11-product cordial graph if
.
Case (x): If
.
Hence,
is a 11-product cordial graph if
.
Case (xi): If
.
for
.
Hence,
is a 11-product cordial graph if
. □
An example of 11-product cordial labeling of
is shown in Figure 3.
Figure 3. 11-product cordial labeling of P8.
As a consequence of Theorems 3, 4 and 5 we propose Conjecture 6.
Conjecture 6. For all
, the path
is k-product cordial graph if k is prime.
Theorem 7. For
, the path
is 6-product cordial.
Proof. Define
.
We have the following six cases.
Case (i): If
,
For
,
For
,
Therefore,
for
.
For
is odd,
For
is even,
Hence,
is a 6-product cordial graph if
.
Case (ii): If
,
For
,
For
,
Therefore,
Hence,
is a 6-product cordial graph if
.
Case (iii): If
.
Subcase (i): If
is odd.
We label the vertices
as in Case (ii), then assign 2 to
.
Subcase (ii): If
is even.
We label the vertices
as in Case (ii), then assign 4 to
.
Therefore,
For
is even,
For
is odd,
Hence,
is a 6-product cordial graph if
.
Case (iv): If
.
Subcase (i): If
is odd.
We label the vertices
as in Case (iii) Subcase (i), then assign 4 to
.
Subcase (ii): If
is even.
We label the vertices
as in Case (iii) Subcase (ii), then assign 2 to
.
Therefore,
Hence,
is a 6-product cordial graph if
.
Case (v): If
,
For
,
For
,
Therefore,
Hence,
is a 6-product cordial graph if
.
Case (vi): If
,
For
,
For
,
Therefore,
for
,
Hence,
is a 6-product cordial graph if
. □
Figure 4 shows the 6-product cordial labeling of
.
Figure 4. 6-product cordial labeling of P9.
Theorem 8. For
, the path
is 10-product cordial.
Proof. Define
.
We have the following four cases.
Case (i): If
where
then
For
where
,
For
,
From the above labeling we have the following subcases:
Subcase (i): If
,
for
.
For
is even,
For
is odd,
Subcase (ii): If
,
Subcase (iii): If
,
For
is even,
For
is odd,
Subcase (iv): If
,
For
is even,
For
is odd,
Hence,
is a 10-product cordial graph if
where
.
Case (ii): If
,
For
,
For
,
Therefore,
For
is even,
For
is odd,
Hence,
is a 10-product cordial graph if
.
Case (iii): If
where
then
For
,
For
where
,
From the above labeling we have the following subcases:
Subcase (i): If
,
For
is even,
For
is odd,
Subcase (ii): If
.
For
is even,
,
For
is odd,
,
Subcase (iii): If
,
For
is even,
For
is odd,
Subcase (iv): If
.
For
is even,
,
.
For
is odd,
,
.
Hence,
is a 10-product cordial graph if
where
.
Case (iv): If
.
Subcase (i): If
is even.
We label the vertices
as in Case (iii), then assign 8 to
.
Subcase (ii): If
is odd.
We label the vertices
as in Case (iii), then assign 2 to
.
From this label we get,
for
.
For
is odd,
.
For
is even,
.
Hence,
is a 10-product cordial graph if
. □
Figure 5 shows the 10-product cordial labeling of
.
Figure 5. 10-product cordial labeling of P10.
Theorem 9 For
, the path
is 15-product cordial.
Proof. Define
.
We have the following five cases.
Case (i): If
where
then
For
and
,
For
and
,
For
where
,
For
,
From the above labeling we have the following subcases:
Subcase (i): If
,
;
.
Subcase (ii): If
,
Subcase (iii): If
,
Subcase (iv): If
,
Subcase (v): If
,
Subcase (vi): If
,
Subcase (vii): If
,
Subcase (viii): If
,
Therefore,
is a 15-product cordial graph if
where
.
Case (ii): If
, where
then
For
,
For
,
For
where
,
From the above labeling we have the following subcases:
Subcase (i): If
,
For
is even,
For
is odd,
Subcase (ii): If
,
Subcase (iii): If
,
For
is even,
For
is odd,
Subcase (iv): If
,
Therefore,
is a 15-product cordial graph if
where
.
Case (iii): If
, then
For
,
For
,
For
,
Therefore,
Hence,
is a 15-product cordial graph if
.
Case (iv): If
, then
For
,
For
,
For
,
Therefore,
For
is even,
For
is odd,
Hence,
is a 15-product cordial graph if
.
Case (v): If
, then
For
,
For
,
For
,
Therefore,
;
.
Hence,
is a 15-product cordial graph if
. □
Figure 6 shows the 15-product cordial labeling of
.
Figure 6. 15-product cordial labeling of P16.
Remark 10. [12] The path
is 4-product cordial if and only if
.
Lemma 11. The path
does not admit p2-product cordial labeling for every odd prime p.
Proof. Suppose that f is a p2-product cordial labeling of
. Then
for (
) and
or 1 for (
). Obviously,
and 0 must be assigned consecutively at the beginning or end of the path or beginning and end of the path together. Otherwise
, which is not possible. Thus,
. Now
for (
) and each vertex labels
must be labeled inconsecutively, otherwise
, which is not possible. These vertex labels with the other vertex labels produce the
edge labels
and (
), so
and using the pigeonhole principle, we get at least i from the set
such that
which contradicts that f is a p2-product cordial labeling of
.
As a consequence of Theorems 7, 8, 9, Remark 10 and Lemma 11 we propose the following conjecture:
Conjecture 12. For all
, the path
is k-product cordial graph if k is the product of two distinct prime numbers.
Acknowledgements
We would like to thank the referees for their valuable suggestions to improve the quality of the paper.