Preprint
Article

This version is not peer-reviewed.

Families of Non-Even Harmonious Graphs

Submitted:

28 March 2025

Posted:

31 March 2025

You are already at the latest version

Abstract
A graph of size 2q is even harmonious if its vertices can be labeled distinctly from the labels 0,1,2,...,2q-2 such that the set of edge labels obtained by adding the vertex labels modulo 2q is {2k, 2k+2,..., 2k+2q-2}. Proving that a graph is not even harmonious is not an easy task. In this paper, we give some families of non-even harmonious graphs.
Keywords: 
;  ;  

1. Introduction

We follow Chartrand and Lesniak [2] and Gallian [4] for basic notations in graph theory and known results of graph labeling. In particular, we will consider a finite simple graph. For positive integers a and b with a < b , we denote { a , a + 1 , ... , b } by [ a , b ] and the set { a , a + 2 , a + 4 , ... , b } by [ a , b ] 2 , where a and b have the same parity, that is a b ( mod 2 ) , Let m denote the group of integers modulo m . For a graph G if V ( G ) = p , E ( G ) = q , we call G is a ( p , q ) graph. In this section, we mention some related definitions and some variations of the definition of the even harmonious labeling and expose some of the known results that we may use in the paper.
Definition 1.1. [8] A ( p , q ) graph G with p q is called harmonious if there is an injection function f : V ( G ) q such that the induced function f : E ( G ) q defined as f ( u v ) = ( f ( u ) + f ( v ) ) ( mod q ) for all edge u v E ( G ) is a bijection. If G is a tree, exactly two vertices are having the same label. A labeling function f is called a harmonious labeling of the graph G .
Graham and Sloane [8] proved the following.
Theorem 1.1. If G is a harmonious of even size q and 2 k deg ( v ) , ( k 1 ) , for every vertex v V ( G ) , then 2 k + 1 q .
Since Graham and Sloane [8] proved that C n is harmonious if and only if n is odd, it obvious that the necessary condition in Theorem 1.1 is not sufficient for cycles.
There are few general results on harmonious labeling. Most papers focused on classifications of the harmoniousness of some families of graphs. Youssef [11] proved the following results:
Theorem 1.2. If G is a harmonious graph, then m G is harmonious for all odd positive integer m .
Theorem 1.3. If G is a harmonious graph, then G ( m ) (the graph consisting of disjoint union n copies of G with one fixed vertex in common) is harmonious for all odd positive integer m
Lee, Schmeichel and Shee [9] gave a generalization of the harmonious labeling in the following definition.
Definition 1.2. [9] A ( p , q ) graph G is called felicitous if there exists an injection f : V ( G ) [ 0 , q ] such that the induced function f : E ( G ) [ 0 , q 1 ] defined as f ( u v ) = ( f ( u ) + f ( v ) ) ( mod q ) for all edge u v E ( G ) is a bijection.
Lee, Schmeichel and Shee [9] showed that the cycle graph C n is felicitous if and only if n 2 ( mod 4 ) . Figueroa-Centeno et al. [3] conjectured that the disjoint union C m C n is felicitous if and only if m + n 2 ( mod 4 ) and m C n is felicitous if and only if m n 2 ( mod 4 ) .
Chang, Hsu and Rogers [1] and independently Grace [7] have introduced subclasses of harmonious graphs and independently by Chang, Hsu and Rogers [1] have given a subclass of felicitous graphs as well in the following definition.
Definition 1.3. [1,7] A ( p , q ) graph G is called strongly k -harmonious (resp. strongly k -elegant) if there exists an injective function f : V ( G ) [ 0 , q 1 ] (resp. f : V ( G ) [ 0 , q ] ) and a positive integer k such that the induced function f : E ( G ) [ k , k + q 1 ] defined as f ( u v ) = ( f ( u ) + f ( v ) ) for all edge u v E ( G ) is a bijection.
By taking the edge labels of a strongly k -harmonious labeled graph with q edges modulo q , we obviously obtain a harmoniously labeled graph. It is not known if there is a graph that can be harmoniously labeled but not strongly k-harmonious labeled.
Recently many variations of even harmonious labeling were introduced. We deal with the variation of the even harmonious labeling when the vertex labels of a graph of size q are from the set 2 q .
Definition 1.4. [4] A graph G with q edges is called even harmonious if there exists an injective function f from V ( G ) to 2 q such that the induced function f : E ( G ) [ 0 , 2 ( q 1 ) ] 2 defined as f ( u v ) = f ( u ) + f ( v ) ( mod 2 q ) for all edge u v E ( G ) is a bijection.
Note that in a connected even harmonious graph all the vertex labels must have the same parity, while in case of disconnected even harmonious graph of c components, the vertex labels of each competent must have the same parity, that is all are even or all are odd. As an example the graph 2 K 3 is even harmonious via the vertex labels 0,2, and 10 for one copy of 2 K 3 and by the vertex labels 1,3, and 5 for the other copy.
The following theorem shows that we may change the parity of the vertex labels of connected even harmonious graphs from even to odd and vice versa.
Theorem 1.4. Let G be a connected graph of q edges. If g is an even harmonious labeling of G , then so is a g + b , where a is an invertible element of 2 q and b is any element of 2 q .
One consequences of the above theorem, is we can assume that in any connected even harmonious graph G , the vertex labels are all even and any vertex of G can be assigned the label zero. We formulate this in the following result.
Corollary 1.5. Any vertex in an even harmonious graph can be assigned the label zero.
The following result gives a necessary condition for certain families of graphs to be even harmonious.
Theorem 1.6.[12] If G is a connected even harmonious graph with q = E ( G ) is even and 2 k deg ( v ) , ( k 1 ) , for every vertex v V ( G ) , then 2 k + 1 q .
However, in the following theorem we give a necessary condition in case of disconnected graphs.
Theorem 1.7. [13] If G is a disconnected even harmonious 2 k -regular graph, ( k 1 ) having an even number q of edges and the order of each component of G is even, then q is divisible by 2 k + 1 .
Youssef and Aljouiee [14] gave the following result.
Lemma 1.8. Every felicitous (resp. harmonious) graph G is an even harmonious (resp. strictly even harmonious) and the converse is true if G connected.
Definition 1.5. [5, 6, 13] A graph G with q edges is said to be strongly even 2 k -harmonious (resp. strongly even 2 k -sequential, strongly even 2 k -elegant) if there exists an injective function f : V ( G ) [ 0 , 2 q 2 ] (resp. f : V ( G ) [ 0 , 2 q 1 ] , f : V ( G ) [ 0 , 2 q ] ) and a positive integer k such that the induced function f : E ( G ) [ 2 k , 2 k + 2 q 2 ] 2 defined as f ( u v ) = f ( u ) + f ( v ) for all edge u v E ( G ) is a bijection.
We observe that if G is a connected strongly even 2 k -harmonious (resp. strongly even 2 k -sequential, strongly even 2 k -elegant), then all the vertex labels of G are even or all are odd, while if G is a disconnected graph, then the vertex labels of some components are even or are odd.
Youssef and Aljouiee [14] proved that C 2 m C n is even harmonious if and only if 2 m + n 2 ( mod 4 ) and showed also that if m and n are odd integers with m , n 3 , then C m C n is even harmonious if m + n 2 ( mod 4 ) .
Gallian and Schoenhard [5] conjectured that C 4 n is even harmonious for all positive integer n . This conjecture was proved by Youssef [12]. Youssef and Aljouiee [14] showed the following results:
Theorem 1.9.  m C 2 n + 1 is even harmonious for all m , n 1 .
Theorem 1.10. For all m 1 and n 2 , m C 2 n is not even harmonious if m n is odd.
Proving that a graph is not even harmonious is a hard problem. We have to show that no injective function satisfying the property of even harmoniousness. There are a huge number of injective functions as the number of edges increase. In the following section, we deal with giving some families of non-even harmonious graphs.

2. Non-Even Harmonious Graphs

For proving a specific connected graph is not even harmonious, we have only a parity condition in Theorem 1.6. For example, the cycles of order congruent to 2 modulo 4 are not even harmonious. Otherwise, for other graphs it is not an easy task to show that they are not even harmonious. In this section, we give some families which are not even harmonious.
The next result shows that the cycles of order congruent to 0 modulo 4 are not even harmonious besides the cycles of order congruent to 2 modulo 4 which comes from the parity condition in Theorem 1.6 and Theorem 1.7 shows that if a 2-regular graph consisting of disjoint union of cycles each of even order is even harmonious, then its size is congruent to 0 modulo 4.
Theorem 2.1. If C n is even harmonious, then n is odd.
Proof. Let f be an even harmonious labeling of C n .We may assume that all vertex labels of C n are even. Then
e E ( C n ) f * ( e ) 0 + 2 + + 2 n 2 n ( n 1 ) ( mod 2 n ) ( 1 )
On the other hand,
e E ( C n ) f * ( e ) = 2 v V ( C n ) f ( v ) 2 ( 0 + 2 + + 2 n 2 ) n ( 2 n 2 ) ( mod 2 n ) ( 2 )
Combining (1) and (2), we get
n ( 2 n 2 ) n ( n 1 ) ( mod 2 n ) , which implies that n ( n 1 ) 0 ( mod 2 n ) . Hence, n is odd.
The dragon( also called ballon, kite, or tadpole) graph D m , n is the graph obtained by identifying an end vertex of the path of size m to a vertex of the cycle C n as in the figure below.
Theorem 2.2. If m + n is odd, then D m , n is not even harmonious.
Proof Let D m , n be described as in Figure 1. Suppose that D m , n has an even harmonious labeling f : V ( D m , n ) 2 q , q = m + n , then
e E ( D m , n ) f * ( e ) 0 + 2 + + 2 q 2 q ( q 1 ) ( mod 2 q ) ( 1 )
On the other hand,
e E ( D m , n ) f * ( e ) f ( u 1 ) + 2 f ( u 2 ) + + 2 f ( u m ) + 3 f ( v 1 ) + 2 ( f ( v 2 ) + + f ( v n ) )
f ( u 1 ) + 3 f ( v 1 ) + 2 ( f ( u 2 ) + + f ( u m ) + f ( v 2 ) + + f ( v n ) )
f ( u 1 ) + 3 f ( v 1 ) + 2 ( q 2 ( 2 q 2 ) f ( u 1 ) f ( v 1 ) )
f ( v 1 ) f ( u 1 ) + q ( 2 q 2 ) ( mod 2 q ) ( 2 )
Combining (1) and (2), we get
f ( v 1 ) f ( u 1 ) q ( q 1 ) ( mod 2 q )
If q is odd, we will get f ( v 1 ) f ( u 1 ) ( mod 2 q ) , which contradicts the assumption that f is injective. Hence D m , n is not even harmonious when q = m + n is odd.
Figure 2 shows an even harmonious labeling of D 2 , 4 . We note that not all dragons of even order are even harmonious as we will show in Theorem 2.4. The following results show the even harmoniousness of some families of unicyclic graphs.
Theorem 2.3. Let G be the graph
Figure 3. then G is even harmonious if and only if n 0 ( mod 4 ) .
Figure 3. then G is even harmonious if and only if n 0 ( mod 4 ) .
Preprints 153941 g003
Proof Let q = E ( G ) = n + 4.
Suppose that G has an even harmonious labeling f with f ( v 0 ) = 0 , then there must exist distinct even positive integers 0 < 2 x 1 , 2 y 1 , 2 z 1 < 2 q such that
2 x 1 + 2 y 1 0 , 2 x 1 + 2 z 1 2 y 1 , 2 y 1 + 2 z 1 2 x 1 ( mod 2 q ) . Hence 4 z 1 0 ( mod 2 q ) and q = 2 z 1 . Therefore x 1 and y 1 have the same parity and z 1 must be even, then n 0 ( mod 4 ) .
Suppose that n 0 ( mod 4 ) . Define a bijection f : V ( G ) 2 q such that f ( v 0 ) = 0 , f ( x ) = q 2 , f ( y ) = 3 2 q , f ( z ) = q . Then one can easily checks that f is onto as well.
Theorem 2.4. Let G be the graph
Figure 4. then G is not even harmonious for all n 0 .
Figure 4. then G is not even harmonious for all n 0 .
Preprints 153941 g004
Proof Let q = E ( G ) = n + 4. Suppose that G has an even harmonious labeling f with f ( v 0 ) = 0 , then there exist distinct even positive integers 0 < 2 x 1 , 2 y 1 , 2 z 1 , 2 w 1 < 2 q such that Suppose that G has an even harmonious labeling f with f ( v 0 ) = 0 , then there must exist even positive integers 0 < 2 x 1 , 2 y 1 , 2 z 1 < 2 q such that
2 x 1 + 2 y 1 2 z 1 , 2 x 1 + 2 z 1 2 y 1 , 2 z 1 + 2 w 1 0 , 2 z 1 + 2 y 1 2 x 1 ( mod 2 q )
Or
2 x 1 + 2 y 1 2 z 1 , 2 x 1 + 2 z 1 2 y 1 , 2 z 1 + 2 w 1 2 x 1 , 2 z 1 + 2 y 1 0 ( mod 2 q ) .
The first line gives 4 x 1 4 z 1 0 ( mod 2 q ) which is absurd and the second line gives 2 w 1 2 z 1 ( mod 2 q ) which is absurd as well.
Let C m , n be the graph consisting of the two cycles of lengths m and n with one vertex in common. The even harmonious property of such graphs is investigated in the next two theorems.
Theorem 2.5. If C m , n is even harmonious then m + n 0 ( mod 4 ) .
Proof Suppose that C m , n is even harmonious and let u be the common vertex of the two cycles. Then G = C m , n K 1 ia again even harmonious, where V ( K 1 ) = { w } . Put q = E ( G ) = m + n . By Corollary ….. there exists a harmonious labeling f with f ( u ) = 0 , so that
q ( q 1 ) e E ( G ) f * ( e ) = ( 2 ( v V ( G ) f ( v ) ) f ( w ) ) ( mod 2 q ) q ( 2 q 2 ) f ( w ) ) ( mod 2 q )
If q is odd, we get f ( w ) f ( u ) 0 ( mod 2 q ) , which is absurd. Our result follows since C m , n is not even harmonious if m + n 2 ( mod 4 ) by Theorem …..
Theorem 2.6. C 3 , n is even harmonious if and only if n 1 ( mod 4 ) .
Proof Necessity follows from Theorem …. For sufficiency, suppose that n 1 ( mod 4 ) and V ( C 3 , n ) = { u , v , v 1 , v 2 , , v n } where u and v are the two vertices of the cycles C 3 in C 3 , n . Define the function
f : V ( C 3 , n ) 2 n + 6
by
f ( v i ) = i 1 , i o d d n + 1 2 i + 1 , n + 1 2 < i n n + 5 + i , i e v e n n 1 ,
f ( u ) = n + 3 , f ( v ) = n + 5.
Clearly, f is injective. We have
f ( v n v 1 ) = n + 1 , f ( u v 1 ) = n + 3 , f ( v v 1 ) = n + 5 , f ( u v ) = 2.
{ f ( v i v i + 1 ) 1 i n + 1 2 } = { n + 5 + 2 i 1 i n + 1 2 }
and
{ f ( v i v i + 1 ) n + 1 2 < i < n } = { n + 5 + 2 i + 2 n + 1 2 < i < n } = { 2 j 2 j n + 1 2 } ( mod 2 n + 6 ) .
Hence f is onto as desired.
The graph n K 3 is harmonious if and only if n is odd [4], while it is even harmonious for every positive integer n [13]. Also the graph n K 4 is harmonious for odd n [11], but n K 4 is even harmonious for every positive integer n [13]. In the following theorem we show that the graph K 4 K 2 is not harmonious, although this graph is even harmonious by labeling the vertices of K 4 by the labels 0,2,4, and 8 and the vertices of K 2 by the labels 5 and 9. Also the graph K 4 K 3 is even harmonious by labeling the vertices of K 4 by the labels 0, 4, and 6, and 8 and the vertices of K 3 by the labels 7, 9, and 11.
Theorem 2.7. K 4 K 2 is not harmonious.
Proof Let G = K 4 K 2 and suppose that f is an even harmonious of G where the labels of the vertices of K 4 are x 1 , x 2 , x 3 , x 4 and of the vertices of K 2 are a , b . We may assume that 0 Im ( f ) , so that
i = 1 4 x i + a + b 0 ( mod 7 )
and
e E ( G ) f * ( e ) 3 i = 1 4 x i + a + b 0 ( mod 7 ) .
Hence a + b 0 ( mod 7 ) and x i + x j 0 ( mod 7 ) for some 1 i , j 4 , i j , which is absurd.
Theorem 2.8. The graph obtained by attaching p and q ( p , q 0 ) pendant edges to the two vertices of degree n of the graph K 2 , n ( n 2 ) is not even harmonious.
Proof Let G be the graph appearing in Figure 5. The graph G consisting of e = 2 n + p + q edges. Suppose that G is even harmonious, Since every vertex in even harmonious graph can delivered the label zero, we may label the vertex v 0 by 0, and we label all the remaining vertices of the graph with the labels from 2 to 2 e 2 except the vertex u 0 which will be labeled 2 s . Now, the edge label 2 s can never be obtained, since if we could obtain the label 2 s , then there would exist a vertex label 2 x to one of the vertices w i or u j ( i 1 , j 0 ) such that
2 s + 2 x 2 s ( mod 2 e ) , 2 x { 2 , 4 , , e q 2 } \ { 2 s } which is impossible, and hence the graph is not even harmonious.

Funding

This work was supported and funded by the Deanship of Scientific Research at Imam Mohammad Ibn Saud Islamic University (IMSIU) (grant number IMSIU-DDRSP2502).

References

  1. Chang, G.J.; Hsu, D.F.; Rogers, D.G. Additive variations on a graceful theme: some results on harmonious and other related graphs. Congressus Numer. 1981, 32, 181–197. [Google Scholar]
  2. Chartrand, G.; Lesniak-Foster, L. Graphs and Digraphs, 3nd ed.; CRC Press: Boca Raton, FL, USA, 1996. [Google Scholar]
  3. Figueroa-Centeno, R.; Ichishima, R.; Muntaner-Batle, F.; Oshima, A. A magical approach to some labeling conjectures, Discuss. Math. Graph Theory 2011, 31, 79–113. [Google Scholar] [CrossRef]
  4. Gallian, J.A. A dynamic survey of graph labeling, Elect. J. Combin., (2024) #DS6. http://www.combinatorics.org/ojs/index.php/eljc/article/view/DS6.
  5. Gallian, J.A.; Schoenhard, L.A. Even harmonious graphs. AKCE Int. J. Graphs Combin. 2014, 11, 27–49. [Google Scholar]
  6. Gallian, J.A.; Stewart, D. Properly even harmonious labelings of disjoint unions with even sequential graphs. J. Graph Labeling 2015, 1, 1–10. [Google Scholar]
  7. Grace, T. On sequential labelings of graphs. J. Graph Theory 1983, 7, 195–201. [Google Scholar] [CrossRef]
  8. Graham, R.L.; Sloane, N.J.A. On additive bases and harmonious graphs. SIAM J. Alg. Discrete Methods 1980, 1, 382–404. [Google Scholar] [CrossRef]
  9. Lee, S.M.; Schmeichel, E.; Shee, S.C. On felicitous graphs. Discrete Math 1991, 93, 201–209. [Google Scholar] [CrossRef]
  10. Sarasija, P.B.; Binthiya, R. Even harmonious graphs with applications. Int. J. Comput. Sci. Infor. Security 2011, 9, 161–163. [Google Scholar]
  11. Youssef, M.Z. Two general results on harmonious labelings. Ars Combin. 2003, 68, 225–230. [Google Scholar]
  12. Youssef, M.Z. Note on even harmonious labeling of cycles. Utilitas Math. 2016, 100, 137–142. [Google Scholar]
  13. Youssef, M.Z. On even harmonious labelings. Utilitas Math. 2019, 110, 243–253. [Google Scholar]
  14. Youssef, M.Z.; Aljouiee, A. Even harmonious labeling of disjoint cycles, preprint.
Figure 1. The dragon D m , n .
Figure 1. The dragon D m , n .
Preprints 153941 g001
Figure 2. Even harmonious labeling of D 2 , 4 .
Figure 2. Even harmonious labeling of D 2 , 4 .
Preprints 153941 g002
Figure 5. xx.
Figure 5. xx.
Preprints 153941 g005
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated