Search arXiv⌕ Search

arXiv subjects

Ahmed Alghafri

Publications and source records attributed to Ahmed Alghafri.

2 recordsLinked to original sources

Extremal cacti for the number of connected sets

A connected set of a graph $G$ is a nonempty set of vertices that induces a connected subgraph, and N$(G)$ is the number of connected sets of $G$. A problem posed in 2022 asks for a characterisation of the graphs that minimise or maximise N over all connected graphs with prescribed order $n$ and number of cycles $d>1$. We solve this problem in the class of cacti, the connected graphs in which every edge belongs to at most one cycle. For all $n$ and $d$, the minimum of N over the cacti with $n$ vertices and $d$ cycles is $9\cdot 2^{d}-3d-8+\binom e2-4e+3e\,(2^{\lfloor d/2\rfloor}+2^{\lceil d/2\rceil})$, where $e=n-1-2d$, and it is attained only by the path with $e$ edges whose two ends carry chains of $\lfloor d/2\rfloor$ and $\lceil d/2\rceil$ triangles. For $d\ge1$ the maximum is $2^{n-1}+n-1+d$, attained only by the graph formed by $d$ triangles and $n-1-2d$ pendant edges at a common vertex, except when $(n,d)$ is $(4,1)$ or $(5,1)$. These results refine and extend the known ones for trees, unicyclic graphs and bicyclic graphs, and they settle the original problem for $d=2$. As a corollary, we solve the problem for the cacti with $n$ vertices and at least, or at most, $d$ cycles. We also determine the extremal graphs among all connected graphs with exactly three cycles; there the graph with the fewest connected sets is no longer a cactus. The two extremal cacti are also the extremal cacti for the Wiener index, in the reverse order.

math.CO↗

Graphs with a given number of cut vertices and the fewest connected induced subgraphs

For a graph $G$, let $N(G)$ be the number of nonempty vertex sets that induce a connected subgraph. In 2021 the second author determined the maximum of $N$ over the connected graphs of order $n$ with exactly $c$ cut vertices, showed that the cycle is the minimiser for $c=0$, and asked for the minimisers for $c>0$. We answer this question for $c\in\{1,2,3,4\}$ and for $c\ge n-4$, for every $n$. In all these cases the minimiser is unique, and it is a \emph{chain}: a path whose two end vertices carry a pendant vertex, two pendant vertices or a cycle. For $1\le c\le4$ and $n\ge2c+3$ ($n\ge6$ if $c=1$) it is the tadpole formed by the cycle $C_{n-c}$ and a pendant path of $c$ vertices, with $N=\binom{c-1}2+3c+(c+2)\binom{n-c}2$; for $c\ge n-4$ it is the Li--Wang tree with $n-c$ leaves; three small cases remain. For $c=n-4$ we also determine the next three smallest values of $N$. As corollaries we obtain the unicyclic minimisers for $c\le4$ and for $c=n-4$, which answers a question from earlier work in these cases. We conjecture that for every $c$ all minimisers are chains, and support this by an exhaustive computation for $n\le12$. Unlike the analogous problem for connected subgraphs that need not be induced, solved by Pandey and Ravi for at most four cut vertices, the optimal chain is not always a tadpole: a chain with two cycles ties at $(n,c)=(12,6)$ and wins at $(13,7)$.

math.CO↗