Denote the number of connected graphs of $n$ labelled vertices by $d_n$. Then, as per How to calculate the number of possible connected simple graphs with n
labelled vertices
we have the recurrence
$$
\sum_k \binom{n}{k} k d_k 2^{\binom{n-k}{2}} = n 2^{\binom{n}{2}}.
$$
I am looking for an asymptotic formula (or just an asymptotic upper bound) for the sequence $d_n$.
Remarks
- In The asymptotic number of labeled connected graphs with a given number of vertices and edges an asymptotic formula is found for the number of graphs with $n$ labelled vertices and $k$ edges. In principle one could then sum over $k$, but the formula is complicated and this does not seem feasible.
- In generatingfunctionology by H. S. Wilf, Theorem 3.12.1 (downloadable here) the number of labelled trees of $n$ vertices is shown to be $n^{n-2}$, so at least $d_n\geq n^{n-2}$, but how much larger?
Best Answer
The simplest possible asymptotic formula is $d_n \sim 2^{\binom n2}$: almost all of the $2^{\binom n2}$ possible graphs are connected.
To prove this, and get some more precise estimates, we can look at how a disconnected graph can happen.
This gives us the lower bound $$ d_n \ge 2^{\binom n2} - n 2^{\binom{n-1}{2}} - 2^{n + \binom{n-2}{2}+1} = 2^{\binom n2}\left(1 - \frac{2n+16}{2^n} \right). $$ From here, we can also get a slightly better upper bound \begin{align} d_n &\le 2^{\binom n2} - n d_{n-1} \le 2^{\binom n2} - n2^{\binom {n-1}2}\left(1 - \frac{2(n-1)+16}{2^{n-1}} \right) \\ &\le 2^{\binom n2} \left(1 - \frac{2n}{2^n} + \frac{8n(n+7)}{2^{2n}}\right). \end{align} So we can conclude that $d_n = 2^{\binom n2}\left(1 - \frac{2n}{2^n} + O(\frac1{2^n})\right).$