cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A361950 Array read by antidiagonals: T(n,k) = n! * Sum_{s} 2^(Sum_{i=1..k-1} s(i)*s(i+1))/(Product_{i=1..k} s(i)!) where the sum is over all nonnegative compositions s of n into k parts.

Original entry on oeis.org

1, 1, 0, 1, 1, 0, 1, 2, 1, 0, 1, 3, 6, 1, 0, 1, 4, 13, 26, 1, 0, 1, 5, 22, 81, 162, 1, 0, 1, 6, 33, 166, 721, 1442, 1, 0, 1, 7, 46, 287, 1726, 9153, 18306, 1, 0, 1, 8, 61, 450, 3309, 24814, 165313, 330626, 1, 0, 1, 9, 78, 661, 5650, 50975, 494902, 4244481, 8488962, 1, 0
Offset: 0

Views

Author

Andrew Howroyd, Mar 31 2023

Keywords

Comments

T(n,k) corresponds to c(k,n) in the Klarner reference. This is an intermediate step in the computation of the number of labeled weakly graded (ranked) posets. The number of elements in the poset is n and the rank k.

Examples

			Array begins:
======================================================
n/k| 0 1      2       3        4        5        6 ...
---+--------------------------------------------------
0  | 1 1      1       1        1        1        1 ...
1  | 0 1      2       3        4        5        6 ...
2  | 0 1      6      13       22       33       46 ...
3  | 0 1     26      81      166      287      450 ...
4  | 0 1    162     721     1726     3309     5650 ...
5  | 0 1   1442    9153    24814    50975    91866 ...
6  | 0 1  18306  165313   494902  1058493  1957066 ...
7  | 0 1 330626 4244481 13729846 29885567 55363650 ...
  ...
T(3,2) = 26: the nonnegative integer compositions of 3 with 2 parts are (0,3), (1,2), (2,1), (3,0). These contribute, respectively 2^0*3!/(0!*3!) = 1, 2^2*3!/(1!*2!) = 12, 2^2*3!/(2!*1!) = 12, 2^0*3!/(0!*3!) = 1, so T(3,2) = 1 + 12 + 12 + 1 = 26.
		

Crossrefs

Rows 0..2 are A000012, A000027, A028872(n+1).
The unlabeled version is A361952.
Cf. A361951.

Programs

  • PARI
    S(M)={matrix(#M, #M, i, j, sum(k=0, i-j, 2^((j-1)*k)*M[i-j+1,k+1])/(j-1)! )}
    C(n, m=n)={my(M=matrix(n+1, n+1), c=vector(m+1), A=O(x*x^n)); M[1, 1]=1; c[1]=1+A; for(h=1, m, M=S(M); c[h+1]=sum(i=0, n, vecsum(M[i+1, ])*x^i, A)); c}
    R(n)={Mat([Col(serlaplace(p)) | p<-C(n)])}
    { my(A=R(6)); for(i=1, #A, print(A[i,])) }

A001827 Related to graded partially ordered sets.

Original entry on oeis.org

1, 4, 22, 166, 1726, 24814, 494902, 13729846, 531077086, 28697950174, 2170176736102, 230007989092006, 34211282155446286, 7149766552058591374, 2101690590380890192342, 869808621195903097079446, 507261036269544624540347326
Offset: 0

Views

Author

Keywords

Comments

Corresponds to the numbers c(4,n) in the Klarner paper. - Sean A. Irvine, Sep 24 2015

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Column k=4 of A361950.

Formula

a(n) = Sum_{p+q+r+s=n} (n!/p!q!r!s!) 2^(pq+qr+rs) where (p,q,r,s) is any nonnegative composition of n. - Sean A. Irvine, Sep 24 2015

Extensions

More terms from Sean A. Irvine, Sep 24 2015

A001829 Related to graded partially ordered sets.

Original entry on oeis.org

1, 6, 46, 450, 5650, 91866, 1957066, 55363650, 2109599650, 109773407466, 7894945079386, 792252362302770, 111671194813402930, 22202849561274787866, 6241728810901739517226, 2484011055161613143144610, 1400187830319472451472442690
Offset: 0

Views

Author

Keywords

Comments

Corresponds to the numbers c(6,n) in the Klarner paper. - Sean A. Irvine, Sep 24 2015

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Column k=6 of A361950.

Formula

a(n) = Sum_{p+q+r+s+t+u=n} (n!/p!q!r!s!t!u!) 2^(pq+qr+rs+st+tu) where (p,q,r,s,t,u) is any nonnegative composition of n. - Sean A. Irvine, Sep 24 2015

A001830 Related to graded partially ordered sets.

Original entry on oeis.org

1, 7, 61, 661, 8953, 152917, 3334921, 94354981, 3528929353, 177999003157, 12340001650921, 1194005625114661, 162936187792764073, 31536761103831315157, 8677703806537883683081, 3395880602480076153665701, 1889190751946097573211698313
Offset: 0

Views

Author

Keywords

Comments

Corresponds to the numbers c(7,n) in the Klarner paper. - Sean A. Irvine, Sep 24 2015

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Column k=7 of A361950.

Formula

a(n) = Sum_{p+q+r+s+t+u+v=n} (n!/p!q!r!s!t!u!v!) 2^(pq+qr+rs+st+tu+uv) where (p,q,r,s,t,u,v) is any nonnegative composition of n. - Sean A. Irvine, Sep 24 2015

Extensions

More terms from Sean A. Irvine, Sep 24 2015
Showing 1-4 of 4 results.