Tribonacci Cordial Labeling of Graphs

Abstract

We introduce Tribonacci cordial labeling as an extension of Fibonacci cordial labeling, a well-known form of vertex-labelings. A graph that admits Tribonacci cordial labeling is called Tribonacci cordial graph. In this paper we investigate whether some well-known graphs are Tribonacci cordial.

Share and Cite:

Mitra, S. and Bhoumik, S. (2022) Tribonacci Cordial Labeling of Graphs. Journal of Applied Mathematics and Physics, 10, 1394-1402. doi: 10.4236/jamp.2022.104098.

1. Introduction

Throughout the paper we assume that G is a simple connected graph of order n.

Definition 1.1 A function f : V ( G ) { 0,1 } is said to be Cordial Labeling if the induced function f * : E ( G ) { 0,1 } defined by

f * ( u v ) = | f ( u ) f ( v ) |

satisfies the conditions | v f ( 0 ) v f ( 1 ) | 1 , as well as | e f ( 0 ) e f ( 1 ) | 1 , where

v f ( 0 ) : = number of vertices with label 0,

v f ( 1 ) : = number of vertices with label 1,

e f ( 0 ) : = number of edges with label 0,

e f ( 1 ) : = number of edges with label 1.

The concept of cordial labeling was introduced by Cahit [1] through a variety of vertex labeling. This was further extended to various labeling such as divisor cordial labeling, product cordial labeling, total product cordial labeling, prime cordial labeling etc. (see [2] for a dynamic survey). Rokad and Ghodasara introduced Fibonacci cordial labeling [3] and provided a list of families of graphs that are Fibonacci cordial. Later this labeling was explored for several other families of graph (see [4] [5]). Motivated by their work, we investigate Tribonacci cordial labeling, which is an extension of the Fibonacci cordial labeling.

Definition 1.2 The sequence T n of Tribonacci numbers is defined by the third order linear recurrence relation (for n 0 ):

T n + 3 = T n + T n + 1 + T n + 2 ; T 0 = 0 , T 1 = T 2 = 1 ,

Definition 1.3 An injective function f : V ( G ) { T 0 , T 1 , , T n } is said to be Tribonacci cordial labeling if the induced function f * : E ( G ) { 0,1 } defined by

f * ( u v ) = ( f ( u ) + f ( v ) ) ( mod 2 )

satisfies the condition | e f ( 0 ) e f ( 1 ) | 1 . A graph which admits Tribonacci cordial labeling is called Tribonacci cordial graph.

In this paper we denote the total number of odd edges by e ( 1 ) (analogously e ( 0 ) for even edges) and e ( 1 ) e ( 0 ) will be denoted as e ˜ .

2. Main Results

In this section we examine whether some of the trivial graphs like P n , C n , K n are Tribonacci cordial. We can start with a simple observation that for any n, the sequence { T 0 , T 1 , , T n } has m many evens, where

m = ( k + 1, if n = 2 k + 1 2 k + 1, if n = 4 k or 4 k + 2

Theorem 2.1 P n is Tribonacci cordial.

Proof. Let f : V ( P n ) { T 0 , T 1 , T n } be a labeling such that f ( v i ) = T i for all i = 1 , 2 , , n . Clearly it implies that the value of e ˜ P n is 0 if n is even and 1 otherwise.

Theorem 2.2 For any two assigned Tribonacci labeling (injective) f : V ( C n ) { T 0 , T 1 , , T n } and g : V ( C n ) { T 0 , T 1 , , T n } , e ˜ f e ˜ g 0 ( mod 4 ) .

Proof. Without loss of generality, suppose that f and g are the same Tribonacci labeling except at v 0 V ( C n ) , i.e. f ( v 0 ) g ( v 0 ) . Let us consider e f ( 0 ) = m and hence e f ( 1 ) = n m . Also consider v L and v R are two adjacent vertices of v 0 .

If f * ( v L v 0 ) 1 ( mod 2 ) and f * ( v 0 v R ) 0 ( mod 2 ) (or vice versa), then it is clear that

e ˜ f = e ˜ g

Otherwise without loss of generality, we may assume that

f * ( v L v 0 ) = f * ( v 0 v R ) 0 ( mod 2 )

In this case, clearly e g ( 0 ) will be either m or m 2 . Respectively e g ( 1 ) will be either n m or n m + 2 . Thus

e ˜ g e ˜ f = | e g ( 0 ) e g ( 1 ) | | e f ( 0 ) e f ( 1 ) | 0 ( mod 4 )

Corollary 2.3 For any injective function f : V ( G ) { T 0 , T 1 , , T 2 m } on cyclic graph C 2 m , if | e ˜ | 2 ( mod 4 ) , then C 2 m is not Tribonacci cordial.

As it is clear from the above Corollary, if n 2 ( mod 4 ) , C n is not Tribonacci cordial under f, then any other function g : V ( G ) { T 0 , T 1 , , T 2 m } will not be able to generate e ˜ g 0 ( mod 4 ) . For n 2 ( mod 4 ) , we can consider the labeling f : V ( C n ) { T 0 , T 1 , , T n } such that f ( v i ) = T i for all i = 1 , 2 , , n . Clearly it produces odd and even edges alternatively. Thus we have the following theorem.

Theorem 2.4 C n is Tribonacci cordial, except n 2 ( mod 4 ) .

Lemma 2.5 K 2 m + 1 is Tribonacci cordial only for m 1.

Proof. First note that the vertex labeling can be chosen from T 0 , T 1 , , T 2 m + 1 , out of which m + 1 labels are even and thus m + 1 are odd. Since we only need 2 m + 1 many labelings, we drop either an odd or an even Tribonacci number from the list. Without loss of generality, we use all of the Tribonacci numbers except an even one. As there are m + 1 many odd and m many even vertex labels, e ( 1 ) = m ( m + 1 ) , and e ( 0 ) = ( m + 1 2 ) + ( m 2 ) . Hence in order to be Tribonacci cordial we must have

| e ˜ | = | m ( m + 1 ) ( m + 1 2 ) ( m 2 ) | 1

It simplifies to | m | 1 , which is only possible for m = 0 , 1 , and hence n = 1 , 3 .

Next we divide the case, n is even, into two categories, namely n = 4 m , and 4 m + 2 to get the following two lemmas.

Lemma 2.6 K 4 m is Tribonacci cordial only for m = 1.

Lemma 2.7 K 4 m + 2 is Tribonacci cordial only for m 1.

The next theorem follows immediately from the previous lemmas, which provide the complete list of all complete graphs that are Tribonacci cordial.

Theorem 2.8 The complete list of Tribonacci cordial Complete graphs are K 1 , K 2 , K 3 , K 4 , and K 6 .

A wheel graph W n is a graph that contains a cycle of n many vertices such that every vertex of the cycle is connected with another vertex known as the hub (see Figure 1).

Figure 1. Tribonacci cordial labeling for W 17 graph.

Theorem 2.9 W n is Tribonacci cordial.

Proof. We start by identifying the vertices of W n as V ( W n ) = { v } { v 1 , v 2 , , v n } where v i ’s are the vertices of the cycle in a clockwise manner and v is the hub of the cycle. Now, for n = 4 p + q , where 0 q 3 , we define

p 1 = ( p , if q = 3 p 1, otherwise

and p 2 = p 1 + 2 . The following function assigns Tribonacci labeling to the vertices of the wheel graphs. For 1 i 2 p 1

f ( v i ) = ( T i 2 , if i 0 ( mod 4 ) T i + 2 , if i 1 ( mod 4 ) T i 1 , if i 2 ( mod 4 ) T i + 1 , if i 3 ( mod 4 )

For the vertices 2 p 1 < i n , define f ( v i ) = T k where

k = ( n + ( i 3 p ) 2 3 p i 2 2 + 1 q , for 2 p 1 + 1 i 2 p 1 + p 2 , and q = 0,1,2,3 i 2 n i q 2 2, for 2 p 1 + p 2 < i n , and q = 0,1,2 i 2 n i 2 2 2, for 2 p 1 + p 2 < i n , and q = 3

Easy calculation ensures the validity of the cordiality of the labeling.

A shell graph is defined as a cycle C n with ( n 3 ) chords sharing a common vertex, called the apex (see Figure 2). Shell graphs are denoted as C ( n , n 3 ) . The vertices of C ( n , n 3 ) are denoted by { v 1 , v 2 , , v n } , v 1 as the apex.

Theorem 2.10 Shell graphs C ( n , n 3 ) are Tribonacci cordial.

Proof. Let us rewrite n as 4 p + q , where 0 q 3 and. We define p 1 and p 2 as:

p 1 = ( p , if q = 0,1 p + 1, if q = 2,3

Figure 2. Tribonacci labeling for C 16,13 graph.

and p 2 = 2 p + 1 p 1 . The function defined below assigns Tribonacci numbers to the vertices of the wheel graphs. Let f ( v 1 ) = T 1 , and

f ( v i ) = ( T i + 1 , if i 0 ( mod 4 ) T i 1 , if i 1 ( mod 4 ) T i , otherwise

for 2 i 2 p 1 . For the vertices 2 p 1 < i n , let f ( v i ) = T k where

k = ( n + ( i 3 p ) 2 3 p i 2 2 3 q , for 2 p 1 + 1 i 2 p 1 + p 2 , and q = 0 , 1 , 2 , 3 j 2 n i q 2 2 , for 2 p 1 + p 2 < i n , and q = 0 , 1 , 2 j 2 n i 2 2 2 , for 2 p 1 + p 2 < i n , and q = 3

Easy calculation generates e 1 = n = e 0 , which ensures that W n is Tribonacci cordial for all n.

The generalized friendship graph F m , n (see Figure 3) is a collection of n many cycles C m , meeting at a common vertex. Clearly we can refer friendship graph F n as F 3, n . For convenience, let us call the common vertex v the apex, and each cycle a blade of the graph. Consider V ( F m , n ) = { v } { v i , 1 , v i , 2 , , v i , m } i = 1 n where the i th blade is C i = { v v i , 1 v i , 2 v i , m , v } . It is evident from the definition that the cardinality of the vertex and edge sets are given by n ( m 1 ) + 1 and m n respectively.

Lemma 2.11 If m 1 ( mod 2 ) and n 2 ( mod 4 ) , then F m , n is not Tribonacci cordial.

Proof. Note that in any blade, any combination of even and odd Tribonacci labeling on the vertices of the cycle C m including the apex vertex, generates only even values for e 1 . Thus e 1 0 ( mod 2 ) . Now when n = 4 k + 2 and m = 2 p + 1 , for some integer k , p 0 , | E ( F m , n ) | = 8 p k + 4 ( p + k ) + 2 . In order to generate Tribonacci cordial labeling for F m , n , e 1 must be 4 p k + 2 ( p + k ) + 1 , which clearly contradicts that e 1 is even.

Figure 3. Tribonacci cordial labeling for friendship graph F 5,4 .

Now we investigate whether F m , n is Tribonacci cordial for the remaining values, i.e., for m 0 ( mod 2 ) or n 2 ( mod 4 ) . First, we look into the case when m 1 ( mod 2 ) and n 2 ( mod 4 ) to obtain the following.

Lemma 2.12 F 3, n is Tribonacci cordial if n 2 ( mod 4 ) .

Proof. For convenience, we redefine vertex v i j as v k , where k = 2 ( i 1 ) + j , and

p = ( n / 2, if n 0 ( mod 4 ) ( n + 1 ) / 2, if n 1 ( mod 4 ) ( n 1 ) / 2, if n 3 ( mod 4 )

Now we provide the function that assigns Tribonacci numbers to the vertices of the F 3, n . For n 0 ( mod 4 ) , we label v with T 2 n + 1 , and label the rest of the vertices as follow:

f ( v k ) = ( T k + 1 , for 1 k p and k 2 ( mod 4 ) T k 1 , for 1 k p and k 3 ( mod 4 ) T k , otherwise

For n 1 , 3 ( mod 4 ) ,

f ( v k ) = ( T k 1 , for 1 k p T k , for p k 2 n

and finally f ( v ) = T n 1 .

Lemma 2.13 For n 2 ( mod 4 ) , F 5, n is Tribonacci cordial.

Proof. Let us define

p = ( 3 n / 4, if n 0 ( mod 4 ) ( 3 n + 1 ) / 4, if n 1 ( mod 4 ) ( 3 n 1 ) / 4, if n 3 ( mod 4 )

The following function assigns Tribonacci labeling to the vertices of the graph F 5, n . For 1 k p , f ( v k ) = T k , and for p + 1 k 4 n we define

f ( v k ) = ( T k + 1 , if k 2 ( mod 4 ) T k 1 , if k 3 ( mod 4 ) T k , otherwise

and finally f ( v ) = T 4 n + 1 . It can be easily observed that for each blade, excluding the common vertex v, we label two categories of labelings in the following order: viz. p many even-even-odd-odd, and n p many even-odd-even-odd. Hence the value of e ˜ in each blade, of former kind is −1, and 3 on the later (as the common vertex is being labeled by an odd Tribonacci number). Consequently we obtain

e ˜ = ( 0, if n 0 ( mod 4 ) 1, if n 1 ( mod 4 ) 1, if n 3 ( mod 4 )

We believe that the following holds

Conjecture 2.14 F 2 k + 1, n is Tribonacci cordial for n 2 ( mod 4 ) and any positive integer k 3 .

Theorem 2.15 F m , n is Tribonacci cordial if m 2 ( mod 4 ) and n 0 ( mod 2 ) or m 0 ( mod 4 ) for any n.

Proof. Let f : V ( F m , n ) { T 0 , T 1 , , T n ( m 1 ) + 1 } such that f ( v i ) = T ( m 1 ) n + 2 i and f ( v ) = T 1 . It is clear for m 0 ( mod 4 ) , each blade the vertices is getting the labels odd-even-even-odd- -even-odd, which with the odd labeled common vertex result in e ˜ = 0 . Thus we have a Tribonacci cordial graph for any choice of n.

Now for m 2 ( mod 4 ) where n 0 ( mod 2 ) , we can make the observation that the values of e ˜ in each blade are to be { 2,2,2, 2, 2,2,2, 2 , } . This clearly implies that that we have a Tribonacci cordial labeling ( e ˜ = 0 ) when the number of blades are even, i.e., n 0 ( mod 2 ) .

Theorem 2.16 K m , n is Tribonacci cordial for all m , n .

Proof. Let us denote the vertices of K m , n by { u 1 , u 2 , , u m , v 1 , v 2 , , v n } . In order to assign Tribonacci labeling to the graph K m , n we consider the following cases.

Case 1. Assume that at least one of m , n is even. Without loss of generality we consider m to be even and use the following labeling: f ( u i ) = T i 1 , f ( v i ) = T m + i 1 . Note that, m/2 even and m/2 odd Tribonacci labels are used on one side, which result in e ˜ = 0 , for any assignment of labels on the other side.

Case 2. Consider the case when both m and n are odd. Let m = 2 k 1 + 1 and n = 2 k 2 + 1 , following the same pattern of labeling as the previous case. It can be easily noted that there are either k 1 and k 2 + 1 , or k 1 + 1 and k 2 even labels used. The former case yields e ˜ = k 1 k 2 + ( k 1 + 1 ) ( k 2 + 1 ) k 1 ( k 2 + 1 ) ( k 1 + 1 ) k 2 = 1 , whereas, later case implies e ˜ = 1 , ensuring the cordiality of the labeling in either one.

Bistar B m , n is the graph obtained by joining the apex vertices of two copies of star, viz. K 1, m and K 1, n , by an edge. We identify the vertex set as { u i : 1 i m } { v i : 1 i n } { u , v } where u , v are the apex vertices and u i , v i are the pendant vertices connected with u and v respectively. The vertex and edge set cardinalities are given by m + n + 2 and m + n + 1 respectively.

Theorem 2.17 Bistar graph B m , n are Tribonacci cordial.

Proof. Define the function f : ( B m , n ) { T 0 , T 1 , , T m + n + 2 } as f ( u i ) = T i + 1 , f ( v i ) = T m + i + 1 which assigns Tribonacci numbers to all pendant vertices. In order to label the apex vertices u , v , consider the following cases.

Case 1. Let at least one of m , n is even. Without loss of generality we can assume that m is even. Label f ( u ) = T 0 and f ( v ) = T 1 if m + n 1 ( mod 4 ) , and vice-versa if m + n 1 ( mod 4 ) . It is clear that m/2 many vertices are labeled with even (and odd) Tribonacci labels. Now if m + n 1 ( mod 4 ) then ( n 1 ) / 2 many even and ( n + 1 ) / 2 many odd Tribonacci labels are used on other side. Thus e ˜ = m / 2 + 1 + ( n 1 ) / 2 m / 2 ( n + 1 ) / 2 = 0 .

On the other hand if m + n 1 ( mod 4 ) , then there are many even and many odd Tribonacci labels used on the side of n pendant vertices. Hence.

Case 2. Consider both m , n are odd. Once again without loss of generality we will consider three cases: m 1 ( mod 4 ) and n 1 ( mod 4 ) ; m 3 ( mod 4 ) and n 1 ( mod 4 ) ; m 3 ( mod 4 ) and n 3 ( mod 4 ) . For the first case f ( u ) = T 1 and f ( v ) = T 0 and vice-versa on last the two cases. It is very similar to the previous case to verify that this assigns a Tribonacci labeling to the graph B m , n .

Theorem 2.18 Complete binary trees are Tribonacci cordial.

Proof. Let T be the complete binary tree. We denote the vertices as { v i j : 1 i 2 j ,0 j l } , where l denoted the levels, and v i l is connected to v 2 i 1 l + 1 and v 2 i l + 1 . We define the labeling f : V ( T ) { T 0 , T 1 , , T 2 n } as f ( v i j ) = T 2 j + i 1 . If we denote e k as the edge connecting the vertices the parent and the child vertex v i j , where k = 2 j + i 2 , then we observe the following:

f * ( e k ) = ( 1 ( mod 2 ) , if k 1,4,6,7 ( mod 8 ) 0 ( mod 2 ) , if k 0,2,3,5 ( mod 8 )

As the maximum possible value for k is 2 ( 2 l 1 ) , we have e 1 = e 0 = 2 l 1 , which implies e ˜ = 0 . Thus T is Tribonacci cordial.

Theorem 2.19 P n 2 is Tribonacci cordial.

Proof. Let us identify the vertices of the graph as V ( P n 2 ) = { v 1 , v 2 , , v n } . We define labeling f : V ( P n 2 ) { T 0 , T 1 , T 2 , , T n } as follows:

f ( v i ) = ( T i 2 , if q = 0 T i 1 , if q = 1,2 T i , if q = 3

where i = 4 p + q . Clearly this labeling generates e 1 = n and e 0 = n 1 , hence e ˜ = 1 , which proves the theorem.

Theorem 2.20 C n 2 is Tribonacci cordial only for n 0 ( mod 2 ) .

Proof. First we note that, for any two Tribonacci labeling f : V ( C n 2 ) { T 0 , T 1 , , T n } and g : V ( C n 2 ) { T 0 , T 1 , , T n } , e ˜ f e ˜ g 0 ( mod 4 ) . We omit the proof as it is very similar to Theorem 2.2. Now observe that when n is odd, i.e., n = 2 k + 1 , | E ( C n 2 ) | = 4 k + 2 , thus e ˜ C n 2 2 ( mod 4 ) . For the case n being even, let v 1 , v 2 , , v n be the vertices of the graph C n 2 . We define the following function that assigns labelings to the vertices.

f ( v i ) = ( T i 2 , if q = 0 T i 1 , if q = 1,2 T i , if q = 3

where i = 4 p + q . Clearly this labeling generates e 1 = e 0 = n , hence e ˜ = 0 , which proves the theorem.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Cahit, I. (1987) Cordial Graphs: A Weaker Version of Graceful and Harmonious Graphs. ARS Combinatoria, 23, 201-207.
[2] Gallian, J.A. (2019) A Dynamic Survey of Graph Labelling. Electronic Journal of Combinatorics. https://doi.org/10.37236/27
[3] Rokad, A.H. and Ghodasara, G.V. (2016) Fibonacci Cordial Labeling of Some Special Graphs. Annals of Pure and Applied Mathematics, 11, 133-144.
[4] Mitra, S. and Bhoumik, S. (2020) Fibonacci Cordial Labeling of Some Special Families of Graphs. Annals of Pure and Applied Mathematics, 21, 135-140. https://doi.org/10.22457/apam.v21n2a9663
[5] Rokad, A.H. (2017) Fibonacci Cordial Labeling of Some Special Graphs. Oriental Journal of Computer Science and Technology, 10, 824-828. https://doi.org/10.13005/ojcst/10.04.18

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.