Abstract

In the fields of chemical graph theory, topological index is a type of a molecular descriptor that is calculated based on the graph of a chemical compound. In 1947, Harry Wiener introduced “path number” which is now known as Wiener index and is the oldest topological index related to molecular branching. Hosoya polynomial plays a vital role in determining Wiener index. In this report, we compute the Hosoya polynomials for hourglass and rhombic benzenoid systems and recover Wiener and hyper-Wiener indices from them.

1. Introduction

Cheminformatics is a new branch of science which relates chemistry, mathematics, and computer sciences. Quantitative structure-activity (QSAR) and structure-property relationships (QSPR) are the main components of cheminformatics which are helpful to study physicochemical properties of chemical compounds [13].

A topological index is a numeric quantity associated with a graph which characterizes the topology of graph and is invariant under graph automorphism [48]. There are numerous applications of graph theory in the field of structural chemistry. The first well-known use of a topological index in chemistry was by Wiener in the study of paraffin boiling points [9]. After that, in order to explain physicochemical properties, various topological indices have been introduced.

The Hosoya polynomial of a graph is a generating function about distance distribution, introduced by Haruo Hosoya in 1988 [10]. This polynomial has many chemical applications [11]; in particular, Wiener index can be directly obtained from the polynomial and studied extensively [1214].

The Wiener index was first introduced by Harold Wiener in 1947 to study the boiling points of paraffin [9]. It plays an important role in the so-called inverse structure-property relationship problems [15]. For more details about this topological polynomial and index, see the paper series and the references therein [1620]. In this report, we study Hosoya polynomials, Wiener index, and hyper-Wiener index of hourglass and rhombic benzenoid systems.

2. Preliminaries

Definition 1 (simple graph). A simple graph is a finite nonempty set of objects called vertices together with a (possibly empty) set of unordered pairs of distinct vertices of called edges.

Definition 2 (Hosoya polynomial [10]). The Hosoya polynomial of a connected graph is denoted by and defined as follows:where denotes the distance between vertices and .

Definition 3 (Wiener index [9]). The Wiener index of a connected graph is denoted by and defined as the sum of distances between all pairs of vertices in , i.e., it can be formulated as follows:Note that the first derivative of the Hosoya polynomial at is equal to the Wiener index:

Definition 4 (modified Wiener index). The modified Wiener index of a connected graph is denoted by and defined as the sum of power distances between all pairs of vertices in , where i.e., it can be formulated as follows:For detailed survey about this index, see [2123].

Definition 5 (hyper-Wiener index). Hyper-Wiener index is another distance-based graph invariants used for predicting physicochemical properties of organic compounds [24]. The hyper-Wiener index was introduced by Randić [25] as follows:

Definition 6 (modified hyper-Wiener index). Modified hyper-Wiener index (see [26, 27]) of a connected graph is denoted by and defined as follows:where .

Definition 7 (Harary polynomial). The Harary polynomial (see [28, 29]) of a connected graph is denoted by and defined as follows:

Definition 8 (generalized Harary index). The generalized Harary index (see [30, 31]) of a connected graph is denoted by and defined as follows:where .

Definition 9 (multiplicative Wiener index). The multiplicative wiener index (see [32, 33]) of a connected graph is denoted by and defined as follows:For detailed applications of topological indices in chemistry, we refer [3441] and the references therein.

3. Methodology

To compute the Hosoya polynomial of a graph , we need to compute number of pairs of vertices at distance , where dia. For this purpose, we use mathematical induction. Here, the dia and dia. The general view of Hosoya polynomial is as below, where is the diameter of graph.

4. Computational Results

Benzenoid hydrocarbons play a vital role in our environment and in the food and chemical industries. Benzenoid molecular graphs are systems with deleted hydrogens. It is a connected geometric figure obtained by arranging congruent regular hexagons in a plane, so that two hexagons are either disjoint or have a common edge. This figure divides the plane into one infinite (external) region and a number of finite (internal) regions. All internal regions must be regular hexagons. Benzenoid systems are of considerable importance in theoretical chemistry because they are the natural graph representation of benzenoid hydrocarbons. A vertex of a hexagonal system belongs to, at most, three hexagons. A vertex shared by three hexagons is called an internal vertex.

Definition 10 (benzenoid hourglass system). Let denotes the benzenoid hourglass, which is obtained from two copies of a triangular benzenoid by overlapping their external hexagons (Figure 1).

4.1. Results for Benzenoid Hourglass System

The benzenoid hourglass system has vertices and edges.

Theorem 1. For the benzenoid hourglass system , we have

Proof. To prove this theorem, we need to compute where . It is easy to verify thatThe remaining proof is divided into six parts which are according to the parity of .

Case 1. mod(2), .
It can be observed from Figure 1 thatNow, one can conclude thatUsing a similar fashion, we haveIt implies thatIn a similar fashion, we inferIn terms of mathematical induction, we yield

Case 2. .
It can be observed from Figure 1 thatNow, one can conclude thatBy means of the same trick, we obtainwhich reveals thatIn light of the similar approach, we getHence, by mathematical induction, we have

Case 3. .
It can be observed from Figure 1 thatNow, one can conclude thatUsing a similar fashion, we haveIt implies thatIn a similar fashion, we inferIn terms of mathematical induction, we yield

Case 4. .
It can be observed from Figure 1 thatNow, one can conclude thatUsing a similar fashion, we haveIt implies thatIn a similar fashion, we inferIn terms of mathematical induction, we yield

Case 5. .
It can be observed from Figure 1 thatNow, one can conclude that

Case 6. .
It can be observed from Figure 1 thatNow, one can conclude thatBy what have been mentioned above, we get our required result.

Theorem 2. For the benzenoid hourglass system , the Harary polynomial is given by

Proof. From the information about the number of pairs of vertices at different distances given in Theorem 1, it is easy to get our desired result.

Theorem 3. For the benzenoid hourglass system , we have(i)(ii)(iii)(iv)

From the above theorem, we get the following results immediately.

Corollary 1. For the benzenoid hourglass system , we have

Corollary 2. For the benzenoid hourglass system , we have

Corollary 3. The Harary index of benzenoid hourglass graph is as follows:

4.2. Benzenoid Rhombus System

Consider a benzenoid system in which hexagons are arranged to form a rhombic shape, say, , where represents number of hexagons along each boundary of the rhombic as given in Figure 2.

Lemma 1. The benzenoid rhombus system has vertices and edges.

Theorem 4. For the benzenoid rhombus system , we have

Proof. To prove this theorem, we need to compute where . It is easy to verify thatThe remaining proof is divided into two parts which are according to the parity of .

Case 7. .
It can be observed from Figure 2 thatNow, one can conclude thatIn a similar fashion, we haveIt implies thatIn a similar fashion, we inferIn terms of mathematical induction, we yield

Case 8. .
It can be observed from Figure 2 thatNow, one can conclude thatBy means of the same trick, we obtainwhich reveals thatIn light of the similar approach, we getHence, by mathematical induction, we haveNow for to , we will generalize in this way. By observing Table 1, values in italics show the distances from to , but the values in the table are in descending order, so first we generalized this in ascending order and then reverse its order as required, let be the values in ascending order as follows (from Table 1).

Case 9. .
Hence, one can conclude thatFor .
So to reverse its order put , we get

Case 10. .
Hence, one can conclude thatFor .
So to reverse its order put , we getBy what has been mentioned above, we get our desired result.

Theorem 5. For the benzenoid rhombus system , the Harary polynomial is as follows:

Proof. From the information about the number of pairs of vertices at different distances given in Theorem 4, one can easily get this result.

Theorem 6. For the benzenoid rhombus system , we have(i)(ii)(iii)(iv)

From the above results, we get following results immediately.

Corollary 4. For the benzenoid rhombus system , we have

Corollary 5. For the benzenoid rhombus system , we have

Corollary 6. The Harary index of benzenoid rhombus graph is as follows:

5. Conclusions

Wiener demonstrated that the Wiener index is firmly connected to the boiling point of alkane. Later work on quantitative structure-activity connections demonstrated that it is additionally corresponded to different amounts including the parameters of its basic point the thickness, surface strain, and consistency of its fluid stage and the van der Waals surface territory of the molecules. Wiener index is a valuable topological index in the structure-property relationship since it is the measurement of compactness of particle regarding its basic characteristics, for example, spreading and cyclicity. Utilizations of benzene follow a long history. In the nineteenth and midtwentieth centuries, benzene was utilized as an aftershave lotion due to its wonderful smell. Before the 1920s, benzene was as often as possible utilized as a modern dissolvable, particularly to degrease metal. As its lethality wound up self-evident, benzene was displaced by different solvents, particularly toluene (methylbenzene), which has comparable physical properties yet is not as cancer-causing. In 1903, Ludwig Roselius promoted the utilization of benzene to decaffeinate espresso. This disclosure prompted the creation of Sanka. This procedure was later ended. Benzene was generally utilized as a noteworthy part in numerous shopper items, for example, Liquid Wrench, a few paint strippers, elastic concretes, spot removers, and different items. Produce of a portion of these benzene-containing details stopped in around 1950, albeit Liquid Wrench kept on containing critical measures of benzene until the late 1970s. In this present paper, we computed Hosoya polynomial, Wiener index, and hyper-Wiener index of zigzag and benzenoid rhombus systems. It is an interesting problem to find out distance-based topological indices for the families of graphs studied in [4247].

Data Availability

All the data are included within this paper.

Conflicts of Interest

The authors of this paper declare that they have no conflicts of interest.

Authors’ Contributions

All authors have equal contribution.

Acknowledgments

This research was funded by the Anhui Provincial Department of Education Natural Science Foundation (Project code: KJ2017A739).