Skip to content

PetersenGraph ​

The Petersen graph — the standard 10-vertex, 15-edge, 3-regular example graph.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguagePetersenGraph✓
PetersenGraph()outer 5-cycle (vertices 1-5), inner pentagram (6-10, step 2), and the 5 spokes joining ii to i+5i + 5.
Typed signatures
TypePackageApplies
() -> valuecombinatoricsalways

Domain: Collections

Details
  • 3-regular, non-bipartite (girth 5, so it has odd cycles), and connected — every property a reader would reach for this graph to demonstrate.

Examples

2 more kept as data, checked against the oracles
Basic #

Every vertex has degree 3

live ↗
InVertexDegree(PetersenGraph())\mathrm{VertexDegree}(\mathrm{PetersenGraph}())Out[3,3,3,3,3,3,3,3,3,3]\bigl\lbrack3, 3, 3, 3, 3, 3, 3, 3, 3, 3\bigr\rbrack

Its girth is 5 (odd), so it is not bipartite

live ↗
InIsBipartiteGraph(PetersenGraph())\mathrm{IsBipartiteGraph}(\mathrm{PetersenGraph}())OutFalse\mathrm{False}
About
Examples4
Checked againstWolfram Language 4 agree
CrosswalkWolfram Language

See also: CycleGraph, IsBipartiteGraph