The following theorem is from Alon&Spencer's The probabilistic method, in the beginning of chapter 2:
Theorem 2.1.1: There is a tournament $T$ with $n$ vertices and at least $\frac{n!}{2^{n-1}}$ Hamiltonian paths.
Briefly the theorem is proved by looking at $X_\sigma$ the indicator random variable for a permutation $\sigma$ giving a Hamiltonian path, that is, satisfying $(\sigma(i),\sigma(i+1))\in T$ for $1\leq i \lt n$. Then
$\sum \mathbb{E}\left[X_\sigma\right] = \frac{n!}{2^{n-1}}$.
I don't understand where did this value ($\frac{n!}{2^{n-1}}$) came from! could someone explain it please?
The argument is to construct a tournament by randomly orienting the edges of $K_n.$ Say the edge goes from the greater number to the smaller with probability $1/2,$ assuming that the vertices are the integers $1,\dots,n.$ Then the probability that a given permutation of the vertices is a Hamilton path is just $2^{1-n},$ leading to the expectation you have given.