The term cycle polynomial is used in this work for the polynomial
where
is a simple graph on
vertices and
counts its simple cycles
of length
, with a graph cycle and its
reversal counted once. This is analogous to the matching-generating
polynomial and independence polynomial.
The term "cycle polynomial" is also used for polynomials
corresponding to cycle indices of permutation
groups. For a graph containing a graph
cycle, the coefficient list
through the graph
circumference
,
with zero entries retained, is the cycle
length distribution sequence of Harary and Palmer (1973, p. 266).
Since the smallest possible simple graph cycle has length 3, cycle polynomials have no terms of degree
less than 3. If
contains a graph cycle, the smallest exponent
occurring in
is the girth of
, while the polynomial degree
of
is the graph circumference. An acyclic
graph has
.
In particular,
gives the number of Hamiltonian cycles, so a
graph is Hamiltonian iff
. A graph is triangle-free iff
, and square-free iff
.
Since cycle counts in a disconnected graph are the sum of cycle counts in its connected components, the cycle polynomial is additive over connected components.
Equivalently,
can be obtained by counting unoriented simple paths
of length
whose endpoints are adjacent
and dividing by
,
since deleting any one of the
edges of a
-cycle leaves such a graph
path.
The following table summarizes closed forms for the cycle polynomials of some common classes of graphs. For
the cycle graph, gear graph,
helm graph, prism graph,
sunlet graph, web graph,
and Möbius ladder, the parameter satisfies
. For the book
graph, ladder graph, complete
graph, and complete bipartite graph,
is a positive
integer. For the wheel graph,
. The rational functions
in the table are interpreted by continuity at their
removable singularities.
| graph | |
| book
graph | |
| complete bipartite
graph | |
| complete graph | |
| cycle graph | |
| gear graph | |
| helm graph | |
| ladder graph | |
| Möbius ladder | |
| prism graph | |
| sunlet graph | |
| web graph | |
| wheel graph | |
The following table summarizes the recurrence relations for cycle polynomials for some simple classes of graphs.
| graph | order | recurrence |
| antiprism graph | 7 | |
| book graph | 3 | |
| gear graph | 4 | |
| helm graph | 4 | |
| ladder graph | 3 | |
| Möbius ladder | 6 | |
| sunlet graph | 1 | |
| web graph | 6 |
The first few cycle polynomials for a number of graph families are summarized in the following table.
| graph | OEIS | ||
| antiprism graph | 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| cocktail party graph | A167986 | 2 | |
| 3 | |||
| 4 | |||
| complete graph | 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| crown graph | 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| cycle graph | 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| grid
graph | 2 | ||
| 3 | |||
| 4 | |||
| 5 | |||
| hypercube graph | A085452 | 2 | |
| 3 | |||
| 4 | |||
| 5 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| ladder graph | 2 | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| prism graph | 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 2 | |||
| 3 | |||
| 4 |