A369193
Number of labeled simple graphs with n vertices and at most as many edges as covered (non-isolated) vertices.
Original entry on oeis.org
1, 1, 2, 8, 57, 608, 8614, 151365, 3162353, 76359554, 2088663444, 63760182536, 2147325661180, 79051734050283, 3157246719905273, 135938652662043977, 6275929675565965599, 309242148569525451140, 16197470691388774460758, 898619766673014862321176, 52639402023471657682257626
Offset: 0
The a(0) = 1 through a(3) = 8 graphs:
{} {} {} {}
{{1,2}} {{1,2}}
{{1,3}}
{{2,3}}
{{1,2},{1,3}}
{{1,2},{2,3}}
{{1,3},{2,3}}
{{1,2},{1,3},{2,3}}
The version counting all vertices is
A369192.
The version for loop-graphs is
A369196, counting all vertices
A066383.
A054548 counts graphs covering n vertices with k edges, with loops
A369199.
-
Table[Length[Select[Subsets[Subsets[Range[n],{2}]], Length[#]<=Length[Union@@#]&]],{n,0,5}]
A368186
Number of n-covers of an unlabeled n-set.
Original entry on oeis.org
1, 1, 2, 9, 87, 1973, 118827, 20576251, 10810818595, 17821875542809, 94589477627232498, 1651805220868992729874, 96651473179540769701281003, 19238331716776641088273777321428, 13192673305726630096303157068241728202, 31503323006770789288222386469635474844616195
Offset: 0
Non-isomorphic representatives of the a(1) = 1 through a(3) = 9 set-systems:
{{1}} {{1},{2}} {{1},{2},{3}}
{{1},{1,2}} {{1},{2},{1,3}}
{{1},{1,2},{1,3}}
{{1},{1,2},{2,3}}
{{1},{2},{1,2,3}}
{{1},{1,2},{1,2,3}}
{{1,2},{1,3},{2,3}}
{{1},{2,3},{1,2,3}}
{{1,2},{1,3},{1,2,3}}
Covers with any number of edges are counted by
A003465, unlabeled
A055621.
Cf.
A000088,
A002494,
A006126,
A055130,
A133686,
A140638,
A305000,
A317795,
A326754,
A367901,
A367902,
A367903.
-
brute[m_]:=Table[Sort[Sort/@(m/.Rule@@@Table[{i, p[[i]]},{i,Length[p]}])], {p,Permutations[Union@@m]}];
Table[Length[Union[First[Sort[brute[#]]]& /@ Select[Subsets[Rest[Subsets[Range[n]]],{n}], Union@@#==Range[n]&]]], {n,0,3}]
-
permcount(v) = {my(m=1, s=0, k=0, t); for(i=1, #v, t=v[i]; k=if(i>1&&t==v[i-1], k+1, 1); m*=t*k; s+=t); s!/m}
K(q, t)={2^sum(j=1, #q, gcd(t, q[j])) - 1}
G(n,m)={if(n==0, 1, my(s=0); forpart(q=n, my(g=sum(t=1, m, K(q,t)*x^t/t, O(x*x^m))); s+=permcount(q)*exp(g - subst(g,x,x^2))); s/n!)}
a(n)=if(n ==0, 1, polcoef(G(n,n) - G(n-1,n), n)) \\ Andrew Howroyd, Jan 03 2024
A368731
Number of non-isomorphic n-element sets of nonempty subsets of {1..n}.
Original entry on oeis.org
1, 1, 2, 10, 97, 2160, 126862, 21485262, 11105374322, 18109358131513, 95465831661532570, 1660400673336788987026, 96929369602251313489896310, 19268528295096123543660356281600, 13203875101002459910158494602665950757, 31517691852305548841992346407978317698725021
Offset: 0
Non-isomorphic representatives of the a(3) = 10 set-systems:
{{1},{2},{3}}
{{1},{2},{1,2}}
{{1},{2},{1,3}}
{{1},{2},{1,2,3}}
{{1},{1,2},{1,3}}
{{1},{1,2},{2,3}}
{{1},{1,2},{1,2,3}}
{{1},{2,3},{1,2,3}}
{{1,2},{1,3},{2,3}}
{{1,2},{1,3},{1,2,3}}
The case of labeled covering graphs is
A367863, binomial transform
A367862.
These include the set-systems ranked by
A367917.
Requiring all edges to be singletons or pairs gives
A368598.
-
brute[m_]:=First[Sort[Table[Sort[Sort /@ (m/.Rule@@@Table[{(Union@@m)[[i]],p[[i]]},{i,Length[p]}])], {p,Permutations[Range[Length[Union@@m]]]}]]];
Table[Length[Union[brute /@ Subsets[Subsets[Range[n],{1,n}],{n}]]],{n,0,4}]
-
a(n) = polcoef(G(n, n), n) \\ G defined in A368186. - Andrew Howroyd, Jan 11 2024
A370318
Number of labeled simple graphs with n vertices and the same number of edges as covered vertices, such that the edge set is connected.
Original entry on oeis.org
0, 0, 0, 1, 19, 307, 5237, 99137, 2098946, 49504458, 1291570014, 37002273654, 1156078150969, 39147186978685, 1428799530304243, 55933568895261791, 2338378885159906196, 103995520598384132516, 4903038902046860966220, 244294315694676224001852, 12827355456239840407125363
Offset: 0
The covering case is
A057500, which is also the covering case of
A370317.
A062734 counts connected graphs by edge count.
A143543 counts simple labeled graphs by number of connected components.
-
csm[s_]:=With[{c=Select[Subsets[Range[Length[s]],{2}], Length[Intersection@@s[[#]]]>0&]},If[c=={},s, csm[Sort[Append[Delete[s,List/@c[[1]]], Union@@s[[c[[1]]]]]]]]];
Table[Length[Select[Subsets[Subsets[Range[n], {2}]],Length[#]==Length[Union@@#] && Length[csm[#]]==1&]],{n,0,5}]
-
\\ Compare A370317; use A057500 for efficiency.
a(n)=n!*polcoef(polcoef(exp(x*y + O(x*x^n))*(-x+log(sum(k=0, n, (1 + y + O(y*y^n))^binomial(k, 2)*x^k/k!, O(x*x^n)))), n), n) \\ Andrew Howroyd, Feb 19 2024
Comments