A326214 Number of labeled n-vertex digraphs (with loops) containing a (directed) Hamiltonian path.
0, 0, 12, 384, 53184
Offset: 0
Examples
The a(2) = 12 edge-sets: {12} {21} {11,12} {11,21} {12,21} {12,22} {21,22} {11,12,21} {11,12,22} {11,21,22} {12,21,22} {11,12,21,22}
Links
- Wikipedia, Hamiltonian path
- Gus Wiseman, Enumeration of paths and cycles and e-coefficients of incomparability graphs, arXiv:0709.0430 [math.CO], 2007.
Crossrefs
Programs
-
Mathematica
Table[Length[Select[Subsets[Tuples[Range[n],2]],FindHamiltonianPath[Graph[Range[n],DirectedEdge@@@#]]!={}&]],{n,4}] (* Mathematica 10.2+ *)
Comments