Ask Your Question

luis's profile - activity

2019-06-07 10:14:46 +0200 received badge  Scholar (source)
2019-06-07 10:14:42 +0200 received badge  Supporter (source)
2019-06-06 10:08:10 +0200 received badge  Student (source)
2019-06-05 16:03:06 +0200 asked a question chromatic polynomial graph with loops

Since there are no proper colorings of graphs with loops, their chromatic polynomial should be zero.

SageMath 8.6 however seems to ignore the loops and returns a nonzero chromatic polynomial for the graph on one vertex with one loop edge.

sage: Graph([[1, 1]], multiedges=True, loops=True).chromatic_polynomial()
x