CycleGraph
CycleGraph[n] gives the cycle graph C_n with n vertices connected in a cycle.
Examples
Create cycle graphs:
CycleGraph[6]
(* Hexagonal cycle *)Triangle (3-cycle):
CycleGraph[3]Edge count equals vertex count:
EdgeCount[CycleGraph[10]]
(* 10 *)Please visit the official Wolfram Language Reference for more details.