Skip to Content
MathematicsMathematics
  • Article
  • Open Access

10 October 2026

15 Pages

Modular Total H-Irregularity Strength of Graphs

,
and
1
Department of Applied Mathematics and Informatics, Technical University, 042 00 Košice, Slovakia
2
Division of Mathematics, Saveetha School of Engineering, SIMATS, Chennai 602 105, India
*
Author to whom correspondence should be addressed.

Abstract

We investigate the modular total H-irregularity strength, a modular variant of the total H-irregularity strength of graphs. We establish a sufficient condition under which these two graph invariants coincide. As applications of this result, we determine the exact values of the modular total H-irregularity strength for several graph families. In each case, the obtained value attains the corresponding lower bound, proving that the bound is sharp.

1. Introduction

Let G = ( V , E ) be a simple graph with vertex set V ( G ) and edge set E ( G ) . A labeling of a graph is a map that carries graph elements to the positive or non-negative integers. If the domain is the vertex (edge) set alone or the set of all vertices and edges, the labelings are respectively called vertex (edge) labelings or total labelings.
For a graph G and a positive integer k, Bača et al. [1] introduced a total labeling ψ : V ( G ) ∪ E ( G ) → { 1 ,   2 , … , k } called an edge irregular total k-labeling having the property that distinct edges of G have distinct total edge weights, where the total edge weight of an edge x y is defined as w t ψ ( x y ) = ψ ( x ) + ψ ( x y ) + ψ ( y ) . The minimum k for which G has an edge irregular total k-labeling is called the total edge irregularity strength of G, abbreviated as tes ( G ) .
A lower bound on the total edge irregularity strength of a graph G of maximum degree Δ ( G ) is given in [1] in the following form
tes ( G ) ≥ max | E ( G ) | + 2 3 , Δ ( G ) + 1 2 .
Ivančo and Jendrol’ [2] posed a conjecture that for all graphs different from K 5 the total edge irregularity strength is exactly the maximum of these two values, namely, ( | E ( G ) | + 2 ) / 3 and ( Δ ( G ) + 1 ) / 2 . This conjecture has been verified for complete graphs and complete bipartite graphs in [3,4], for large dense graphs with ( | E ( G ) | + 2 ) / 3 ≤ ( Δ ( G ) + 1 ) / 2 in [5], for generalized Petersen graphs in [6], for generalized prisms in [7], for the categorical product of two cycles in [8] and for the corona product of a path with certain graphs in [9].
The vertex analog of this invariant, the total vertex irregularity strength, have been extensively studied; see, for example, [10,11,12].
These classical invariants distinguish individual edges or vertices by their weights. The total H-irregularity strength extends this approach by requiring distinct weights for subgraphs isomorphic to a prescribed graph H. Although the total H-irregularity strength and the modular vertex and edge H-irregularity strengths have been investigated, their modular total counterpart has not yet been studied. This is the research gap addressed in the present paper.
An edge-covering of G is a family C = { H 1 , H 2 , … , H t } of subgraphs of G such that every edge of G belongs to at least one member of C . If every H i is isomorphic to a given graph H, then C is called an H-covering of G, see [13].
Let G be a graph admitting an H-covering, and let H 1 , H 2 , … , H t denote all subgraphs of G isomorphic to H. For a subgraph H ⊆ G under the total k-labeling ψ , the associated H-weight is defined as the sum of the labels of all vertices and edges belonging to H, i.e.,
w t ψ ( H ) = ∑ x ∈ V ( H ) ψ ( x ) + ∑ e ∈ E ( H ) ψ ( e ) .
A total k-labeling ψ is called an H-irregular total k-labeling if the H-weights of all subgraphs isomorphic to H are distinct, that is, w t ψ ( H i ) ≠ w t ψ ( H j ) for every 1 ≤ i < j ≤ t . The minimum k for which G has an H-irregular total k-labeling is called the total H-irregularity strength of G, denoted by ths ( G , H ) .
The total H-irregularity strength is finite for every graph admitting an H-covering. More precisely, it was proved in [14] that ths ( G , H ) ≤ 2 | E ( G ) | − 1 .
Clearly, the total K 2 -irregularity strength of a graph G is equivalent to the total edge irregularity strength, that is ths ( G , K 2 ) = tes ( G ) . The concept of the total H-irregularity strength and its lower bound were introduced by Ashraf et al. in [14]. The lower bound follows from the observation that the minimum possible H-weight is | V ( H ) | + | E ( H ) | , attained when every vertex and every edge of H receives the label 1. Since G contains t subgraphs isomorphic to H and all their weights must be distinct, the largest H-weight is at least | V ( H ) | + | E ( H ) | + t − 1 .
Theorem 1
([14]). Let G be a graph admitting an H-covering containing exactly t subgraphs isomorphic to H. Then,
ths ( G , H ) ≥ 1 + t − 1 | V ( H ) | + | E ( H ) | .
Theorem 1 immediately implies the known lower bound for the total edge irregularity strength proved in [1].
Corollary 1
([14]). Let G = ( V , E ) be a graph having a non-empty edge set. Then,
ths ( G , K 2 ) = tes ( G ) ≥ | E ( G ) | + 2 3 .
The lower bound (2) is sharp, as demonstrated by the following results for paths, fans and ladders. Recall that the fan graph F n is obtained by joining every vertex of the path P n to an additional vertex and G □ H denotes the Cartesian product of graphs G and H.
Theorem 2
([14]). Let P n be a path on n vertices, n ≥ 2 , and let m be a positive integer, 2 ≤ m ≤ n . Then,
ths ( P n , P m ) = m + n − 1 2 m − 1 .
Theorem 3
([15]). Let F n , n ≥ 2 , be a fan graph on n + 1 vertices admitting F m -covering, where m is a positive integer, 2 ≤ m ≤ n . Then,
ths ( F n , F m ) = 2 m + n 3 m .
Theorem 4
([15]). Let L n ≅ P n □ P 2 , n ≥ 2 , be a ladder admitting L m -covering, where m is a positive integer, 2 ≤ m ≤ n . Then,
ths ( L n , L m ) = 4 m + n − 2 5 m − 2 .
In some cases the H-weights are not only distinct, but they also form a set of consecutive integers, allowing each copy of H to be uniquely identified by its weight. A natural relaxation of this requirement is to require only that the H-weights are distinct modulo the number t of subgraphs isomorphic to H. This motivates the following modular version of the total H-irregularity strength.
Let H 1 , H 2 , … , H t be all subgraphs of G isomorphic to H, and let Z t be the group of integers modulo t. A function ψ : V ( G ) ∪ E ( G ) → { 1 , 2 , … , k } is called a modular H-irregular total k-labeling if the weight function
λ : { H 1 , H 2 , … , H t } → Z t
defined by
λ ( H i ) ≡ w t ψ ( H i ) ( mod t )
is bijective, where w t ψ ( H i ) denotes the H-weight of H i , i.e.,
w t ψ ( H i ) = ∑ x ∈ V ( H i ) ψ ( x ) + ∑ e ∈ E ( H i ) ψ ( e ) .
The value λ ( H i ) is called the modular weight of H i . The modular total H-irregularity strength, denoted by mths ( G , H ) , is the minimum k for which G admits a modular H-irregular total k-labeling. If no modular H-irregular total labeling of G exists, we set mths ( G , H ) = ∞ .
Note that in [16], we introduced the vertex and edge versions of the modular H-irregularity strength, namely, the modular vertex H-irregularity strength mvhs ( G , H ) and the modular edge H-irregularity strength mehs ( G , H ) , respectively. In that paper, we established the corresponding lower bounds and showed their sharpness. The modular total H-irregularity strength introduced here is a natural extension of both mvhs ( G , H ) and mehs ( G , H ) , and its lower bound provides a unified extension of the corresponding lower bounds for these two invariants.
When H ≅ K 2 , the modular total H-irregularity strength mths ( G , H ) coincides with the modular total edge irregularity strength mtes ( G ) , introduced by Bača et al. in [17]. The exact values of the modular total edge irregularity strength were determined in [17] for cycles, stars, n-sun graphs, friendship graphs, wheels, 3-regular circulant graphs C 2 n ( 1 , n ) and the two 4-regular circulant graphs C n ( 1 , 2 ) and C n ( 1 , 3 ) .
In this paper, we study the existence of modular H-irregular total k-labelings for certain families of graphs and determine the exact values of the modular total H-irregularity strength for these graph families. We also establish a general necessary condition for the existence of such labelings and identify infinite classes for which the modular parameter is infinite. For paths, fans, ladders, strong ladders, ladder-wing graphs, and strong ladder-wing graphs, we construct modular H-irregular total labelings attaining the corresponding lower bounds.

2. Main Results

We first give a necessary condition for the existence of a modular H-irregular total labeling. For each x ∈ V ( G ) ∪ E ( G ) , let c ( x ) denote the number of subgraphs of G isomorphic to H that contain x.
Theorem 5.
Let G be a graph containing exactly t subgraphs isomorphic to H, and let d be the greatest common divisor of t and all the numbers c ( x ) , x ∈ V ( G ) ∪ E ( G ) . If G admits a modular H-irregular total labeling, then d must divide t ( t − 1 ) / 2 , that is,
d ∣ t ( t − 1 ) 2 .
Proof. 
Let H 1 , H 2 , … , H t be all subgraphs of G isomorphic to H, and suppose that ψ is a modular H-irregular total labeling of G. Since the H-weights represent all residue classes modulo t, we have
∑ i = 1 t w t ψ ( H i ) ≡ ∑ j = 0 t − 1 j = t ( t − 1 ) 2 ( mod t ) .
On the other hand, each label ψ ( x ) , where x ∈ V ( G ) ∪ E ( G ) , occurs in this sum exactly c ( x ) times. Therefore,
∑ i = 1 t w t ψ ( H i ) = ∑ x ∈ V ( G ) ∪ E ( G ) c ( x ) ψ ( x ) .
By the definition of d, every c ( x ) and also t are divisible by d. Hence,
∑ i = 1 t w t ψ ( H i ) ≡ 0 ( mod d ) .
Since congruence modulo t implies congruence modulo d, it follows that
t ( t − 1 ) 2 ≡ 0 ( mod d ) .
Therefore, d ∣ t ( t − 1 ) / 2 . □
Corollary 2.
Let G be a graph containing exactly t subgraphs isomorphic to H. If t ≡ 2 ( mod 4 ) and c ( x ) is even for every x ∈ V ( G ) ∪ E ( G ) , then G admits no modular H-irregular total labeling.
Proof. 
Under the assumptions, d is even, whereas t ( t − 1 ) / 2 is odd. Therefore, d does not divide t ( t − 1 ) / 2 , and the result follows from Theorem 5. □
It is known that ths ( G , H ) is finite for every graph admitting an H-covering, see [14]. In contrast, Corollary 2 shows that mths ( G , H ) need not be finite.
Corollary 3.
Let m and n be positive integers such that 2 ≤ m ≤ n . If n m ≡ 2 ( mod 4 ) and both n − 1 m − 1 and n − 2 m − 2 are even, then
mths ( K n , K m ) = ∞ .
Proof. 
The copies of K m in K n are determined by choosing m vertices from the n vertices of K n . Hence, K n contains n m subgraphs isomorphic to K m . A fixed vertex of K n belongs to n − 1 m − 1 copies of K m , since the remaining m − 1 vertices can be chosen from the other n − 1 vertices. Similarly, a fixed edge belongs to n − 2 m − 2 copies of K m . The result follows from Corollary 2. □
The general upper bound for the total H-irregularity strength established in [14] implies that ths ( K n , K m ) < ∞ . Hence, under the assumptions of Corollary 3, a K m -irregular total labeling of K n exists, whereas a modular K m -irregular total labeling does not exist.
As a particular case, let m = 4 . Direct calculation shows that the assumptions of Corollary 3 are satisfied when n ≡ 10 or 11 ( mod 16 ) . Consequently, for every nonnegative integer q,
ths ( K 16 q + 10 , K 4 ) < ∞ , mths ( K 16 q + 10 , K 4 ) = ∞ ,
and
ths ( K 16 q + 11 , K 4 ) < ∞ , mths ( K 16 q + 11 , K 4 ) = ∞ .
Since every modular H-irregular total k-labeling of a graph G is also an H-irregular total k-labeling of G, we have
ths ( G , H ) ≤ mths ( G , H ) .
This immediately yields a lower bound for the corresponding modular graph invariant. In general, the converse of (3) does not hold. However, the next theorem provides a sufficient condition under which an H-irregular total k-labeling of a graph G is also a modular H-irregular total k-labeling.
Theorem 6.
Let G be a simple graph admitting an H-covering with ths ( G , H ) = k . If there exists an H-irregular total k-labeling whose H-weights form a set of consecutive integers, then
ths ( G , H ) = mths ( G , H ) = k .
Proof. 
Let H 1 , H 2 , … , H t be all subgraphs of G isomorphic to H, and let ψ be an H-irregular total k-labeling whose H-weights form a set of consecutive integers. Since there are exactly t such weights, they can be written as a , a + 1 , … , a + t − 1 for some integer a. Their residues modulo t are pairwise distinct and therefore represent all elements of Z t . Hence, ψ is also a modular H-irregular total k-labeling, and thus mths ( G , H ) ≤ k .
On the other hand, (3) and the assumption ths ( G , H ) = k imply that k = ths ( G , H ) ≤ mths ( G , H ) . Therefore, ths ( G , H ) = mths ( G , H ) = k . □
In the proof of Theorem 2, a P m -irregular total ( m + n − 1 ) / ( 2 m − 1 ) -labeling of P n is constructed whose P m -weights form a set of consecutive integers. Therefore, by Theorem 6 we obtain the next corollary.
Corollary 4.
Let P n be a path on n vertices, n ≥ 2 , and let m be a positive integer, 2 ≤ m ≤ n . Then
mths ( P n , P m ) = m + n − 1 2 m − 1 .
The existence of an F m -irregular total ( 2 m + n ) / 3 m -labeling of F n is established in the proof of Theorem 3. Moreover, it is shown that the difference between the weights of the subgraphs F m j + 1 and F m j is one for every j = 1 , 2 , … , n − m . Hence, the corresponding F m -weights form a set of consecutive integers, and Theorem 6 yields the following corollary.
Corollary 5.
Let F n , n ≥ 2 , be a fan graph on n + 1 vertices admitting F m -covering, where m is a positive integer, 2 ≤ m ≤ n . Then,
mths ( F n , F m ) = 2 m + n 3 m .
In the proof of Theorem 4, an L m -irregular total labeling ψ m of L n is defined such that the L m -weights under ψ m form a set of consecutive integers. Hence, by Theorem 6, ψ m is also a modular L m -irregular total ( 4 m + n − 2 ) / ( 5 m − 2 ) -labeling of L n , and thus we obtain the following result.
Corollary 6.
Let L n ≅ P n □ P 2 , n ≥ 2 , be a ladder admitting L m -covering, where m is a positive integer, 2 ≤ m ≤ n . Then
mths ( L n , L m ) = 4 m + n − 2 5 m − 2 .
The previous corollaries show that equality holds in (3) for paths, fans and ladders. Moreover, in each case, the common value of ths ( G , H ) and mths ( G , H ) attains the lower bound given in Theorem 1, showing that this bound is sharp for these graph families.
We next investigate the modular total H-irregularity strength for several graph families derived from ladder graphs.
The strong ladder  R n ≅ P n ⊠ P 2 , n ≥ 2 , is the strong product of the paths P n and P 2 . Its vertex set is V ( R n ) = { x i , y i : i = 1 , 2 , … , n } and its edge set is E ( R n ) = { x i x i + 1 , y i y i + 1 , x i y i + 1 , x i + 1 y i : i = 1 , 2 , … , n − 1 } ∪ { x i y i : i = 1 , 2 , … , n } . The following theorem gives the exact value of the modular total H-irregularity strength for the strong ladder R n , where H ≅ R m , for 2 ≤ m ≤ n .
Theorem 7.
Let R n ≅ P n ⊠ P 2 , n ≥ 2 , be a strong ladder, and let m be a positive integer such that 2 ≤ m ≤ n . Then
mths ( R n , R m ) = ths ( R n , R m ) = 6 m + n − 4 7 m − 4 .
Proof. 
Let n , m be positive integers, 2 ≤ m ≤ n . Put k = ( 6 m + n − 4 ) / ( 7 m − 4 ) .
The strong ladder R n ≅ P n ⊠ P 2 , n ≥ 2 , admits an R m -covering consisting of exactly t = n − m + 1 subgraphs isomorphic to R m . From Theorem 1 it follows that ths ( R n , R m ) ≥ k . To prove the reverse inequality, we define a suitable R m -irregular total labeling ψ m : V ( R n ) ∪ E ( R n ) → { 1 , 2 , … , k } in the following way:
ψ m ( x i ) = 6 m − 4 + i 7 m − 4 , for i = 1 , 2 , … , n , ψ m ( y i ) = 5 m − 4 + i 7 m − 4 , for i = 1 , 2 , … , n , ψ m ( x i y i ) = 2 m − 2 + i 7 m − 4 , for i = 1 , 2 , … , n , ψ m ( x i x i + 1 ) = 4 m − 3 + i 7 m − 4 , for i = 1 , 2 , … , n − 1 , ψ m ( y i y i + 1 ) = 3 m − 2 + i 7 m − 4 , for i = 1 , 2 , … , n − 1 , ψ m ( x i y i + 1 ) = m − 1 + i 7 m − 4 , for i = 1 , 2 , … , n − 1 , ψ m ( x i + 1 y i ) = i 7 m − 4 , for i = 1 , 2 , … , n − 1 .
For every 1 ≤ i ≤ n − 1 we have
ψ m ( x i + 1 y i ) ≤ ψ m ( x i y i + 1 ) ≤ ψ m ( x i y i ) ≤ ψ m ( y i y i + 1 ) ≤ ψ m ( x i x i + 1 ) ≤ ψ m ( y i ) ≤ ψ m ( x i ) ≤ k ,
thus ψ m is a total k-labeling.
In the calculations below, we repeatedly use the identity ( A + D ) / D = A / D + 1 , valid for every integer A and every positive integer D, together with the specified ranges of the indices.
For the R m -weight of the strong ladder R m j , j = 1 , 2 , … , n − m + 1 , under the total k-labeling ψ m we obtain
w t ψ m ( R m j ) = ∑ x ∈ V ( R m j ) ψ m ( x ) + ∑ e ∈ E ( R m j ) ψ m ( e ) = ∑ i = j m + j − 1 ψ m ( x i ) + ψ m ( y i ) + ψ m ( x i y i ) + ∑ i = j m + j − 2 ψ m ( x i x i + 1 ) + ψ m ( y i y i + 1 ) + ψ m ( x i y i + 1 ) + ψ m ( x i + 1 y i ) .
In particular, for j = 1 , we have
w t ψ m ( R m 1 ) = ∑ i = 1 m ψ m ( x i ) + ψ m ( y i ) + ψ m ( x i y i ) + ∑ i = 1 m − 1 ψ m ( x i x i + 1 ) + ψ m ( y i y i + 1 ) + ψ m ( x i y i + 1 ) + ψ m ( x i + 1 y i ) = ∑ i = 1 m 6 m − 4 + i 7 m − 4 + 5 m − 4 + i 7 m − 4 + 2 m − 2 + i 7 m − 4 + ∑ i = 1 m − 1 4 m − 3 + i 7 m − 4 + 3 m − 2 + i 7 m − 4 + m − 1 + i 7 m − 4 + i 7 m − 4 = ∑ i = 1 m 3 + ∑ i = 1 m − 1 4 = 3 m + 4 ( m − 1 ) = 7 m − 4 .
For the difference between the weights of the subgraphs R m j + 1 and R m j for j = 1 , 2 , … , n − m we obtain
w t ψ m ( R m j + 1 ) − w t ψ m ( R m j ) = ψ m ( x m + j ) + ψ m ( y m + j ) + ψ m ( x m + j y m + j ) + ψ m ( x m + j − 1 x m + j ) + ψ m ( y m + j − 1 y m + j ) + ψ m ( x m + j − 1 y m + j ) + ψ m ( x m + j y m + j − 1 ) − ψ m ( x j ) − ψ m ( y j ) − ψ m ( x j y j ) − ψ m ( x j x j + 1 ) − ψ m ( y j y j + 1 ) − ψ m ( x j y j + 1 ) − ψ m ( x j + 1 y j ) = 6 m − 4 + m + j 7 m − 4 + 5 m − 4 + m + j 7 m − 4 + 2 m − 2 + m + j 7 m − 4 + 4 m − 3 + m + j − 1 7 m − 4 + 3 m − 2 + m + j − 1 7 m − 4 + m − 1 + m + j − 1 7 m − 4 + m + j − 1 7 m − 4 − 6 m − 4 + j 7 m − 4 − 5 m − 4 + j 7 m − 4 − 2 m − 2 + j 7 m − 4 − 4 m − 3 + j 7 m − 4 − 3 m − 2 + j 7 m − 4 − m − 1 + j 7 m − 4 − j 7 m − 4 = 1 .
Hence, the R m -weights form a sequence of consecutive integers from 7 m − 4 to 6 m + n − 4 . Therefore, by Theorem 6, we conclude that mths ( R n , R m ) = ths ( R n , R m ) = k . This completes the proof. □
The lower bound in Theorem 1 can be improved if all copies of H share some graph elements. The labels assigned to these common vertices and edges contribute the same amount to every H-weight and therefore cannot be used to distinguish the weights. This observation yields the following lower bound.
Theorem 8.
Let G be a graph containing exactly t subgraphs H 1 , H 2 , … , H t isomorphic to H. Let S be a set of graph elements common to all the subgraphs H 1 , H 2 , … , H t , that is, S ⊆ ⋂ i = 1 t V ( H i ) ∪ E ( H i ) . If | V ( H ) | + | E ( H ) | − | S | > 0 , then
ths ( G , H ) ≥ 1 + t − 1 | V ( H ) | + | E ( H ) | − | S | .
Proof. 
Let ψ be an H-irregular total k-labeling of G, and put σ = ∑ a ∈ S ψ ( a ) .
Each subgraph H i contains exactly | V ( H ) | + | E ( H ) | − | S | graph elements outside S. Therefore, its weight is at least | V ( H ) | + | E ( H ) | − | S | + σ and at most | V ( H ) | + | E ( H ) | − | S | k + σ . Since the t weights are pairwise distinct integers, the largest one is at least | V ( H ) | + | E ( H ) | − | S | + σ + t − 1 . Consequently,
| V ( H ) | + | E ( H ) | − | S | + σ + t − 1 ≤ | V ( H ) | + | E ( H ) | − | S | k + σ ,
which gives
k ≥ 1 + t − 1 | V ( H ) | + | E ( H ) | − | S | .
□
Recall that L n ≅ P n □ P 2 , n ≥ 2 , denotes the ladder graph. The ladder-wing graph  L W n , n ≥ 2 , is obtained from L n by joining every vertex of L n to an additional vertex z. Thus, V ( L W n ) = { z , x i , y i : i = 1 , 2 , … , n } and E ( L W n ) = { x i x i + 1 , y i y i + 1 : i = 1 , 2 , … , n − 1 } ∪ { x i y i , z x i , z y i : i = 1 , 2 , … , n } . The next theorem gives the exact value of the modular total H-irregularity strength for L W n , where H ≅ L W m , 2 ≤ m ≤ n .
Theorem 9.
Let L W n , n ≥ 2 , be a ladder-wing graph, and let m be a positive integer such that 2 ≤ m ≤ n . Then,
mths ( L W n , L W m ) = ths ( L W n , L W m ) = 6 m + n − 2 7 m − 2 .
Proof. 
Let L W n , n ≥ 2 , be a ladder-wing graph. For every m, 2 ≤ m ≤ n , the ladder-wing graph L W n admits a L W m -covering with exactly t = n − m + 1 subgraphs. Put k = ( 6 m + n − 2 ) / ( 7 m − 2 ) . Since the vertex z belongs to all these subgraphs and | V ( L W m ) | + | E ( L W m ) | = 7 m − 1 , Theorem 8, applied with S = { z } , gives
ths ( L W n , L W m ) ≥ 1 + n − m 7 m − 2 = 6 m + n − 2 7 m − 2 = k .
To prove the reverse inequality, it suffices to construct an L W m -irregular total k-labeling of L W n .
Let ψ m : V ( L W n ) ∪ E ( L W n ) → { 1 , 2 , … , k } be a total labeling defined such that
ψ m ( z ) = 1 , ψ m ( x i ) = 5 m − 2 + i 7 m − 2 ,           for i = 1 , 2 , … , n , ψ m ( y i ) = 6 m − 2 + i 7 m − 2 ,           for i = 1 , 2 , … , n , ψ m ( x i y i ) = 2 m + i 7 m − 2 ,                 for i = 1 , 2 , … , n , ψ m ( x i x i + 1 ) = 3 m + i 7 m − 2 ,                 for i = 1 , 2 , … , n − 1 , ψ m ( y i y i + 1 ) = 4 m − 1 + i 7 m − 2 ,           for i = 1 , 2 , … , n − 1 , ψ m ( x i z ) = i 7 m − 2 ,                 for i = 1 , 2 , … , n , ψ m ( y i z ) = m + i 7 m − 2 ,                 for i = 1 , 2 , … , n .
For every admissible index i, we have
ψ m ( x i z ) ≤ ψ m ( y i z ) ≤ ψ m ( x i y i ) ≤ ψ m ( x i x i + 1 ) ≤ ψ m ( y i y i + 1 ) ≤ ψ m ( x i ) ≤ ψ m ( y i ) ≤ 6 m + n − 2 7 m − 2 .
Thus, for j = 1 , 2 , … , n − m + 1 , we have
w t ψ m ( L W m j ) = ∑ x ∈ V ( L W m j ) ψ m ( x ) + ∑ e ∈ E ( L W m j ) ψ m ( e ) = ∑ i = j m + j − 1 ψ m ( x i ) + ψ m ( y i ) + ψ m ( x i y i ) + ψ m ( x i z ) + ψ m ( y i z ) + ψ m ( z ) + ∑ i = j m + j − 2 ψ m ( x i x i + 1 ) + ψ m ( y i y i + 1 ) .
For j = 1 , we obtain
w t ψ m ( L W m 1 ) = ∑ i = 1 m ψ m ( x i ) + ψ m ( y i ) + ψ m ( x i y i ) + ψ m ( x i z ) + ψ m ( y i z ) + ψ m ( z ) + ∑ i = 1 m − 1 ψ m ( x i x i + 1 ) + ψ m ( y i y i + 1 ) = ∑ i = 1 m 5 m − 2 + i 7 m − 2 + 6 m − 2 + i 7 m − 2 + 2 m + i 7 m − 2 + i 7 m − 2 + m + i 7 m − 2 + 1 + ∑ i = 1 m − 1 3 m + i 7 m − 2 + 4 m − 1 + i 7 m − 2 = ∑ i = 1 m 5 + 1 + ∑ i = 1 m − 1 2 = 5 m + 1 + 2 ( m − 1 ) = 7 m − 1 .
Now consider the difference between the weights of the subgraphs L W m j + 1 and L W m j , where j = 1 , 2 , … , n − m .
w t ψ m ( L W m j + 1 ) − w t ψ m ( L W m j ) = ψ m ( x m + j ) + ψ m ( y m + j ) + ψ m ( x m + j − 1 x m + j ) + ψ m ( y m + j − 1 y m + j ) + ψ m ( x m + j y m + j ) + ψ m ( x m + j z ) + ψ m ( y m + j z ) − ψ m ( x j ) − ψ m ( y j ) − ψ m ( x j x j + 1 ) − ψ m ( y j y j + 1 ) − ψ m ( x j y j ) − ψ m ( x j z ) − ψ m ( y j z ) = 6 m − 2 + m + j 7 m − 2 + 5 m − 2 + m + j 7 m − 2 + 4 m − 1 + m + j − 1 7 m − 2 + 3 m + m + j − 1 7 m − 2 + 2 m + m + j 7 m − 2 + m + m + j 7 m − 2 + m + j 7 m − 2 − 6 m − 2 + j 7 m − 2 − 5 m − 2 + j 7 m − 2 − 4 m − 1 + j 7 m − 2 − 3 m + j 7 m − 2 − 2 m + j 7 m − 2 − m + j 7 m − 2 − j 7 m − 2 = 1 .
Hence, the L W m j -weights form the sequence of consecutive integers from 7 m − 1 up to 6 m + n − 1 . Therefore, by Theorem 6, we conclude that mths ( L W n , L W m ) = ths ( L W n , L W m ) = ( 6 m + n − 2 ) / ( 7 m − 2 ) . □
The strong ladder-wing graph  R W n , n ≥ 2 , is obtained from the strong ladder R n ≅ P n ⊠ P 2 by joining every vertex of R n to an additional vertex z. Thus, V ( R W n ) = { z , x i , y i : i = 1 , 2 , … , n } and E ( R W n ) = { x i x i + 1 , y i y i + 1 , x i y i + 1 , x i + 1 y i : i = 1 , 2 , … , n − 1 } ∪ { x i y i , x i z , y i z : i = 1 , 2 , … , n } .
The following theorem gives the exact value of the modular total H-irregularity strength for the strong ladder-wing graph R W n , where H ≅ R W m , 2 ≤ m ≤ n .
Theorem 10.
Let R W n , n ≥ 2 , be a strong ladder-wing graph, and let m be a positive integer such that 2 ≤ m ≤ n . Then,
mths ( R W n , R W m ) = ths ( R W n , R W m ) = 8 m + n − 4 9 m − 4 .
Proof. 
Let n and m be positive integers such that 2 ≤ m ≤ n . The strong ladder-wing graph R W n contains exactly t = n − m + 1 subgraphs isomorphic to R W m . Put k = ( 8 m + n − 4 ) / ( 9 m − 4 ) . Since the vertex z belongs to all these subgraphs and | V ( R W m ) | + | E ( R W m ) | = 9 m − 3 , Theorem 8, applied with S = { z } , gives
ths ( R W n , R W m ) ≥ 1 + n − m 9 m − 4 = 8 m + n − 4 9 m − 4 = k .
It remains to construct an R W m -irregular total k-labeling of R W n .
Let ψ m : V ( R W n ) ∪ E ( R W n ) → { 1 , 2 , … , k } be a total labeling defined as follows:
ψ m ( z ) = 1 , ψ m ( x i ) = 8 m − 4 + i 9 m − 4 ,           for i = 1 , 2 , … , n , ψ m ( y i ) = 7 m − 4 + i 9 m − 4 ,           for i = 1 , 2 , … , n , ψ m ( x i y i ) = 4 m − 2 + i 9 m − 4 ,           for i = 1 , 2 , … , n , ψ m ( x i x i + 1 ) = 6 m − 3 + i 9 m − 4 ,           for i = 1 , 2 , … , n − 1 , ψ m ( y i y i + 1 ) = 5 m − 2 + i 9 m − 4 ,           for i = 1 , 2 , … , n − 1 , ψ m ( x i y i + 1 ) = 3 m − 1 + i 9 m − 4 ,           for i = 1 , 2 , … , n − 1 , ψ m ( x i + 1 y i ) = 2 m + i 9 m − 4 ,                 for i = 1 , 2 , … , n − 1 , ψ m ( x i z ) = m + i 9 m − 4 ,                 for i = 1 , 2 , … , n , ψ m ( y i z ) = i 9 m − 4 ,                 for i = 1 , 2 , … , n .
For every admissible index i,
ψ m ( y i z ) ≤ ψ m ( x i z ) ≤ ψ m ( x i + 1 y i ) ≤ ψ m ( x i y i + 1 ) ≤ ψ m ( x i y i ) ≤ ψ m ( y i y i + 1 ) ≤ ψ m ( x i x i + 1 ) ≤ ψ m ( y i ) ≤ ψ m ( x i ) ≤ 8 m + n − 4 9 m − 4 .
Thus, ψ m is a total ( 8 m + n − 4 ) / ( 9 m − 4 ) -labeling.
For the R W m -weight of the strong ladder-wing graph R W m j , j = 1 , 2 , … , n − m + 1 , under the total labeling ψ m , we obtain
w t ψ m ( R W m j ) = ∑ x ∈ V ( R W m j ) ψ m ( x ) + ∑ e ∈ E ( R W m j ) ψ m ( e ) = ∑ i = j m + j − 1 ψ m ( x i ) + ψ m ( y i ) + ψ m ( x i y i ) + ψ m ( x i z ) + ψ m ( y i z ) + ψ m ( z ) + ∑ i = j m + j − 2 ψ m ( x i x i + 1 ) + ψ m ( y i y i + 1 ) + ψ m ( x i y i + 1 ) + ψ m ( x i + 1 y i ) .
In particular, for j = 1 , we have
w t ψ m ( R W m 1 ) = ∑ i = 1 m ψ m ( x i ) + ψ m ( y i ) + ψ m ( x i y i ) + ψ m ( x i z ) + ψ m ( y i z ) + ψ m ( z ) + ∑ i = 1 m − 1 ψ m ( x i x i + 1 ) + ψ m ( y i y i + 1 ) + ψ m ( x i y i + 1 ) + ψ m ( x i + 1 y i ) = ∑ i = 1 m 5 + 1 + ∑ i = 1 m − 1 4 = 5 m + 1 + 4 ( m − 1 ) = 9 m − 3 .
Next, we evaluate the difference between the weights of the subgraphs R W m j + 1 and R W m j for j = 1 , 2 , … , n − m .
w t ψ m ( R W m j + 1 ) − w t ψ m ( R W m j ) = ψ m ( x m + j ) + ψ m ( y m + j ) + ψ m ( x m + j y m + j ) + ψ m ( x m + j − 1 x m + j ) + ψ m ( y m + j − 1 y m + j ) + ψ m ( x m + j − 1 y m + j ) + ψ m ( x m + j y m + j − 1 ) + ψ m ( x m + j z ) + ψ m ( y m + j z ) − ψ m ( x j ) − ψ m ( y j ) − ψ m ( x j y j ) − ψ m ( x j x j + 1 ) − ψ m ( y j y j + 1 ) − ψ m ( x j y j + 1 ) − ψ m ( x j + 1 y j ) − ψ m ( x j z ) − ψ m ( y j z ) = 8 m − 4 + m + j 9 m − 4 + 7 m − 4 + m + j 9 m − 4 + 4 m − 2 + m + j 9 m − 4 + 6 m − 3 + m + j − 1 9 m − 4 + 5 m − 2 + m + j − 1 9 m − 4 + 3 m − 1 + m + j − 1 9 m − 4 + 2 m + m + j − 1 9 m − 4 + m + m + j 9 m − 4 + m + j 9 m − 4 − 8 m − 4 + j 9 m − 4 − 7 m − 4 + j 9 m − 4 − 4 m − 2 + j 9 m − 4 − 6 m − 3 + j 9 m − 4 − 5 m − 2 + j 9 m − 4 − 3 m − 1 + j 9 m − 4 − 2 m + j 9 m − 4 − m + j 9 m − 4 − j 9 m − 4 = 1 .
Since the R W m -weights form a sequence of consecutive integers from 9 m − 3 to 8 m + n − 3 , Theorem 6 implies that
mths ( R W n , R W m ) = ths ( R W n , R W m ) = 8 m + n − 4 9 m − 4 .
□

3. Irregularity Strengths with Respect to a Fixed Covering

The friendship graph provides an interesting example illustrating the difference between the classical and modular settings. Recall that a friendship graph  F n , n ≥ 1 , consists of n triangles sharing a common central vertex. Consequently, the number of subgraphs of F n isomorphic to F m equals n m , making the determination of the modular total H-irregularity strength considerably more difficult than for the graph families studied in this paper. For the classical total H-irregularity strength, the existence of many copies of H does not necessarily prevent the existence of suitable labelings, and it is natural to expect that techniques based on special integer sequences, successfully used in related graph labeling problems, could also be adapted to this setting.
For the modular variant, however, the requirement that the H-weights represent all residue classes modulo the number of copies makes the problem substantially more restrictive. The following result gives infinite classes of friendship graphs for which the unrestricted modular labeling does not exist.
Corollary 7.
Let m and n be positive integers such that 1 ≤ m ≤ n . If n m ≡ 2 ( mod 4 ) and n − 1 m − 1 is even, then
mths ( F n , F m ) = ∞ .
Proof. 
The graph F n contains t = n m subgraphs isomorphic to F m . The common central vertex belongs to all t such subgraphs, whereas every other vertex and every edge of F n belongs to n − 1 m − 1 of them. Thus, all the corresponding numbers c ( x ) are even, and the result follows from Theorem 5. □
In particular, if m = 2 or m = 3 and n ≡ 5 ( mod 8 ) , then
mths ( F n , F m ) = ∞ ,
whereas ths ( F n , F m ) is finite by Theorem 8 of [14].
The preceding nonexistence result shows that considering all copies of F m may prevent a modular labeling from existing. This motivates the covering-dependent variant, in which modular irregularity is required only with respect to the members of a fixed covering. We consider the fixed covering consisting of the copies induced by consecutive triangles.
Let C = { H 1 , H 2 , … , H t } be a fixed H-covering of a graph G. A total k-labeling ψ is called an H-irregular total k-labeling with respect to C if the weights of the members of C are pairwise distinct. The minimum such k is called the total H-irregularity strength of G with respect to C , and is denoted by ths C ( G , H ) . If the function λ C : C → Z t , defined by
λ C ( H i ) ≡ w t ψ ( H i ) ( mod t )
is bijective, then ψ is called a modular H-irregular total k-labeling with respect to C . The minimum such k is called the modular total H-irregularity strength of G with respect to C , and is denoted by mths C ( G , H ) .
For j = 1 , 2 , … , n − m + 1 , let F m j denote the subgraph of F n induced by the central vertex and the vertices of the m consecutive triangles with indices j , j + 1 , … , j + m − 1 . These subgraphs form an F m -covering of F n .
Theorem 11.
Let F n , n ≥ 1 , be a friendship graph, and let m be a positive integer such that 1 ≤ m ≤ n . For the F m -covering C = { F m 1 , F m 2 , … , F m n − m + 1 } defined above,
mths C ( F n , F m ) = ths C ( F n , F m ) = 4 m + n 5 m .
Proof. 
Let the friendship graph F n have vertex set V ( F n ) = { z , x i , y i : i = 1 , 2 , … , n } and edge set E ( F n ) = { x i y i , x i z , y i z : i = 1 , 2 , … , n } . Let m be a positive integer such that 1 ≤ m ≤ n .
Consider the fixed F m -covering C = { F m 1 , F m 2 , … , F m n − m + 1 } , where for j = 1 , 2 , … , n − m + 1 , V ( F m j ) = { z , x i , y i : i = j , j + 1 , … , j + m − 1 } . Thus, C consists of t = n − m + 1 subgraphs isomorphic to F m . We consider irregularity only with respect to the members of C .
Let ψ be an arbitrary F m -irregular total k-labeling with respect to C . Put k = ( 4 m + n ) / 5 m . Since the vertex z belongs to all subgraphs in C and | V ( F m ) | + | E ( F m ) | = 5 m + 1 , the argument used in Theorem 8, applied to the members of C with S = { z } , gives
ths C ( F n , F m ) ≥ 1 + n − m 5 m = 4 m + n 5 m = k .
To attain this bound, define a labeling ψ m of vertices and edges of F n in the following way:
ψ m ( z ) = 1 , ψ m ( x i ) = 2 m + i 5 m ,         for i = 1 , 2 , … , n , ψ m ( y i ) = m + i 5 m ,           for i = 1 , 2 , … , n , ψ m ( x i y i ) = 3 m + i 5 m ,         for i = 1 , 2 , … , n , ψ m ( x i z ) = i 5 m ,               for i = 1 , 2 , … , n , ψ m ( y i z ) = 4 m + i 5 m ,         for i = 1 , 2 , … , n .
For every 1 ≤ i ≤ n we have
ψ m ( x i z ) ≤ ψ m ( y i ) ≤ ψ m ( x i ) ≤ ψ m ( x i y i ) ≤ ψ m ( y i z ) ≤ 4 m + n 5 m .
Thus, ψ m is a total ( 4 m + n ) / 5 m -labeling.
For j = 1 , 2 , … , n − m + 1 , the F m -weight of F m j under ψ m is
w t ψ m ( F m j ) = ∑ x ∈ V ( F m j ) ψ m ( x ) + ∑ e ∈ E ( F m j ) ψ m ( e ) = ∑ i = j m + j − 1 ψ m ( x i ) + ψ m ( y i ) + ψ m ( z ) + ∑ i = j m + j − 1 ψ m ( x i y i ) + ψ m ( x i z ) + ψ m ( y i z ) .
In particular, for j = 1 , we have
w t ψ m ( F m 1 ) = ∑ i = 1 m ψ m ( x i ) + ψ m ( y i ) + ψ m ( z ) + ∑ i = 1 m ψ m ( x i y i ) + ψ m ( x i z ) + ψ m ( y i z ) = ∑ i = 1 m 2 m + i 5 m + m + i 5 m + 1 + ∑ i = 1 m 3 m + i 5 m + i 5 m + 4 m + i 5 m = ∑ i = 1 m 2 + 1 + ∑ i = 1 m 3 = 2 m + 1 + 3 m = 5 m + 1 .
For j = 1 , 2 , … , n − m , consider the difference between the weights of F m j + 1 and F m j . We obtain
w t ψ m ( F m j + 1 ) − w t ψ m ( F m j ) = ψ m ( x m + j ) + ψ m ( y m + j ) + ψ m ( x m + j y m + j ) + ψ m ( x m + j z ) + ψ m ( y m + j z ) − ψ m ( x j ) − ψ m ( y j ) − ψ m ( x j y j ) − ψ m ( x j z ) − ψ m ( y j z ) = 2 m + m + j 5 m + m + m + j 5 m + 3 m + m + j 5 m + m + j 5 m + 4 m + m + j 5 m − 2 m + j 5 m − m + j 5 m − 3 m + j 5 m − j 5 m − 4 m + j 5 m = 1 .
Hence, the F m -weights of the members of C form a sequence of consecutive integers from 5 m + 1 to 4 m + n + 1 . In particular, they are pairwise distinct and also represent all residue classes modulo n − m + 1 . Therefore, ψ m is simultaneously an F m -irregular total labeling and a modular F m -irregular total labeling with respect to the covering C , using labels at most ( 4 m + n ) / 5 m . Together with the lower bound above, this proves that
mths C ( F n , F m ) = ths C ( F n , F m ) = 4 m + n 5 m .
□
The above result suggests that considering a fixed H-covering may be particularly useful for graph families in which the number of subgraphs isomorphic to H is large. Further investigation of this restricted setting, as well as the use of suitable integer sequences for the unrestricted problem, may provide a way to determine the corresponding irregularity strengths for broader classes of graphs.
Since the values of ths C ( G , H ) and mths C ( G , H ) may depend on the choice of C , it would be interesting to study this dependence and to determine their minimum and maximum values over all H-coverings of G. Another problem is to characterize the coverings for which ths C ( G , H ) = mths C ( G , H ) .

4. Concluding Remarks

In this paper, we introduced the modular total H-irregularity strength as a modular counterpart of the total H-irregularity strength of graphs. We established a sufficient condition under which these two graph invariants coincide. We also obtained a necessary divisibility condition for the existence of a modular H-irregular total labeling. This condition shows that, in contrast to the classical parameter, the modular total H-irregularity strength may be infinite. As applications, we identified infinite classes of complete graphs and friendship graphs admitting no such modular labeling.
Using the sufficient condition, we determined the exact values of the modular total H-irregularity strength for paths, fans, ladders, strong ladders, ladder-wing graphs, and strong ladder-wing graphs. We also introduced the corresponding covering-dependent invariants and determined their exact values for a fixed covering of friendship graphs. For each graph family for which we constructed a modular labeling, the obtained value attains the corresponding lower bound.
For the pairs ( n , m ) not settled by Corollary 7, it remains open whether an unrestricted modular F m -irregular total labeling of F n exists. If it exists, it would be interesting to determine whether mths ( F n , F m ) = ths ( F n , F m ) or whether these two parameters can be different. More generally, an interesting problem is to characterize pairs ( G , H ) for which ths ( G , H ) < mths ( G , H ) < ∞ . It would also be interesting to identify further graph classes for which the lower bound in Theorem 8 is sharp and to find additional structural conditions that either guarantee equality of the two parameters or prevent a modular H-irregular total labeling from existing.

Author Contributions

Conceptualization, M.B., M.L. and A.S.-F.; methodology, M.B., M.L. and A.S.-F.; validation, M.B., M.L. and A.S.-F.; formal analysis, M.B., M.L. and A.S.-F.; investigation, M.B., M.L. and A.S.-F.; resources, M.B., M.L. and A.S.-F.; writing—original draft preparation, M.B.; writing—review and editing, M.B., M.L. and A.S.-F.; visualization, M.B., M.L. and A.S.-F.; supervision, M.B. and A.S.-F.; project administration, M.B. and A.S.-F.; funding acquisition, M.B. and A.S.-F. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Slovak Research and Development Agency under the contract No. APVV-23-0191 and by VEGA 1/0243/23.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bača, M.; Jendrol’, S.; Miller, M.; Ryan, J. On irregular total labellings. Discrete Math. 2007, 307, 1378–1388. [Google Scholar] [CrossRef] [Scilit]
  2. Ivančo, J.; Jendrol’, S. Total edge irregularity strength of trees. Discuss. Math. Graph Theory 2006, 26, 449–456. [Google Scholar] [CrossRef] [Scilit]
  3. Jendrol’, S.; Miškuf, J.; Soták, R. Total edge irregularity strength of complete graphs and complete bipartite graphs. Electron. Notes Discrete Math. 2007, 28, 281–285. [Google Scholar] [CrossRef] [Scilit]
  4. Jendrol’, S.; Miškuf, J.; Soták, R. Total edge irregularity strength of complete graphs and complete bipartite graphs. Discrete Math. 2010, 310, 400–407. [Google Scholar] [CrossRef] [Scilit]
  5. Brandt, S.; Miškuf, J.; Rautenbach, D. On a conjecture about edge irregular total labellings. J. Graph Theory 2008, 57, 333–343. [Google Scholar] [CrossRef] [Scilit]
  6. Haque, K.M.M. Irregular total labellings of generalized Petersen graphs. Theory Comput. Syst. 2012, 50, 537–544. [Google Scholar] [CrossRef] [Scilit]
  7. Bača, M.; Siddiqui, M.K. Total edge irregularity strength of generalized prism. Appl. Math. Comput. 2014, 235, 168–173. [Google Scholar] [CrossRef] [Scilit]
  8. Ahmad, A.; Bača, M.; Siddiqui, M.K. On edge irregular total labeling of categorical product of two cycles. Theory Comput. Syst. 2014, 54, 1–12. [Google Scholar] [CrossRef] [Scilit]
  9. Nurdin; Salman, A.N.M.; Baskoro, E.T. The total edge-irregular strengths of the corona product of paths with some graphs. J. Comb. Math. Comb. Comput. 2008, 65, 163–175. [Google Scholar]
  10. Przybyło, J. Linear bound on the irregularity strength and the total vertex irregularity strength of graphs. SIAM J. Discrete Math. 2009, 23, 511–516. [Google Scholar] [CrossRef] [Scilit]
  11. Anholcer, M.; Kalkowski, M.; Przybyło, J. A new upper bound for the total vertex irregularity strength of graphs. Discrete Math. 2009, 309, 6316–6317. [Google Scholar] [CrossRef] [Scilit][Green Version]
  12. Majerski, P.; Przybyło, J. Total vertex irregularity strength of dense graphs. J. Graph Theory 2014, 76, 34–41. [Google Scholar] [CrossRef] [Scilit]
  13. Lladó, A.; Moragas, J. Cycle-magic graphs. Discrete Math. 2007, 307, 2925–2933. [Google Scholar] [CrossRef] [Scilit][Green Version]
  14. Ashraf, F.; Bača, M.; Lascsáková, M.; Semaničová-Feňovčíková, A. On H-irregularity strength of graphs. Discuss. Math. Graph Theory 2017, 37, 1067–1078. [Google Scholar] [CrossRef] [Scilit]
  15. Ashraf, F.; Bača, M.; Semaničová-Feňovčíková, A.; Siddiqui, M.K. On H-irregularity strength of ladders and fan graphs. AKCE J. Graphs Comb. 2020, 17, 213–219. [Google Scholar] [CrossRef] [Scilit]
  16. Bača, M.; Lascsáková, M.; Semaničová-Feňovčíková, A. Modular H-irregularity strength of graphs. Mathematics 2025, 13, 2599. [Google Scholar] [CrossRef] [Scilit]
  17. Bača, M.; Imran, M.; Kimáková, Z.; Semaničová-Feňovčíková, A. A new generalization of edge-irregular evaluations. AIMS Math. 2023, 8, 25249–25261. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.