FriendshipGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory[SpecialGraphs]

  

FriendshipGraph

  

construct friendship graph

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

FriendshipGraph(m)

Parameters

m

-

nonnegative integer

Description

• 

The FriendshipGraph(m) function creates the friendship graph on 2m+1 vertices.

• 

It is formed by joining m copies of the cycle graph on 3 elements together at a single common vertex.

Examples

withGraphTheory:

withSpecialGraphs:

FFriendshipGraph3

FGraph 1: an undirected graph with 7 vertices and 9 edge(s)

(1)

GirthF

3

(2)

ChromaticIndexF

6

(3)

DrawGraphF

References

  

"Friendship graph", Wikipedia. http://en.wikipedia.org/wiki/Friendship_graph

  

Erdős, Paul; Rényi, Alfréd; Sós, Vera T. (1966), "On a problem of graph theory", Studia Sci. Math. Hungar., 1: 215–235.

Compatibility

• 

The GraphTheory[SpecialGraphs][FriendshipGraph] command was introduced in Maple 2019.

• 

For more information on Maple 2019 changes, see Updates in Maple 2019.

See Also

GearGraph

SpecialGraphs