ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 16 Sep 2016 07:14:02 -0500chromatic polynomial of empty graphhttp://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/ I know it is kind of silly, but the computation of the chromatic polynomial of the empty graph loops forever.
graphs.EmptyGraph().chromatic_polynomial()
(no question here... just a comment. I guess it is easy to correct, since it is supposed to be 1)Thu, 15 Sep 2016 18:04:32 -0500http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/Answer by kcrisman for <p>I know it is kind of silly, but the computation of the chromatic polynomial of the empty graph loops forever.</p>
<pre><code>graphs.EmptyGraph().chromatic_polynomial()
</code></pre>
<p>(no question here... just a comment. I guess it is easy to correct, since it is supposed to be 1)</p>
http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/?answer=34834#post-id-34834This apparently has been the case for a while ... I opened [Ticket 21502](https://trac.sagemath.org/ticket/21502#ticket) for this issue. Thank you!Thu, 15 Sep 2016 20:01:22 -0500http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/?answer=34834#post-id-34834Comment by kcrisman for <p>This apparently has been the case for a while ... I opened <a href="https://trac.sagemath.org/ticket/21502#ticket">Ticket 21502</a> for this issue. Thank you!</p>
http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/?comment=34842#post-id-34842So the "poly" would be x/(x-1) ? :P But probably someone has already done this, like the field of one element stuff ...Fri, 16 Sep 2016 07:14:02 -0500http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/?comment=34842#post-id-34842Comment by tmonteil for <p>This apparently has been the case for a while ... I opened <a href="https://trac.sagemath.org/ticket/21502#ticket">Ticket 21502</a> for this issue. Thank you!</p>
http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/?comment=34837#post-id-34837I do not see what makes the empty graph not a tree :/Thu, 15 Sep 2016 20:07:19 -0500http://ask.sagemath.org/question/34831/chromatic-polynomial-of-empty-graph/?comment=34837#post-id-34837