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.

A271765 Number of set partitions of [n] with minimal block length multiplicity equal to five.

Original entry on oeis.org

1, 0, 0, 0, 0, 945, 0, 0, 0, 0, 4239235, 7567560, 82702620, 41351310, 1658646990, 24448068645, 117626817945, 239611442070, 8260908743395, 1834189492520, 4508736346382576, 2979073800027325, 256635727575051825, 2371542394294648575, 16374593589666387075
Offset: 5

Views

Author

Alois P. Heinz, Apr 13 2016

Keywords

Crossrefs

Column k=5 of A271424.

Programs

  • Maple
    with(combinat):
    b:= proc(n, i, k) option remember; `if`(n=0, 1,
          `if`(i<1, 0, add(multinomial(n, n-i*j, i$j)
            *b(n-i*j, i-1, k)/j!, j={0, $k..n/i})))
        end:
    a:= n-> b(n$2, 5)-b(n$2, 6):
    seq(a(n), n=5..30);
  • Mathematica
    multinomial[n_, k_List] := n!/Times @@ (k!);
    b[n_, i_, k_] := b[n, i, k] = If[n == 0, 1, If[i < 1, 0, Sum[multinomial[n, Join[{n - i*j}, Table[i, j]]]*b[n - i*j, i - 1, k]/j!, {j, Join[{0}, Range[k, n/i]]}]]];
    a[n_] := b[n, n, 5] - b[n, n, 6];
    Table[a[n], {n, 5, 30}] (* Jean-François Alcover, May 15 2018, after Alois P. Heinz *)

Formula

a(n) = A271424(n,5).