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.

A242159 Number of ascent sequences of length n with exactly six flat steps.

Original entry on oeis.org

1, 7, 56, 420, 3360, 28182, 250404, 2354352, 23408385, 245710465, 2717803088, 31615680096, 386038045848, 4938320959740, 66064056802800, 922665034672080, 13431181585022355, 203477178533784540, 3203526845947149260, 52344335808818684400, 886527902050136045700
Offset: 7

Views

Author

Joerg Arndt and Alois P. Heinz, May 05 2014

Keywords

Crossrefs

Column k=6 of A242153.

Programs

  • Mathematica
    b[n_, i_, t_] := b[n, i, t] = If[n == 0, 1, Expand[Sum[ If[j == i, x, 1]*b[n - 1, j, t + If[j > i, 1, 0]], {j, 0, t + 1}]]]; a[n_] := Coefficient[b[n, -1, -1], x, 6]; Table[a[n], {n, 7, 30}] (* Jean-François Alcover, Feb 10 2015, after A242153 *)

Formula

a(n) ~ Pi^(19/2) / (6! * 6^4 * sqrt(3)*exp(Pi^2/12)) * (6/Pi^2)^n * n! * sqrt(n). - Vaclav Kotesovec, Aug 27 2014