Abstract

Topological index (TI) is a function from the set of graphs to the set of real numbers that associates a unique real number to each graph, and two graphs necessarily have the same value of the TI if these are structurally isomorphic. In this note, we compute the of the four generalized sum graphs in the form of the various Zagreb indices of their factor graphs. These graphs are obtained by the strong product of the graphs and , where represents the four generalized subdivision-related operations for the integral value of and is a graph that is obtained by applying on . At the end, as an illustration, we compute the of the generalized sum graphs for exactly and compare the obtained results.

1. Introduction

A structural formula of a chemical compound is represented by a molecular graph, where atoms and bonds between atoms are represented by the vertices and edges of the molecular graphs, respectively. A topological index (TI) is a mathematical tool which associates a real number to a graph under certain conditions. For two graphs, a TI remains constant if the graphs are isomorphic (see [13]). These are used to study different physical attributes, biological activities, and chemical reactivities such as viscosity, critical temperatures (boiling, freezing, melting, and flash points) [4, 5], vapor pressure, surface tension, stability, weight, density, solubility, and connectivity [68] in the field of chemical engineering, pharmaceutical industries, and drugs discoveries. TIs are also used in the subject of cheminformatics to study the quantitative structural activity and property relationships (see [911]).

In 1947, the very first TI is introduced by Winer to check the critical temperature of paraffin [12]. Trinajstic and Gutman (1972) [13] defined the first and second Zagreb indices that are used to compute the different structure base characteristics of the molecular graphs. After that, many degree, distance, and polynomials based TIs came into existence but the degree-based indices got more attention of the researchers (see [1416]). For various results on TIs of different graphs, see [1720]. In 2008, Zhou and Trinajstić defined the general sum connectivity (GSC) index and discussed its various properties [21]. Shirdel et al. [22] studied the concept of hyper-Zagreb index () as a particular case of the GSC index. In addition, the results for the index under the operation of Cartesian, composition, join, and disjunction of graphs can be found in [2325].

On the other hand, for the studies of the complex graphs, operations for graphs play a key role. Yan et al. (2007) defined four types of operations related to the subdivision of and computed the Wiener indices of the derived graphs , where [26]. Taeri et al. (2009) gave the construction of the -sum graphs (Cartesian product of and ) and computed their Wiener indices, where and are assumed to be two connected graphs [27]. Furthermore, Deng et al. [28], Akhter and Imran [29], Chu et al. [30], and Liu et al. [31] computed the various indices of these graphs with the help of the Cartesian product.

Liu et al. (2019) [32] extended these operations for any integral value of and obtained the generalized derived graphs of the graph , where . Moreover, using the concept of Cartesian product of graphs, they constructed the generalized sum graphs or -sum graphs (denoted by ) and computed their first and second Zagreb indices.

Javaid et al. (2021) [33] redefined these graphs using strong product and computed their Zagreb indices (first and second). In this development, we compute hyper-Zagreb indices () for these graphs in terms of various degree-based TIs of their factor graphs, where these generalized sum graphs are obtained with the help of strong product. The remaining paper is settled as follows. Section 2 contains the notations and key concepts which are utilized in methodology, Section 3 deals main results, and Section 4 covers examples and conclusion.

2. Preliminaries

This section explains the basic definitions and terminologies.

Definition 1. Let be a (molecular) graph with and as sets of vertices and edges, respectively. The degree of a vertex is the number of edges which are incident on and denoted by .

Definition 2 (see [13, 34]). For a graph , the first, second, and forgotten Zagreb indices are defined as follows: , , and .
These indices have been used to find the various properties of molecular graphs such as entropy, -electron energy, and heat capacity. These are also used in the studies of the molecular structural relationships such as QSPR and QSAR [13, 3537]. However, the hyper-Zagreb index of a graph (given below) is studied by Shirdel et al. in 2013 [22]:

Definition 3 (see [32]). For some integral value of , the graphs obtained by the generalized subdivision-related operations are defined as follows:(i) is a graph that is obtained by inserting vertices in each edge of (ii) is a graph obtained from by joining the vertices which are adjacent in (iii) is a graph obtained from by joining the new vertices which are on the incident edges in for each of its vertex(iv) is obtained from after using both and , respectivelyFor , see Figure 1.

Definition 4 (see [33]). Let and be two graphs, be generalized subdivision-related operations, and be a graph obtained using on having edge-set and vertex-set . The generalized sum graph under the operation of strong product is a graph having vertex-set such that two vertices and of are adjacent iff [ in and is adjacent to in ] or [ in and is adjacent to in ] or [ is adjacent to in and is adjacent to in ], where is a positive integer. For more explanation, see Figures 2 and 3.

3. Main Results

The main developments are covered by this section.

Theorem 1. For , the HZ-index of is

Proof. Let the degree of a vertex be denoted by :ConsiderSince in this case , we haveHence, we obtained our required result.

Theorem 2. For , the HZ-index of is

Proof. Let the degree of a vertex be denoted by :Hence, we reached at our required result.

Theorem 3. For , the HZ-index of is

Proof. Let the degree of a vertex be denoted by :Consider and occurs times. Thus,Letas and occurs two times. Therefore,Now, assume as follows:In , coefficient ofTherefore,For coefficient of , let with and . As , we have either or or or . So, is adjacent to all those vertices in which are adjacent to and . Consequently, the number of such is . Therefore,sowhere is the number of neighbors which are common vertices of and in .Now, assume as follows:where is the number of neighbors which are common vertices of and in .
Thus, we arrive at our desired result.

Theorem 4. For , the HZ-index of is

4. Applications and Discussion

Using , in Theorems 14, the results are obtained for the generalized -sum graphs as follows:(i)-sum:(ii)-sum:(iii)-sum:(iv)-sum:

Now, we present tabular form in Table 1 and graphical representation in Figure 4 of path graphs for .

Finally, we close this section with the comment that the problem is still open for other topological indices and product of graphs, in particular the general randic index of -sum graphs under corona product.

Data Availability

The data are included within this paper and are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors extend their appreciation to the Deanship of Scientific Research at Jouf University for funding this work through research grant no. DSR-2021-03-0222.