From the following collection how to find only those graphs having only integer eigenvalue
for g in graphs.nauty_geng("8 -c"):
g.show()
h = g.laplacian_matrix().eigenvalues()
h.sort()
show(h)
I am trying to extract those graphs having all laplacian eigenvalues are integer. Is it possible to solve this problem in sage?
Something like that
ok. Can we see those graphs also having integer eigenvalues?