login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309865 Number T(n,k) of k-uniform hypergraphs on n unlabeled nodes; triangle T(n,k), n>=0, 0<=k<=n, read by rows. 5

%I #26 Aug 21 2019 17:37:16

%S 2,2,2,2,3,2,2,4,4,2,2,5,11,5,2,2,6,34,34,6,2,2,7,156,2136,156,7,2,2,

%T 8,1044,7013320,7013320,1044,8,2,2,9,12346,1788782616656,

%U 29281354514767168,1788782616656,12346,9,2

%N Number T(n,k) of k-uniform hypergraphs on n unlabeled nodes; triangle T(n,k), n>=0, 0<=k<=n, read by rows.

%C T(n,k) is defined for n,k >= 0. The triangle contains only the terms with k<=n. T(n,k) = 1 for k>n.

%C See A000088 and A000665 for more references.

%H Alois P. Heinz, <a href="/A309865/b309865.txt">Rows n = 0..14, flattened</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 T(n,k) = T(n,n-k) for 0 <= k <= n.

%e Triangle T(n,k) begins:

%e 2;

%e 2, 2;

%e 2, 3, 2;

%e 2, 4, 4, 2;

%e 2, 5, 11, 5, 2;

%e 2, 6, 34, 34, 6, 2;

%e 2, 7, 156, 2136, 156, 7, 2;

%e 2, 8, 1044, 7013320, 7013320, 1044, 8, 2;

%e ...

%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 T:= proc(n, k) option remember; `if`(k>n-k,

%p T(n, n-k), b(n$2, [], k))

%p end:

%p seq(seq(T(n, k), k=0..n), n=0..9);

%Y Columns k=0..10 give: A007395, A000027, A000088, A000665, A051240, A051249, A309860, A309861, A309862, A309863, A309864.

%Y Cf. A309858 (the same as square array).

%K nonn,tabl

%O 0,1

%A _Alois P. Heinz_, Aug 20 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)