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

A131106 Rectangular array read by antidiagonals: k objects are each put into one of n boxes, independently with equal probability. a(n, k) is the expected number of boxes with exactly one object (n, k >= 1). Sequence gives the numerators.

Original entry on oeis.org

1, 1, 0, 1, 1, 0, 1, 4, 3, 0, 1, 3, 4, 1, 0, 1, 8, 27, 32, 5, 0, 1, 5, 48, 27, 80, 3, 0, 1, 12, 25, 256, 405, 64, 7, 0, 1, 7, 108, 125, 256, 729, 448, 1, 0, 1, 16, 147, 864, 3125, 6144, 5103, 1024, 9, 0, 1, 9, 64, 343, 6480, 3125, 28672, 2187, 256, 5, 0, 1, 20, 243, 2048, 12005
Offset: 1

Views

Author

David Wasserman, Jun 15 2007

Keywords

Comments

Problem suggested by Brandon Zeidler. To motivate this sequence, suppose that when objects are placed in the same box, they mix and the information they contain is lost. The sequence tells us how much information we can expect to recover.

Examples

			Array begins:
  1 0 0 0 0 0 ...
  1 1 3/4 1/2 5/16 3/16 ...
  1 4/3 4/3 32/27 80/81 64/81 ...
  ...
		

Crossrefs

Cf. A131107 gives the denominators. A131103, A131104 and A131105 give f(n, k, 0), f(n, k, 1) and f(n, k, 2).

Formula

a(n, k) = k*(1 - 1/n)^(k - 1). Let f(n, k, i) be the number of assignments such that exactly i boxes have exactly one object. For i > n, f(n, k, i) = 0. For i = k <= n, f(n, k, i) = n!/(n-k)!. Otherwise, f(n, k, i) = Sum_{j = 1..min(floor((k-i)/2), n-i)} A008299(k-i, j)*n!*binomial(k, i)/(n-i-j)!. Then a(n, k) = Sum_{i=1..min(n, k)} i*f(n, k, i)/n^k.

A131104 Rectangular array read by antidiagonals: a(n, k) is the number of ways to put k labeled objects into n labeled boxes so that there is one box with exactly one object (n, k >= 1).

Original entry on oeis.org

1, 2, 0, 3, 0, 0, 4, 0, 6, 0, 5, 0, 18, 8, 0, 6, 0, 36, 24, 10, 0, 7, 0, 60, 48, 120, 12, 0, 8, 0, 90, 80, 420, 396, 14, 0, 9, 0, 126, 120, 1000, 1512, 1092, 16, 0, 10, 0, 168, 168, 1950, 3720, 6804, 2736, 18, 0, 11, 0, 216, 224, 3360, 7380, 23240, 31008, 6480, 20, 0, 12, 0
Offset: 1

Views

Author

David Wasserman, Jun 14 2007, Jun 15 2007

Keywords

Comments

Problem suggested by Brandon Zeidler. Columns 3 through 5 are A028896, A033996, 10*A007586.

Examples

			Array begins:
1 0 0 0 0 0 0
2 0 6 8 10 12 14
3 0 18 24 120 396 1092
		

Crossrefs

Formula

a(n, 1) = n. For k > 1, a(n, k) = sum_{j=1..min(floor((k-1)/2), n-1)} A008299(k-1, j)*n!*k*/(n-j-1)!.

A131105 Rectangular array read by antidiagonals: a(n, k) is the number of ways to put k labeled objects into n labeled boxes so that there are exactly two boxes with exactly one object (n, k >= 2).

Original entry on oeis.org

2, 6, 0, 12, 0, 0, 20, 0, 36, 0, 30, 0, 144, 60, 0, 42, 0, 360, 240, 90, 0, 56, 0, 720, 600, 1440, 126, 0, 72, 0, 1260, 1200, 6300, 5544, 168, 0, 90, 0, 2016, 2100, 18000, 26460, 17472, 216, 0, 110, 0, 3024, 3360, 40950, 78120, 136080, 49248, 270, 0, 132, 0, 4320
Offset: 2

Views

Author

David Wasserman, Jun 15 2007

Keywords

Comments

Problem suggested by Brandon Zeidler. Columns 2, 4 and 5 are A002378, 36*A000292 and 60*A000292.

Examples

			Array begins:
2 0 0 0 0 0
6 0 36 60 90 126
12 0 144 240 1440 5544
		

Crossrefs

Formula

a(n, 2) = n^2-n. For k > 2, a(n, k) = sum_{j=1..min(floor(k/2)-1, n-2)} A008299(k-2, j)*n!*(k^2-k)/(2*(n-j-2)!).
Showing 1-3 of 3 results.