The chordless cycle polynomial of a graph may be defined as
where is the number of chordless cycles (of length at least four) and is the length of a largest chordless cycles.
Precomputed chordless cycles of many graphs are implemented in the Wolfram Language as GraphData[g, "ChordlessCyclePolynomial"][x].