For each positive integer , the chromatic polynomial counts the proper vertex colourings of a finite graph using a fixed palette of colours.
For a non-loop edge ,
The first term counts colourings after deleting ; the second subtracts those giving its endpoints the same colour, which correspond to colourings of the contraction. Together with for an edgeless graph, induction proves that is a polynomial.
Attaching a new leaf to a graph multiplies its chromatic polynomial by , because after colouring the old graph the leaf may receive any colour except its neighbour's.

Articles by others on the same topic (1)

The **chromatic polynomial** is a polynomial that encodes the number of ways to color the vertices of a graph using a given number of colors such that no two adjacent vertices share the same color. Specifically, for a graph \( G \), the chromatic polynomial \( P(G, k) \) is defined as the number of ways to color the graph with \( k \) colors. ### Key Properties 1.