Identifier
Identifier
Values
([],1) generating graphics... => 1
([],2) generating graphics... => 1
([(0,1)],2) generating graphics... => 1
([],3) generating graphics... => 1
([(1,2)],3) generating graphics... => 1
([(0,2),(1,2)],3) generating graphics... => 1
([(0,1),(0,2),(1,2)],3) generating graphics... => 1
([],4) generating graphics... => 1
([(2,3)],4) generating graphics... => 1
([(1,3),(2,3)],4) generating graphics... => 1
([(0,3),(1,3),(2,3)],4) generating graphics... => 1
([(0,3),(1,2)],4) generating graphics... => 1
([(0,3),(1,2),(2,3)],4) generating graphics... => 1
([(1,2),(1,3),(2,3)],4) generating graphics... => 1
([(0,3),(1,2),(1,3),(2,3)],4) generating graphics... => 1
([(0,2),(0,3),(1,2),(1,3)],4) generating graphics... => 1
([(0,2),(0,3),(1,2),(1,3),(2,3)],4) generating graphics... => 1
([(0,1),(0,2),(0,3),(1,2),(1,3),(2,3)],4) generating graphics... => 1
([],5) generating graphics... => 1
([(3,4)],5) generating graphics... => 1
([(2,4),(3,4)],5) generating graphics... => 1
([(1,4),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,4),(2,4),(3,4)],5) generating graphics... => 2
([(1,4),(2,3)],5) generating graphics... => 1
([(1,4),(2,3),(3,4)],5) generating graphics... => 1
([(0,1),(2,4),(3,4)],5) generating graphics... => 1
([(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,4),(2,3),(3,4)],5) generating graphics... => 1
([(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(1,3),(1,4),(2,3),(2,4)],5) generating graphics... => 2
([(0,4),(1,2),(1,3),(2,4),(3,4)],5) generating graphics... => 1
([(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,3),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,3),(2,3),(2,4)],5) generating graphics... => 1
([(0,1),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(1,2),(1,4),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,4),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,4),(2,3)],5) generating graphics... => 1
([(0,1),(0,4),(1,3),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,2),(1,3),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4)],5) generating graphics... => 1
([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5) generating graphics... => 1
([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([(0,1),(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5) generating graphics... => 1
([],6) generating graphics... => 1
([(4,5)],6) generating graphics... => 1
([(3,5),(4,5)],6) generating graphics... => 1
([(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(1,5),(2,5),(3,5),(4,5)],6) generating graphics... => 2
([(0,5),(1,5),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(2,5),(3,4)],6) generating graphics... => 1
([(2,5),(3,4),(4,5)],6) generating graphics... => 1
([(1,2),(3,5),(4,5)],6) generating graphics... => 1
([(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,5),(2,5),(3,4),(4,5)],6) generating graphics... => 1
([(0,1),(2,5),(3,5),(4,5)],6) generating graphics... => 2
([(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,5),(3,4),(4,5)],6) generating graphics... => 1
([(1,5),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 2
([(0,5),(1,5),(2,4),(3,4)],6) generating graphics... => 1
([(1,5),(2,3),(2,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,3),(3,4),(4,5)],6) generating graphics... => 1
([(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,5),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,4),(3,4),(4,5)],6) generating graphics... => 2
([(0,5),(1,5),(2,3),(2,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,3)],6) generating graphics... => 1
([(1,5),(2,4),(3,4),(3,5)],6) generating graphics... => 2
([(0,1),(2,5),(3,4),(4,5)],6) generating graphics... => 1
([(1,2),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,3),(3,5),(4,5)],6) generating graphics... => 1
([(1,4),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 2
([(0,5),(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 2
([(1,4),(1,5),(2,3),(2,5),(3,4)],6) generating graphics... => 1
([(0,5),(1,4),(2,3),(2,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,2),(1,5),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,4),(2,3),(3,5),(4,5)],6) generating graphics... => 1
([(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,3),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,5),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,4),(1,5),(2,3),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(1,5),(2,3),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,3),(2,4),(3,5)],6) generating graphics... => 1
([(0,1),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 2
([(0,5),(1,5),(2,3),(2,4),(3,4)],6) generating graphics... => 1
([(0,4),(1,2),(1,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(1,2),(1,5),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,4),(1,2),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 2
([(0,4),(1,4),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,5),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(1,4),(1,5),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(1,2),(1,5),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,4),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,3),(0,5),(1,3),(1,5),(2,4),(2,5),(3,4),(4,5)],6) generating graphics... => 1
([(0,3),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,4),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,3),(1,4),(2,3),(2,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,5),(1,3),(1,4),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(2,5),(3,4)],6) generating graphics... => 1
([(0,3),(0,5),(1,2),(1,5),(2,4),(3,4),(4,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,4),(2,3),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,2),(1,5),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,4),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 2
([(0,5),(1,3),(1,4),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(1,3),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,3),(1,4),(2,3),(2,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,3),(1,4),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,3),(1,4),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,4),(2,3),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6) generating graphics... => 1
([(0,1),(0,2),(0,3),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(2,3),(4,5)],6) generating graphics... => 1
([(0,2),(1,4),(1,5),(2,3),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,5),(2,3),(2,4),(3,4),(4,5)],6) generating graphics... => 1
([(0,1),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(2,3),(2,5),(3,4),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,4),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(1,2),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,5),(1,2),(1,4),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,5),(1,4),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,5),(1,2),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4)],6) generating graphics... => 1
([(0,1),(0,5),(1,4),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,3),(0,4),(1,2),(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,5),(3,4)],6) generating graphics... => 1
([(0,1),(0,3),(0,5),(1,2),(1,4),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,2),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,3),(1,4),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,1),(0,4),(0,5),(1,2),(1,3),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6) generating graphics... => 1
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6) generating graphics... => 1
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6) generating graphics... => 1
click to show generating function       
Description
The number of graphs with the same ordinary spectrum as the given graph.
Code
@cached_function
def spectra(n):
    return {G.copy(immutable=True): sorted(G.adjacency_matrix().eigenvalues()) for G in graphs(n)}

def statistic(G):
    d = spectra(G.num_verts())
    s = d[G.copy(immutable=True)]
    return sum(1 for _, s_H in d.items() if s == s_H)
Created
Feb 14, 2020 at 16:27 by Martin Rubey
Updated
Feb 14, 2020 at 16:27 by Martin Rubey