ChromaticNumber

ChromaticNumber[g]
gives the chromatic number of the graph, which is the fewest number of colors necessary to color the graph.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »