login
Triangle read by rows where T(n,k) is the number of labeled simple graphs with n vertices and minimum vertex-degree k.
6

%I #14 Mar 09 2020 14:38:24

%S 1,1,0,1,1,0,4,3,1,0,23,31,9,1,0,256,515,227,25,1,0,5319,15381,10210,

%T 1782,75,1,0,209868,834491,815867,221130,15564,231,1,0,15912975,

%U 83016613,116035801,47818683,5499165,151455,763,1,0,2343052576,15330074139,29550173053,18044889597,3291232419,158416629,1635703,2619,1,0

%N Triangle read by rows where T(n,k) is the number of labeled simple graphs with n vertices and minimum vertex-degree k.

%C The minimum vertex-degree of the empty graph is infinity. It has been included here under k = 0. - _Andrew Howroyd_, Mar 09 2020

%H Andrew Howroyd, <a href="/A327366/b327366.txt">Table of n, a(n) for n = 0..230</a> (rows n = 0..20)

%H Gus Wiseman, <a href="/A327366/a327366.png">The graphs with 4 vertices and minimum vertex-degree k (row n = 4).</a>

%e Triangle begins:

%e 1

%e 1 0

%e 1 1 0

%e 4 3 1 0

%e 23 31 9 1 0

%e 256 515 227 25 1 0

%e 5319 15381 10210 1782 75 1 0

%t Table[Length[Select[Subsets[Subsets[Range[n],{2}]],k==If[#=={}||Union@@#!=Range[n],0,Min@@Length/@Split[Sort[Join@@#]]]&]],{n,0,5},{k,0,n}]

%o (PARI)

%o GraphsByMaxDegree(n)={

%o local(M=Map(Mat([x^0, 1])));

%o my(acc(p, v)=my(z); mapput(M, p, if(mapisdefined(M, p, &z), z+v, v)));

%o my(merge(r, p, v)=acc(p + sum(i=1, poldegree(p)-r-1, polcoef(p, i)*(1-x^i)), v));

%o my(recurse(r, p, i, q, v, e)=if(i<0, merge(r, x^e+q, v), my(t=polcoef(p, i)); for(k=0, t, self()(r, p, i-1, (t-k+x*k)*x^i+q, binomial(t, k)*v, e+k))));

%o for(k=2, n, my(src=Mat(M)); M=Map(); for(i=1, matsize(src)[1], my(p=src[i, 1]); recurse(n-k, p, poldegree(p), 0, src[i, 2], 0)));

%o Mat(M);

%o }

%o Row(n)={if(n==0, [1], my(M=GraphsByMaxDegree(n), u=vector(n+1)); for(i=1, matsize(M)[1], u[n-poldegree(M[i,1])]+=M[i,2]); u)}

%o { for(n=0, 8, print(Row(n))) } \\ _Andrew Howroyd_, Mar 09 2020

%Y Row sums are A006125.

%Y Row sums without the first column are A006129.

%Y Row sums without the first two columns are A100743.

%Y Column k = 0 is A327367(n > 0).

%Y Column k = 1 is A327227.

%Y The unlabeled version is A294217.

%Y Cf. A059167, A245797, A327069, A327103, A327334, A327369.

%K nonn,tabl

%O 0,7

%A _Gus Wiseman_, Sep 04 2019

%E Terms a(28) and beyond from _Andrew Howroyd_, Sep 09 2019