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.

A225689 E.g.f.: sec(x)^2*tan(x)+sec(x)*tan(x)^2.

Original entry on oeis.org

0, 1, 2, 8, 28, 136, 662, 3968, 24568, 176896, 1326122, 11184128, 98329108, 951878656, 9596075582, 104932671488, 1192744081648, 14544442556416, 183983154281042, 2475749026562048, 34489251602450188, 507711943253426176, 7722592644581974502, 123460740095103991808, 2035778987564783402728
Offset: 0

Views

Author

N. J. A. Sloane, May 26 2013

Keywords

Comments

Number of up-down max-min permutations of n elements.

Crossrefs

Programs

  • Mathematica
    Table[n!*SeriesCoefficient[Sin[x]*(1+Sin[x])/Cos[x]^3,{x,0,n}] ,{n,0,20}] (* Vaclav Kotesovec, May 26 2013 *)

Formula

The e.g.f. can also be written as sin(x)*(1+sin(x))/cos(x)^3.
A225688(n)+a(n) = A000111(n+2). - corrected by Vaclav Kotesovec, May 26 2013
a(n) ~ n! * n^2*(2/Pi)^(n+3). - Vaclav Kotesovec, May 26 2013