login
Number of n-uniform hypergraphs on 2n unlabeled nodes with at least one (possibly empty) hyperedge.
2

%I #9 Oct 05 2019 21:06:00

%S 1,2,10,2135,29281354514767167,

%T 1994324729203114587259985605157804740271034553359179870979936357974015

%N Number of n-uniform hypergraphs on 2n unlabeled nodes with at least one (possibly empty) hyperedge.

%C A hypergraph is called k-uniform if all hyperedges have the same cardinality k.

%H Alois P. Heinz, <a href="/A328157/b328157.txt">Table of n, a(n) for n = 0..7</a>

%H Jianguo Qian, <a href="https://doi.org/10.1016/j.disc.2014.03.005">Enumeration of unlabeled uniform hypergraphs</a>, Discrete Math. 326 (2014), 66--74. MR3188989.

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Hypergraph">Hypergraph</a>

%F a(n) = A309876(2n,n).

%p g:= (l, i, n)-> `if`(i=0, `if`(n=0, [[]], []), [seq(map(x->

%p [x[], j], g(l, i-1, n-j))[], j=0..min(l[i], n))]):

%p h:= (p, v)-> (q-> add((s-> add(`if`(andmap(i-> irem(k[i], p[i]

%p /igcd(t, p[i]))=0, [$1..q]), mul((m-> binomial(m, k[i]*m

%p /p[i]))(igcd(t, p[i])), i=1..q), 0), t=1..s)/s)(ilcm(seq(

%p `if`(k[i]=0, 1, p[i]), i=1..q))), k=g(p, q, v)))(nops(p)):

%p b:= (n, i, l, v)-> `if`(n=0 or i=1, 2^((p-> h(p, v))([l[], 1$n]))

%p /n!, add(b(n-i*j, i-1, [l[], i$j], v)/j!/i^j, j=0..n/i)):

%p a:= n-> b(2*n$2, [], n)-1:

%p seq(a(n), n=0..5);

%Y Cf. A309876.

%K nonn

%O 0,2

%A _Alois P. Heinz_, Oct 05 2019