math.CO — Combinatorics
The inverse problem for the number of connected induced subgraphs
For a finite graph , let be the number of nonempty vertex sets that induce a connected subgraph. We show that a positive integer equals for some finite connected graph if and only if . Every attainable value is attained on vertices, the least possible number, and needs six vertices. More precisely, for every each integer from to is the value of on a connected graph with exactly vertices. The proofs of these results are short and use no computer; computer calculations serve only as independent checks, and for two auxiliary results: the values on six to eight vertices, and the result on all connected subgraphs described below. The value falls into a gap above the path: a connected graph on vertices other than the path has at least more connected sets than . The values are realized by a recursive construction from cones, disjoint unions and a family of graphs that we call near-cones, starting from seven small graphs; it produces a graph with in time polynomial in . The question arose from a problem of Ordoñez in continuum theory, through a reduction by Camargo, Ordoñez and Ramírez, who found the values up to by a computer search. The proof is formalized in Lean 4. We also observe that a theorem of Czabarka, Székely and Wagner on subtrees reduces the corresponding problem for the number of all connected subgraphs to a finite computation, and we report its outcome. We did not find these results in the literature, but we make no claim of novelty or priority.