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.

A100356 Maximal number of 165432 patterns in a permutation of 1,2,...,n.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 6, 21, 56, 126, 252, 504, 924, 1584, 2574, 4004, 6006, 9009, 13104, 18564, 25704, 34884, 46512, 62016, 81396, 105336, 134596, 170016, 212520, 265650, 328900, 403650, 491400, 593775, 712531, 855037, 1019467, 1208257, 1424017
Offset: 1

Views

Author

Vincent Vatter, Nov 18 2004

Keywords

Examples

			a(12) = 502; the 12-permutation with the most copies of 165432 is 2, 1, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3.
		

References

  • W. Stromquist, Packing layered posets into posets, manuscript.

Crossrefs

Formula

a(n) = max(a(k) + k*choose(n-k, 5), 1 <= k < n)