• Views 164
• Citations 0
• ePub 0
• PDF 69
`Journal of ChemistryVolume 2019, Article ID 2047406, 9 pageshttps://doi.org/10.1155/2019/2047406`
Research Article

## Sufficient Conditions for Hamiltonicity of Graphs with Respect to Wiener Index, Hyper-Wiener Index, and Harary Index

1School of Physics and Electronic Engineering, Anqing Normal University, Anqing 246133, China
2School of Mathematics and Computation Sciences, Anqing Normal University, Anqing 246133, China
3Basic Department, Hefei Preschool Education College, Hefei 230013, China

Received 30 June 2019; Revised 28 September 2019; Accepted 12 October 2019; Published 15 November 2019

Guest Editor: Jia-Bao Liu

Copyright © 2019 Guisheng Jiang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

In this paper, with respect to the Wiener index, hyper-Wiener index, and Harary index, it gives some sufficient conditions for some graphs to be traceable, Hamiltonian, Hamilton-connected, or traceable for every vertex. Firstly, we discuss balanced bipartite graphs with , where is the minimum degree of G, and gain some sufficient conditions for the graphs to be traceable or Hamiltonian, respectively. Secondly, we discuss nearly balanced bipartite graphs with and present some sufficient conditions for the graphs to be traceable. Thirdly, we discuss graphs with and obtain some conditions for the graphs to be traceable or Hamiltonian, respectively. Finally, we discuss t-connected graphs and provide some conditions for the graphs to be Hamilton-connected or traceable for every vertex, respectively.

#### 1. Introduction

We consider only a simple graph. For a graph , we use n to denote and to . We write as the minimum length of the paths between x and y in G, which is called the distance between two vertices x and y of G. Denote . For a bipartite graph , if , it is called a balanced bipartite graph; if , it is called a nearly balanced bipartite graph. For disjoint graphs and , the graph is called the union of and , where and ; the graph is called the join of and , where and . For example, . The graph means the complement of G, where and . The graph , is called the quasicomplement of bipartite .

In [1], Wiener introduced the Wiener index, , for a connected graph G in 1947.

We denote ; then,

For a connected graph G, is called its hyper-Wiener index, which is introduced by Klein et al. [2] in 1995.

We denote then,

In [3, 4], Plavšić et al. and Ivanciuc et al. gave the Harary index, for a connected graph G, independently.

We denote ; then,

For a graph G, if it contains a path (cycle) containing all vertices of G, it is traceable (Hamiltonian); if there are paths containing all vertices of G between any two vertices in G, it is called to be Hamilton-connected; if there are paths containing all vertices of G from any vertex in G, it is called to be traceable from every vertex.

Topological indices have attracted much attention in the literature, and they are widely applied in various fields of science and technology. Recently, some interesting results have been obtained, see [511]. Especially, some topological indices are used to characterize the Hamiltonian property of graphs. We refer readers to see [2, 1221]. Among them, Hua and Ning [15] gave Hamiltonian conditions for a balanced bipartite graph with respect to the Wiener index and Harary index. Cai et al. [13], by the hyper-Wiener index, gave conditions for a balanced bipartite graph to be traceable and Hamiltonian and a t-connected graph to be Hamiltonian, respectively. Li [18, 19] gave Hamitonian conditions for a t-connected graph with respect to the Wiener index and Harary index, respectively. With the Wiener index, hyper-Wiener index, and Harary index, Yu et al. [20] gave conditions for a t-connected graph to be Hamilton-connected and then got conditions for it to be traceable from every vertex, as well as gave conditions for a nearly balance bipartite graph to be traceable. Especially, Liu et al. [16, 17] studied the Hamiltonian property of graphs with respect to the Wiener index and Harary index of complement of graph or quasicomplement of bipartite graph, respectively. As a continuance of these results, we also study the similar problems.

In this paper, we discuss the hamiltonicity of graph by the Wiener index, hyper-Wiener index, and Harary index for quasicomplement or complement. In Section 2, we present some notations and some lemmas needed in the following. In Sections 3 and 4, we present some conditions for a balanced bipartite graph G with to be traceable and Hamiltion, respectively. In Section 5, we give sufficient conditions for a nearly balanced bipartite graph G with to be traceable. In Sections 6 and 7, we present some conditions for a graph G with to be traceable and Hamiltonian, respectively. In Sections 8 and 9, we provide some conditions for a t-connected graph to be Hamilton-connected and traceable from every vertex, respectively.

#### 2. Preliminaries

Especially, in the following, for bipartite graphs, we always fix their partite sets. For instance, and are seen as different bipartite graphs unless .

A graph is the graph obtained from by deleting all possible edges between and and possible edges between and , where be bipartite graphs. Next, we denote some special classes of graphs:

Note that , and is not traceable.

Lemma 1. Denote as a quasicomplement of bipartite G with vertices. If is a connected balanced bipartite graph, then

Proof. As is a quasicomplement,

Lemma 2. Let be a quasicomplement of bipartite G with vertices. If is a connected balanced bipartite graph, then

Proof. As is a quasicomplement,

Lemma 3. Let be a quasicomplement of bipartite G of order . If is a connected balanced bipartite graph, then

Proof. As is a quasicomplement,

Lemma 4. Let be a complement of G with n vertices. If is a connected graph, then

Proof.

Lemma 5. Let be a complement of G with n vertices. If is a connected graph, then

Proof.

Lemma 6. Let be a complement of G with n vertices. If is a connected graph, then

Proof.

#### 3. Traceable of Balanced Bipartite Graphs

Lemma 7 (see [22]). Let G be a balanced bipartite graph with vertices. If , , andfor some integer t, then G is traceable or or , .

Theorem 1. Let be a connected balanced bipartite graph with vertices. If , , andfor some integer t, then G is traceable or and .

Proof. Since , by Lemma 1, we get . By Lemma 7, we obtain that G is traceable or or , .
If : because is connected and , we get It is in contradiction with the above.
If : because is connected, .

Theorem 2. Let be a connected balanced bipartite graph with vertices. If , , andfor some integer t, then G is traceable or , .

Proof. Since , by Lemma 2, By Lemma 7, G is traceable or or , . By the same discussion as the proof of Theorem 1, the conclusion is established.

Theorem 3. Let G be a connected balanced bipartite graph with vertices. If , , andfor some integer t, then G is traceable or , .

Proof. Since , by Lemma 3, we get By Lemma 7, we obtain that G is traceable or or , . By the same discussion as the proof of Theorem 1, the conclusion is established.

#### 4. Hamiltonian of Balanced Bipartite Graphs

Lemma 8 (see [23]). Let G be a balanced bipartite graph with vertices. If , andfor some integer t, then G is Hamiltonian or .

Theorem 4. Let be a connected balanced bipartite graph with vertices. If , , andfor some integer t, then G is Hamiltonian.

Proof. Since , by Lemma 1, we get . By Lemma 8, G is Hamiltonian or .
If : because is connected and , we get . It is in contradiction with the above.

Theorem 5. Let be a connected balanced bipartite graph with vertices. If , , andfor some integer t, then G is Hamiltonian.

Proof. Since , by Lemma 2, we get . By Lemma 8, G is Hamiltonian or . By the same discussion as the proof of Theorem 4, the conclusion is established.

Theorem 6. Let be a connected balanced bipartite graph of with vertices. If , , andfor some integer t, then G is Hamiltonian.

Proof. Since , by Lemma 3, . By Lemma 8, G is Hamiltonian or . By the same discussion as the proof of Theorem 4, the conclusion is established.

#### 5. Traceable of Nearly Balanced Bipartite Graphs

Lemma 9 (Yu, Fang, and Fan [24]). Let G be a nearly balanced bipartite graph with vertices. If , , andfor some integer t, then G is traceable or .

Theorem 7. Let be a connected nearly balanced bipartite graph with vertices. If , andfor some integer t, then G is traceable.

Proof. Let , where and , thenwhere and . Because , we get . By Lemma 9, we get G is traceable or .
If : because is connected and , we get . It is in contradiction with the above.

Theorem 8. Let be a connected nearly balanced bipartite graph with vertices. If , andfor some integer t, then G is traceable.

Proof. Let , where and , thenwhere and . Because , we get . By Lemma 9, we obtain that G is traceable or . By the same discussion as the proof of Theorem 7, the conclusion is established.

Theorem 9. Let be a connected nearly balanced bipartite graph with vertices. If , andfor some integer t, then G is traceable or .

Proof. Let , where and , thenwhere and . Becausewe get . By Lemma 9, we obtain that G is traceable or . Note that and  > . If , then . The conclusion is established.

#### 6. Traceable of Graphs

Lemma 10 (see [23]). Let G be a graph with vertices, where t is an integer. If and then G is traceable unless or .

Theorem 10. Let be a connected graph with vertices, where t is an integer. If andthen G is traceable.

Proof. Since , by Lemma 4, we get . By Lemma 10, we obtain that G is traceable unless or .
If : note that . Then, if , we have , a contradiction.
If : note that Then, if , we have , a contradiction.

Theorem 11. Let be a connected graph with vertices, where t is an integer. If andthen G is traceable.

Proof. Since  −  +  −  −  by Lemma 5, we get . By Lemma 10, we obtain that G is traceable or or .
If : note that . Then, if , we have  −  +  −  − , a contradiction.
If : note that . Then, if , we have  −  +  −  − , a contradiction.

Theorem 12. Let be a connected graph with vertices, where t is an integer. If andthen G is traceable.

Proof. Since by Lemma 6, we get . By Lemma 10, we obtain that G is traceable unless or .
If : note that Then, if , we have , a contradiction.
If : note that Then, if , we have a contradiction.

#### 7. Hamiltonian of Graphs

Lemma 11. (see [23]). Let G be a graph with vertices, where t is an integer. If andthen G is Hamiltonian or or .

Theorem 13. Let be a connected graph with vertices, where t is an integer. If andthen G is Hamiltonian.

Proof. Since by Lemma 4, we get . By Lemma 11, we obtain that G is Hamiltonian or or .
If : note that . Then, if we have a contradiction.
If : note that . Then, if we have , a contradiction.

Theorem 14. Let and be a connected graph with vertices for some integers t satisfying the following condition:Therefore, G is Hamiltonian.

Proof. Since  −  +  −  − , by Lemma 5, we get . By Lemma 11, we obtain that G is Hamiltonian or or .
If : note that . Then, if we have  −  +  −  − , a contradiction.
If : note that . Then, if we have  −  +  −  − , a contradiction.

Theorem 15. Let be a connected graph with vertices for some integer t. If and , then G is Hamiltonian.

Proof. Since , by Lemma 6, we get . By Lemma 11, we obtain that G is Hamiltonian unless or .
If : note that . Then, if , we have  >  a contradiction.
If : note that . Then, if , we have  >  a contradiction.

#### 8. Hamilton-Connected of Graphs

Lemma 12 (see [20]). Let G be a t-connected graph with n vertices, where . If then G is Hamilton-connected.
By Lemmas 4, 5, 6, and 12 and by direct computations, we get Theorems 16, 17, and 18, respectively.

Theorem 16. Let G be a t-connected graph with n vertices and be a connected graph, where . If then G is Hamilton-connected.

Theorem 17. Let G be a t-connected graph with n vertices and be a connected graph, where . Ifthen G is Hamilton-connected.

Theorem 18. Let G be a t-connected graph with n vertices and be a connected graph, where . Ifthen G is Hamilton-connected.

#### 9. Traceable from Every Vertex of Graphs

Lemma 13 (see [20]). Let G be a t-connected graph with n vertices, where . If then G is traceable from every vertex.
By Lemmas 4, 5, 6, and 13 and by direct computation, we get Theorems 19, 20, and 21, respectively.

Theorem 19. Let G be a t-connected graph with n vertices and be a connected graph, where . Ifthen G is traceable from every vertex.

Theorem 20. Let G be a t-connected graph with n vertices and be a connected graph, where . Ifthen G is traceable from every vertex.

Theorem 21. Let G be a t-connected graph with n vertices and be a connected graph, where . Ifthen G is traceable from every vertex.

#### Data Availability

The data used to support the findings of this study are included within the article.

#### Conflicts of Interest

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

#### Acknowledgments

This work was jointly supported by the National Natural Science Foundation of China (grant no. 11871077), the Natural Science Foundation of Anhui Province (grant no. 1808085MA04), and the Natural Science Foundation of Department of Education of Anhui Province (grant no. KJ2017A362).

#### References

1. H. Wiener, “Structural determination of paraffin boiling points,” Journal of the American Chemical Society, vol. 69, no. 1, pp. 17–20, 1947.
2. D. J. Klein, I. Lukovits, and I. Gutman, “On the definition of the hyper-wiener index for cycle-containing structures,” Journal of Chemical Information and Modeling, vol. 35, no. 1, pp. 50–52, 1995.
3. O. Ivanciuc, T.-S. Balaban, and A. T. Balaban, “Design of topological indices. Part 4. Reciprocal distance matrix, related local vertex invariants and topological indices,” Journal of Mathematical Chemistry, vol. 12, no. 1, pp. 309–318, 1993.
4. D. Plavšić, S. Nikolić, N. Trinajstić, and Z. Mihalić, “On the Harary index for the characterization of chemical graphs,” Journal of Mathematical Chemistry, vol. 12, no. 1, pp. 235–250, 1993.
5. Y. Gao, E. Zhu, Z. Shao, I. Gutman, and A. Klobučar, “Total domination and open packing in some chemical graphs,” Journal of Mathematical Chemistry, vol. 56, no. 5, pp. 1481–1492, 2018.
6. J.-B. Liu, X.-F. Pan, F.-T. Hu, and F.-F. Hu, “Asymptotic Laplacian-energy-like invariant of lattices,” Applied Mathematics and Computation, vol. 253, pp. 205–214, 2015.
7. J.-B. Liu and X.-F. Pan, “Minimizing Kirchhoff index among graphs with a given vertex bipartiteness,” Applied Mathematics and Computation, vol. 291, pp. 84–88, 2016.
8. J.-B. Liu, C. Wang, S. Wang, and B. Wei, “Zagreb indices and multiplicative zagreb indices of eulerian graphs,” Bulletin of the Malaysian Mathematical Sciences Society, vol. 42, no. 1, pp. 67–78, 2019.
9. J. B. Liu, J. Zhao, and Z. Zhu, “On the number of spanning trees and normalized Laplacian of linear octagonal-quadrilateral networks,” International Journal of Quantum Chemistry, vol. 119, no. 17, Article ID e25971, 2019.
10. Z. Shao, P. Wu, X. Zhang, D. Dimitrov, and J.-B. Liu, “On the maximum ABC index of graphs with prescribed size and without pendent vertices,” IEEE Access, vol. 6, pp. 27604–27616, 2018.
11. Z. Shao, P. Wu, Y. Gao, I. Gutman, and X. Zhang, “On the maximum ABC index of graphs without pendent vertices,” Applied Mathematics and Computation, vol. 315, pp. 298–312, 2017.
12. Z. Cui and B. Liu, “On Harary matrix, Harary index and Harary energy,” Match Communications in Mathematical and in Computer Chemistry, vol. 68, pp. 815–823, 2012.
13. G.-X. Cai, M.-L. Ye, G.-D. Yu, and L.-F. Ren, “Hyper-Wiener index and Hamiltonicity of graphs,” Ars Combinatoria, vol. 139, pp. 175–184, 2018.