Goldberg Snarks

Goldberg snark G5

A graph with 40 vertices and 60 edges, made of 5 identical blocks. It is the smallest Goldberg snark.

The Goldberg snark G5
Drag to turn it, or drag a vertex to move it.Swipe sideways to turn it. Tap a vertex, then drag it or tap a new place, to move it.

Blocks5
Vertices40
Edges60
Chromatic index4
Resistance2
Girth5
Circumference39
Cycles of length 511
Diameter6
Radius5
Symmetries20
Crossing number10
Hamiltonian No
Planar No

Background

A graph is a set of points, called vertices, joined by lines, called edges. A graph is cubic if three edges meet at every vertex. A cycle is a closed loop of edges that does not visit any vertex twice.

An edge coloring gives each edge a color, with different colors for edges that meet. Most cubic graphs have one with three colors, called a 3-edge-coloring. A snark is a cubic graph that needs four colors, with some exceptions.

The Goldberg snark Gk is made of k copies of a block of eight vertices, where k is odd and at least 5 [Goldberg 1981]. Links join each block to the next, in an outer ring, a middle ring, and an inner ring. The construction names the vertices of each block a through h.

Cycles of length 5

The graph G5 has eleven cycles of length 5. Each block contains two, and the inner ring is the eleventh. No other Goldberg snark has an inner ring of length 5.

The inner ring of G5.

Longest cycle

A Hamiltonian cycle is a cycle that visits every vertex. Like every snark, G5 has none. Its longest cycles visit 39 of its 40 vertices, so its circumference is 39.

A cycle that visits every vertex except c1.

Connectivity

The cyclic edge-connectivity of a graph is the smallest number of edges whose removal leaves two parts that each contain a cycle. It is at least 4 for every snark, and 5 for G5.

Number of snarks of this size

As of 2026, the number of snarks with 40 vertices, the size of G5, is not known. The largest size for which it is known is 38 vertices, with 1,051,945,967 snarks [Brinkmann & Van Overberghe 2026].

Edge coloring

  • green
  • blue
  • gold
  • uncolored
G5 with all but two edges colored.

In any 3-edge-coloring, the outer and middle links have the same color on one side of each block and different colors on the other side (Lemma 4). Around the ring, places between blocks where those colors are the same would therefore alternate with places where they differ. This is impossible in G5, because the number of places between blocks, 5, is odd.

When three colors are used, at least two edges must be left uncolored in any cubic graph that has no 3-edge-coloring. The figure shows G5 with two edges uncolored, so the most that can be colored is 58 of 60.

By Vizing’s theorem, no cubic graph needs more than four colors, so four are enough. The smallest number of colors in an edge coloring of a graph is its chromatic index, which is 4 for G5. The smallest number of edges that must be left uncolored with three colors is its resistance, which is 2.

Color

Color as many edges as you can so that edges of the same color never meet. Pick a color, then press edges. A vertex turns red if two edges of the same color meet there.

Keyboard: use the left and right arrow keys to move between edges, and the up and down arrow keys to move between blocks. Press 1 for green, 2 for blue, 3 for gold, or 0 to erase.

0 of 60 edges colored.

Downloads