Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 43266

A Hamiltonian graph (directed or undirected) is a graph that contains a Hamiltonian cycle, that is, a cycle that visits every vertex exactly once.

2 votes

Hamiltonian paths in bipartite graphs with 2 sets of "almost" same cardinality

Counterexample. Draw a 4-cycle with vertices A, B, C, D and edges AB, BC, CD, DA; draw another 4-cycle with vertices E, F, G, H and edges EF, FG, GH, HE; draw a third 4-cycle with vertices I, J, K, L …
bof's user avatar
  • 13.4k
6 votes

"Gray code" for building teams

Theorem. The graph $G(n,k)$ is Hamiltonian if $n\ge3$ and $0\lt k\lt n$. Proof. If $k=1$ or $k=n-1$ it's obvious, because $G(n,k)\cong K_n$ in those cases. Now consider the graph $G=G(n,k)$ where $2\l …
bof's user avatar
  • 13.4k