A355558 The independence polynomial of the n-halved cube graph evaluated at -1.
0, -1, -3, -3, 25, -135, -2079, 1879969
Offset: 1
Examples
Row 5 of A355226 is 1, 16, 40. This means the 5-halved cube graph has independence polynomial 1 + 16*t + 40*t^2. Taking the alternating row sum of row 5, or evaluating the polynomial at -1, gives us 1 - 16 + 40 = 25 = a(5).
Links
- Eric Weisstein's World of Mathematics, Independence polynomial
- Eric Weisstein's World of Mathematics, Halved cube graph
Programs
-
Sage
from sage.graphs.independent_sets import IndependentSets def a(n): if n == 1: g = graphs.CompleteGraph(1) else: g = graphs.HalfCube(n) icount=0 for Iset in IndependentSets(g): if len(Iset) % 2 == 0: icount += 1 else: icount += -1 return icount
Comments