One would think that by analogy with the matching-generating polynomial, independence polynomial,
etc., a cycle polynomial whose coefficients are the numbers of cycles of length would be defined. While no such polynomial
seems not to have been defined in the literature (instead, "cycle polynomials"
commonly instead refers to a polynomial corresponding to cycle
indices of permutation groups), they are
defined in this work.
The cycle polynomial, perhaps defined here for the first time, is therefore the polynomial
whose coefficients
give the number of simple cycles present in a graph
on
nodes. 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 cycle is of length 3, cycle polynomials have no terms of degree less than 3. The smallest exponent occurring in is the girth of
, while the polynomial degree
of
is the graph circumference. In particular,
the graph is Hamiltonian iff
the degree equals
.
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 simple paths of length
whose endpoints are adjacent and dividing
by
,
since deleting any one of the
edges of a
-cycle leaves such a path.
The following table summarizes closed forms for the cycle polynomials of some common classes of graphs.
| 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 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| ladder graph | 2 | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| prism graph | 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 2 | |||
| 3 | |||
| 4 |