I can use various algorithms to list all proper $k$-colorings of the vertices of the ladder rung graph $nP_2$, the first six are show below.
Is there a quick way in Mathematica to list all proper $k$-colorings of the vertices?
The chromatic polynomial can count them easily.
But does the nature of the graph present a coloring technique which improves the brute force method of checking every possible coloring for at least one pair of similar, adjacent colors, rejecting, and then keeping the rest?
So far, even for $n=6$, listing all $6$-colorings takes weeks of computational time using the Combinatorica function MinimumVertexColoring[g,6,All]
, with g
the ladder rung graph $6P_2$.
See also the cross-post Coloring ladder rung graphs.