The subpath number of cactus graphs
Martin Knor, Jelena Sedlar, Riste Škrekovski, Yu Yang
TL;DR
The paper investigates the subpath number $pn(G)$ for cactus graphs with fixed $n$ vertices and $k$ cycles. It develops transformations to identify extremal cacti, proving the unique maximum is the pseudo triangle chain $PTC(n,k)$ and the minimum occurs when every cycle is an end-triangle with a common-vertex structure. It shows these extremal graphs for $pn$ are not aligned with extremal graphs for the Wiener index or the subtree number, indicating $pn$ is an independent invariant. It provides closed-form expressions for $pn(PTC(n,k))$ and for the minimal end-triangle class, yielding exact characterizations and enabling precise comparisons with related indices in chemical graph theory.
Abstract
The subpath number of a graph G is defined as the total number of subpaths in G, and it is closely related to the number of subtrees, a well-studied topic in graph theory. This paper is a continuation of our previous paper [5], where we investigated the subpath number and identified extremal graphs within the classes of trees, unicyclic graphs, bipartite graphs, and cycle chains. Here, we focus on the subpath number of cactus graphs and characterize all maximal and minimal cacti with n vertices and k cycles. We prove that maximal cacti are cycle chains in which all interior cycles are triangles, while the two end-cycles differ in length by at most one. In contrast, minimal cacti consist of k triangles, all sharing a common vertex, with the remaining vertices forming a tree attached to this joint vertex. By comparing extremal cacti with respect to the subpath number to those that are extremal for the subtree number and the Wiener index, we demonstrate that the subpath number does not correlate with either of these quantities, as their corresponding extremal graphs differ.
