The maximum Wiener index of trees with prescribed diameter: the sharp second-order constant
Authors/Creators
Description
Unrefereed research candidate. Add up the distances between every pair of points in a tree-shaped network with n vertices: this is the Wiener index, introduced by Wiener in 1947 to predict boiling points of paraffins and now a standard measure of how spread out a network is. If the diameter d (the longest distance) is prescribed, every distance is at most d, so the total lies below d times the number of pairs. How far below the largest possible total must fall is settled here to second order.
Context. Plesník determined the least sum of distances for given order and diameter and remarked that upper bounds seem much more difficult; the maximum has since been called Plesník's problem (Cambie; Knor, Škrekovski and Tepeh, Problem 28). For trees, the maximum Md(n) lies just below (d/2 − ε/4)n2, ε the parity of d. Exact maximisers were known for d ≤ 4 and d ≥ n − 3, with sharp expansions for d ≤ 6 by Mukwembi and Vetrík. Cambie (2020) showed that the shortfall has order (dn)3/2 and placed its coefficient between √2/3 ≈ 0.4714 and 29/60 ≈ 0.4833, in iterated limits; his lower construction already used branches forking into two at geometrically spaced heights (ratio about 0.38), and his lemma that every leaf of a maximiser lies at full depth is used in the proofs here.
Main results. (1) Whenever d → ∞ and d/n → 0, with no order of limits imposed, the shortfall is (κ + o(1))(dn)3/2 with κ = √((175 − √7)/756) ≈ 0.47747. (2) For each fixed d ≥ 4, Md(n) = (r + ε/4)n2 − 2√ch n3/2 − (zr + βh)n + Od(√n), with rational constants computed from the effective resistance of small rooted trees and tabulated for h ≤ 8; for example M8(n) = 4n2 − √70 n3/2 − n + O(√n). (3) For large n every maximiser is built from a finite catalogue of branch shapes, so for each fixed d an exact algorithm running in time polynomial in log n exists. (4) An explicit formula for M5(n) and all its maximisers for every n ≥ 6. (5) Exact maxima for 6 ≤ d ≤ 11 and n ≤ 3000 locate where the catalogue takes over in the tested range.
Method. An exact distance identity writes the shortfall as a sum over branches of a depth cost and the squared subtree sizes. Treating the leaves as an electric current from the centre, the squared sizes are the energy of the current, so each branch costs its depth cost times an effective resistance. For large diameter this becomes a continuum problem (mass flowing down, splitting for free), solved by the calibration V = τ2/2 + τx2 − x4/7, whose splitting excess is a sum of two squares: equality only for equal binary splits at heights τ = x2/2, so the remaining height shrinks by the factor 1/4 at each split.
Limits. Trees only: for odd d graphs beat the tree leading term, and for even d the constant answers Plesník's problem for graphs only if Cambie's question (are the graph maximisers trees for large n?) has a positive answer. The constant κ is the leading coefficient; lower-order terms in the joint regime are open, as is the regime d/n → ρ > 0. The thresholds of the fixed-diameter and shape theorems are effective but not computed, and the fast algorithm is proved to exist but is not implemented.
Contents. The paper (LaTeX source and PDF); nine Python scripts with their recorded outputs: the coefficient table, the diameter-five formula against exhaustive enumeration up to 19 vertices, an independent recursion and the order-249 example (M8(249) = 215016), the large-height constructions, an exact symbolic certificate of every Section 5 constant, a claims check and the exact maxima for diameters 6 to 11 up to 3000 vertices; the bibliography, a machine-readable index, a research-gate record, a review summary, a replay receipt and SHA-256 sums. Every check fails explicitly, also under python -O.
Assurance. Written proofs with exact computational checks. Internal AI-assisted review only: a combined five-role Claude review panel, an independent proof audit of Sections 5 and 6, an exact symbolic certificate of every Section 5 constant, the lead's brute-force checks, one revision round, then a re-review and a second proof audit of the rewritten proofs. No Astra/Codex review took place. This is not peer review, independent reproduction or formal verification. Creator: Anonymous. Text CC0-1.0; code MIT.