A 15-vertex counterexample to the diameter-five crossover
At 15 vertices and diameter five, a graph formed by three paths between the same two vertices has Wiener index 335. The largest Wiener index of a tree with the same order and diameter is 334. The Wiener index \(W(G)\) is the sum of shortest-path distances over all unordered pairs of distinct vertices in \(G\). The diameter is the largest of those distances. Cambie, Jooken and Nadjafi-Arani conjectured that among finite simple connected graphs of diameter exactly five, a Wiener-index maximiser can be chosen to be a tree for every order \(6\le n\le20\) except \(n=11\), and to be a clique-rooted tree with at least three vertices in its root clique for every \(n>20\). The strict gap at \(n=15\) rules out a tree maximiser at that order and disproves the first clause. It gives a lower bound of 335 on the unrestricted maximum at order 15. The exact unrestricted maximum and the clause for \(n>20\) lie beyond this comparison. The separate sufficiently-large-order assertion in their general Conjecture 1 remains open. Cambie, Jooken and Nadjafi-Arani, §1, unnumbered diameter-five conjecture between Conjectures 1 and 2 To construct the counterexample, join vertices \(u\) and \(v\) by three paths of lengths \(5,5,6\) edges, with disjoint interiors and no additional edges. This gives \(2+4+4+5=15\) vertices. An interior vertex at position \(i\) along a path of length \(a\), counted from \(u\), is at distances \(i\) and \(a-i\) from the two ends. Two interior vertices on the same path are separated by the absolute difference in their positions. For vertices at positions \(i,j\) on distinct paths of lengths \(a,b\), the routes through the two common ends give distance \[\min\{i+j,\,a+b-i-j\}. \] The ends are five edges apart. The numbers of unordered pairs at distances \(1,2,3,4,5\) are \(16,19,22,25,23\), respectively, so the diameter is five and \(W(G)=16+2\cdot19+3\cdot22+4\cdot25+5\cdot23=335\). For the tree comparison, the middle edge of a longest path splits any 15-vertex tree of diameter five into two components of sizes \(s\) and \(15-s\), with \(s\in\{3,4,5,6,7\}\) the smaller size. Each component is rooted at its end of the middle edge and has height exactly two. An edge that separates a branch of \(z\) vertices from the rest of the tree contributes \(z(15-z)\) to the Wiener index, since the unique path between each pair on opposite sides crosses that edge. In a component of size \(t\), choose \(k\) children of the root and give child \(i\) exactly \(z_i-1\) leaves. The largest contribution from edges within that component is \[B_t=\max_{\substack{1\le k\le t-2\\ z_1,\ldots,z_k\in\mathbb Z_{\ge1}\\ \sum_{i=1}^k z_i=t-1}} \left[15(t-1)-\sum_{i=1}^k z_i^2+14(t-1-k)\right]. \] For fixed \(k\), write \(t-1=kq+r\) with integer quotient \(q\) and remainder \(0\le r<k\). The maximum uses \(k-r\) branches of size \(q\) and \(r\) of size \(q+1\), giving square sum \((k-r)q^2+r(q+1)^2\). Including the middle edge, the largest Wiener index for each split is \(s(15-s)+B_s+B_{15-s}\). For \(s=3,4,5,6,7\) these attainable values are \(312,322,328,332,334\), respectively. An extremal tree is obtained by joining roots whose child-subtree sizes are \((3,3)\) and \((3,4)\).
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24804307
- Primary Topic
- Graph theory and applications
- Type
- preprint