GraphTheory[SpecialGraphs]
GearGraph
construct gear graph
Calling Sequence
Parameters
Description
Examples
Compatibility
GearGraph(n)
n
-
positive integer
The GearGraph(n) function creates the gear graph on 2n+1 vertices.
The gear graph, also called the bipartite wheel graph, can be seen as a wheel graph in which a vertex has been inserted between each vertex other than the central vertex.
with⁡GraphTheory:
with⁡SpecialGraphs:
G≔GearGraph⁡5
G≔Graph 1: an undirected graph with 11 vertices and 15 edge(s)
Edges⁡G
0,2,0,4,0,6,0,8,0,10,1,2,1,10,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10
DrawGraph⁡G
The GraphTheory[SpecialGraphs][GearGraph] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
SpecialGraphs
WheelGraph
Download Help Document