Count the number of non-isomorphic graphs for the given degree sequence

Yes, there are. I'll describe two such graphs.

First, arrange the six vertices in a 2 by 3 grid. Then connect vertices so as to form the number $8$ as seen on sports scoreboards or some digital clocks. This is what a commenter refers to as a theta graph.

For the second example, call the vertices of degree $3$ $A$ and $B$ and the other four $x,y,z,w$. Set $A$ adjacent to $x,y,z$, $B$ adjacent to $x,y,w$, and $z$ adjacent to $w$.

In the first example, the degree $3$ vertices are adjacent but in the second they are not, so the two graphs are non-isomorphic.


Vertices of degree 2 are fairly uninteresting as they can be removed from a graph by combining its two edges into one.

Suppose you did that to your graph(s), then you would be left with a graph with two vertices of degree 3. There are only two such reduced graphs: Either all the edges connect the two vertices, or they are connected by only one edge and both have a single loop.

Now insert the four degree-2 vertices back again.

Case 1: The reduced graph has three edges connecting the two nodes.

You can distribute the degree-2 vertices over the three edges in several distinct ways. As the three edges of the reduced graph are equivalent, all that matters is how you split the four added vertices into three groups (some of which may have zero vertices). There are four ways to do this: 0+0+4, 0+1+3, 0+2+2, or 1+1+2. This gives four non-isomorphic graphs. Note however that the 0+0+4 graph is not simple, because of the two 0 edges. So this gives 3 simple graphs.

Case 2: The reduced graph has one edge connecting the two vertices, and two loops, one on each vertex.

Each of the loops needs to have at least two degree-2 vertices added, because otherwise the graph will be not simple. We only have 4 vertices available so each loop must have exactly two vertices added. This gives the fourth simple graph.


Draw two hexagons. On one, draw a chord that bisects it and in another, draw a chord that does not. Then you get two nonisomorphic graphs because one has a simple circuit of length $4$ and the other does not.