OFFSET
0,4
COMMENTS
A path is Hamiltonian if it passes through every vertex exactly once.
LINKS
MATHEMATICA
Table[Length[Select[Subsets[Subsets[Range[n], {2}]], FindHamiltonianPath[Graph[Range[n], #]]!={}&]], {n, 0, 4}] (* Mathematica 10.2+ *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jun 14 2019
STATUS
editing