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-5 of 5 results.

A370235 Table read by rows. Number of set partitions of [n] with respect to genus g.

Original entry on oeis.org

1, 1, 2, 5, 14, 1, 42, 10, 132, 70, 1, 429, 420, 28, 1430, 2310, 399, 1, 4862, 12012, 4179, 94, 16796, 60060, 36498, 2620, 1, 58786, 291720, 282282, 45430, 352, 208012, 1385670, 1999998, 600655, 19261, 1, 742900, 6466460, 13258674, 6633484, 541541, 1378
Offset: 0

Views

Author

Peter Luschny, Feb 15 2024

Keywords

Comments

The table shows the number of partitions of [n] = {1, 2, 3, ..., n} with genus g.
The set of noncrossing partitions is exactly the set of genus zero partitions. The numbers corresponding to this case are the Catalan numbers.
This is essentially table 2.1 in Martha Yip's thesis (p. 12).
From Robert Coquereaux, Feb 16 2024: (Start)
The two-dimensional array is called triangle of genus-dependent Bell numbers B(n, g); if n >= 1, n even, nonzero values are obtained for 0 <= g <= floor((n-1)/2); if n >= 1, odd, nonzero values are obtained for 0 <= g < (n-1)/2.
The two-dimensional array B(n, g) can be obtained from a three-dimensional array S2(n, k, g), by summation over the number k of blocks. The numbers S2(n, k, g) are genus-dependent Stirling numbers of the second kind. They give the number of genus g partitions of the n-set which are partitions into k nonempty subsets (blocks). The numbers S2(n, k, g) are discussed in A370420.
(End)

Examples

			[n\g]     0        1        2      3      4     5
-------------------------------------------------
[ 0]      1;
[ 1]      1;
[ 2]      2;
[ 3]      5;
[ 4]     14,       1;
[ 5]     42,      10;
[ 6]    132,      70,        1;
[ 7]    429,     420,       28;
[ 8]   1430,    2310,      399,       1;
[ 9]   4862,   12012,     4179,      94;
[10]  16796,   60060,    36498,    2620,      1;
[11]  58786,  291720,   282282,   45430,    352;
[12] 208012, 1385670,  1999998,  600655,  19261,    1;
[13] 742900, 6466460, 13258674, 6633484, 541541, 1378;
		

Crossrefs

Columns: A000108 (g=0), A002802 (g=1), A297179 (g=2), A370237 (g=3).
Cf. A000110 (row sums), A177267 (permutations by genus).
Cf. A370420 (S2(n,k,g)).

A297179 Number of genus-2 partitions of [n].

Original entry on oeis.org

1, 28, 399, 4179, 36498, 282282, 1999998, 13258674, 83417334, 503090588, 2929953026, 16569715890, 91386952020, 493234934220, 2612295374940, 13607257868820, 69841333755270, 353777814426960, 1770937330172010, 8770508370593970, 43015147164809820, 209104302965011740
Offset: 6

Views

Author

N. J. A. Sloane, Dec 27 2017

Keywords

Comments

From Robert Coquereaux, Feb 12 2024: (Start)
Call B(n, g) the number of genus g partitions of a set with n elements (genus-dependent Bell number). Then a(n) = B(n, 2) with B(6, 2) = 1.
The entries of the triangle T(n, k) giving the number of genus 2 partitions of a set with n elements with k parts are known from R. Cori and G. Hetyei A297178.
Defining a(n) to be the sum over k of T(n,k) one shows that a(n) obeys the recurrence
a(n) = a(n-1) * (2*(-9 + 2*n) (-84 + n (88 + n*(-39 + 5*n)))) / ((-6 + n)*(-216 + n*(181 + n*(-54 + 5 n)))) with a(1) = a(2) = a(3) = a(4) = a(5) = 0 and a(6) = 1.
This determines a(n) for all n. One can solve the above recurrence and find an explicit formula, given below, for a(n) as a function of n. (End)

Crossrefs

Row sums of A297178.
Column g=2 of A370235.

Programs

  • Mathematica
    a[n_] := (2^(n - 9) (88 n - 39 n^2 + 5 n^3 - 84) (2 n - 9)!!) / (45 (n - 6)!);
    Table[a[n], {n, 6, 27}]  (* Peter Luschny, Feb 13 2024 *)

Formula

From Robert Coquereaux, Feb 12 2024: (Start)
a(n) = (1/(2^9*3^2*5)) * ((-84 + 88*n - 39*n^2 + 5*n^3) /((2*n - 1) * (2*n - 3) * (2*n - 5) * (2*n - 7))) * (1/(n - 6)!) * ((2*n)!/n!).
E.g.f.: (1/720) * exp(2*x) *(x^2*(-6 + 6*x - 9*x^2 + 5*x^3)*BesselI(0, 2*x) + x*(6 - 6*x + 12*x^2 - 8*x^3 + 5*x^4)*BesselI(1, 2*x)). (End)

A370236 Triangle read by rows: T(n, k) is the number of partitions of genus 1 and k parts of the n-set (n >= 4, 2 <= k <= n-2).

Original entry on oeis.org

1, 5, 5, 15, 40, 15, 35, 175, 175, 35, 70, 560, 1050, 560, 70, 126, 1470, 4410, 4410, 1470, 126, 210, 3360, 14700, 23520, 14700, 3360, 210, 330, 6930, 41580, 97020, 97020, 41580, 6930, 330, 495, 13200, 103950, 332640, 485100, 332640, 103950, 13200, 495
Offset: 4

Views

Author

Robert Coquereaux, Feb 12 2024

Keywords

Comments

The formula given below was conjectured by Martha Yip and proved by Robert Cori and Gábor Hetyei.
More generally one may consider genus-dependent Stirling numbers S(n, k, g) that count the partitions of genus g and k parts of the n-set.
Then T(n, k) = S(n, k, 1). See Robert Coquereaux and Jean-Bernard Zuber.

Examples

			Triangle begins (see Table 3.1 in Yip's thesis):
    1;
    5,    5;
   15,   40,   15;
   35,  175,  175,   35;
   70,  560, 1050,  560,   70;
  126, 1470, 4410, 4410, 1470, 126;
		

Crossrefs

Row sums are A002802.
Cf. A000332, A297178 (genus 2).

Programs

  • Mathematica
    T[n_,k_] := (1/6) Binomial[n, 2] Binomial[n-2, k] Binomial[n-2, k-2];
    Table[T[n,k],{n,4,12},{k,2,n-2}]//Flatten (* Stefano Spezia, Feb 14 2024 *)

Formula

T(n, k) = (1/6)*binomial(n, 2)*binomial(n-2, k)*binomial(n-2, k-2).

A370420 Number of genus g partitions of the n-set which are partitions into k nonempty subsets (blocks). Flattened 3-dimensional array read by n, then by g:0..floor(n-1)/2, then by k:1..n.

Original entry on oeis.org

1, 1, 1, 1, 3, 1, 1, 6, 6, 1, 0, 1, 0, 0, 1, 10, 20, 10, 1, 0, 5, 5, 0, 0, 1, 15, 50, 50, 15, 1, 0, 15, 40, 15, 0, 0, 0, 1, 0, 0, 0, 0, 1, 21, 105, 175, 105, 21, 1, 0, 35, 175, 175, 35, 0, 0, 0, 7, 21, 0, 0, 0, 0, 1, 28, 196, 490, 490, 196, 28, 1, 0, 70, 560, 1050, 560, 70, 0, 0, 0, 28, 210, 161, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Robert Coquereaux, Feb 18 2024

Keywords

Comments

Genus-dependent Stirling numbers of the second kind S2(n,k,g), 1 <= n, 1 <= k <= n, 0 <= g <= floor((n-1)/2). This is an infinite three-dimensional array. Its first 15 rows (n:1..15) are given by the table (see Links) taken from the article by Robert Coquereaux and Jean-Bernard Zuber (where a transpose of this table is given), see p. 32. These 15 rows determine 589 entries of the sequence (Data).
Example: the numbers S2(5,k,0), k=1..5, are {1,10,20,10,1} and appear on line 5, column 1; the numbers S2(5,k,1), k=1..5, are {0,5,5,0,0} and appear on line 5, column 2. Values of S2(n,k,g) for g > floor((n-1)/2) are equal to 0 and are not displayed.
Summing S2(n,k,g) over k gives genus-dependent Bell numbers B(n,g), A370235. Summing S2(n,k,g) over g gives S2(n,k), the Stirling numbers of the second kind A008277. Summing S2(n,k,g) over k and g gives the Bell numbers B(n), A000110. Example: S2(5,k,0) = 1, 10, 20, 10, 1 and S2(5,k,1) = 0, 5, 5, 0, 0 for k = 1..5; therefore S2(5,k) = 1, 15, 25, 10, 1, B(5,0) = 42, B(5,1) = 10, and B(5) = 52.

Examples

			For n:1..7, g:1..floor(n-1)/2, k:1..n. The 3-dimensional array begins:
  {1};
  {1,1};
  {1,3,1};
  {1,6,6,1},               {0,1,0,0};
  {1,10,20,10,1},          {0,5,5,0,0};
  {1,15,50,50,15,1},       {0,15,40,15,0,0},      {0,1,0,0,0,0};
  {1,21,105,175,105,21,1}, {0,35,175,175,35,0,0}, {0,7,21,0,0,0,0};
		

Crossrefs

Cf. A001263 (g=0), A370236 (g=1), A297178 (g=2).
Cf. A370235 (sum over k).

Programs

  • Mathematica
    See Links

Formula

No general formula is currently known. In the particular cases g=0, 1, 2, a formula is known: see Crossrefs.

A370237 Number of genus 3 partitions of the n-set.

Original entry on oeis.org

1, 94, 2620, 45430, 600655, 6633484, 64336844, 565256120
Offset: 8

Views

Author

Robert Coquereaux, Feb 12 2024

Keywords

Comments

Call B(n, g) the number of genus g partitions of a set with n elements (genus-dependent Bell number). Then a(n) = B(n, 3) with B(8, 3) = 1.
a(8) = 1 through a(15) = 565256120 were explicitly determined by listing of partitions of an n-set and selecting those of genus 3.
The coefficients of the sixth-degree polynomial appearing in the numerator of the conjectured formula were determined by using experimental values for a(8) up to a(14); the term a(15) given by the formula agrees with the experimental value.
Using the conjectured formula for a(n) gives the following terms for n=16..20 : 4593034160, 35025118700, 253374008888, 1753071498620, 11675101781850. The E.g.f. given in the Formula section is obtained from the conjectured formula for a(n).

Crossrefs

Formula

Conjecture: a(n) = (1/(2^13 * 3^4 * 5 * 7)) * (35*n^6 - 819*n^5 + 7589*n^4 - 36009*n^3 + 93464*n^2 - 129060*n + 95040)/((2*n - 11)*(2*n - 9)*(2*n - 7)*(2*n - 5)*(2*n - 3)*(2*n - 1)) * (1/(n-8)!) * (2*n)!/n!.
Conjecture: E.g.f.: (1/181440)*exp(2*x)*(x^2*(720 - 720*x + 1080*x^2 - 720*x^3 + 537*x^4 - 294*x^5 + 140*x^6)*BesselI(0, 2*x) + x*(-720 + 720*x - 1440*x^2 + 1080*x^3 - 1017*x^4 + 594*x^5 - 329*x^6 + 140*x^7)*BesselI(1, 2*x)).
Showing 1-5 of 5 results.