TOPICS
Search

(0,2)-Graph


A (0,2)-graph is a connected graph such that any two distinct vertices have 0 or 2 common neighbors. (0,2)-graphs are regular, and the numbers of (0,2)-graphs with vertex degree 0, 1, 2, ... are given by 1, 1, 1, 2, 3, 8, 24, 96, 302, ... (OEIS A202592; Brouwer).

A (0,2)-graph with v vertices and vertex degree d satisfies

 d(d-1)<=2(v-1).

To see this, fix a graph vertex x and count the d(d-1) two-step walks from x that do not return to x. Each other graph vertex is the endpoint of either 0 or 2 such walks.

The graph Cartesian product of two (0,2)-graphs is again a (0,2)-graph (Brouwer). If two distinct vertices differ in only one coordinate, their common neighbors are determined by that factor. If they differ in two coordinates, they have two common neighbors exactly when the corresponding coordinates are adjacent in both factors. In all other cases they have no common neighbors. Consequently, a graph Cartesian product P_(n_1) square ... square P_(n_r) of path graphs, with each n_i>=1, is a (0,2)-graph iff every n_i is 1 or 2. In that case it is a hypercube graph Q_s, where s is the number of factors with n_i=2. If some n_i>=3, two vertices that differ by two consecutive steps in that factor and agree in all other coordinates have exactly one common neighbor.

The only complete multipartite graphs that are (0,2)-graphs are the singleton graph K_1, the path graph K_2, the square graph K_(2,2), and the tetrahedral graph K_4. Indeed, regularity forces all nonempty parts to have the same size a. With r>=2 parts, two vertices in different parts have (r-2)a common neighbors, while two distinct vertices in the same part have (r-1)a common neighbors. For a=1 this gives r=2 or r=4, and for a>=2 it gives a=r=2. The remaining connected case is the singleton graph.

In particular, the only cubic (0,2)-graphs are the tetrahedral graph K_4 and cubical graph Q_3 (Brouwer).

A subset of (0,2)-graphs are implemented in the Wolfram Language as GraphData[{"ZeroTwoBipartite", {d, k}}] and GraphData[{"ZeroTwoNonbipartite", {d, k}}].

0,2-Graphs

Classes of graphs that are (0,2)-graphs include the hypercube graphs and the folded n-cube graphs for n=2, 3, or n>=5 (Brouwer). The folded 4-cube is the complete bipartite graph K_(4,4), which is not a (0,2)-graph because two vertices in the same part have four common neighbors. Particular named (0,2)-graphs are summarized in the following table, ordered by vertex degree, and some of which are illustrated above.

Brouwer considers the unique 20-vertex (0,2)-graph whose local graphs are all K_3+3K_1. It can be constructed by letting the vertices be the ordered pairs (i,j) of distinct elements from the 5-set {1,2,3,4,5}, where (i,j) is adjacent to (i,k) whenever i, j, k are distinct and (i,j) is adjacent to (k,l) when i, j, k, l are distinct, so that {1,2,3,4,5}={i,j,k,l,m} for some m, and the permutation that maps (1,2,3,4,5) to (i,j,k,l,m) is an even permutation. Equivalently, it can be constructed by letting the vertices be the 20 vertices of the dodecahedron, choosing a fixed set partition of the dodecahedron into five tetrahedra, and letting two vertices be adjacent whenever they either lie in a common tetrahedron, or are joined by an graph edge of the dodecahedron.


See also

Complete Multipartite Graph, Graph Cartesian Product, Hexacode Graph, Path Graph, Regular Graph

Explore with Wolfram|Alpha

References

Brouwer, A. E. "Classification of Small (0,2)-Graphs." J. Combin. Th. Ser. A 113, 1636-1645, 2006.Brouwer, A. E. "(0,2)-Graphs: This Page's Graph [Dodecahedral (0,2) Graph]." https://aeb.win.tue.nl/graphs/Dodecahedral-02.html.Brouwer, A. E. "(0,2)-Graphs." https://aeb.win.tue.nl/graphs/recta/02graphs.html.Brouwer, A. E. and Östergård, P. R. J. "Classification of the (0,2)-Graphs of Valency 8." Disc. Math. 309, 532-547, 2009. https://doi.org/10.1016/j.disc.2008.07.037.Sloane, N. J. A. Sequence A202592 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

(0,2)-Graph

Cite this as:

Weisstein, Eric W. "(0,2)-Graph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/02-Graph.html

Subject classifications