This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ChromaticPolynomial

ChromaticPolynomial[g, z]
gives the chromatic polynomial P(z) of graph g, which counts the number of ways to color g with, at most, z colors.