[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A326207 Number of non-Hamiltonian labeled simple graphs with n vertices. 5
1, 0, 2, 7, 54, 806, 22690, 1200396, 116759344, 20965139168, 6954959632776, 4363203307789888 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
A graph is Hamiltonian if it contains a cycle passing through every vertex exactly once.
LINKS
Wikipedia, Hamiltonian path
FORMULA
A006125(n) = a(n) + A326208(n).
EXAMPLE
The a(3) = 7 edge sets:
{}
{12}
{13}
{23}
{12,13}
{12,23}
{13,23}
MATHEMATICA
Table[Length[Select[Subsets[Subsets[Range[n], {2}]], FindHamiltonianCycle[Graph[Range[n], #]]=={}&]], {n, 0, 4}] (* Mathematica 8.0+ *)
CROSSREFS
The unlabeled version is A246446.
The directed version is A326220 (with loops) or A326216 (without loops).
Simple graphs with a Hamiltonian cycle are A326208.
Simple graphs without a Hamiltonian path are A326205.
Sequence in context: A079410 A371617 A283335 * A280221 A371828 A227381
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jun 15 2019
EXTENSIONS
a(7)-a(11) from formula by Falk Hüffner, Jun 21 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 31 19:25 EDT 2024. Contains 375573 sequences. (Running on oeis4.)