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.

A100355 Maximal number of 15432 patterns in a permutation of 1,2,...,n.

Original entry on oeis.org

0, 0, 0, 0, 1, 5, 15, 35, 70, 140, 252, 420, 660, 990, 1485, 2145, 3003, 4095, 5460, 7280, 9520, 12240, 15504, 19381, 24226, 29926, 36576, 44276, 53135, 63761, 75905, 89705, 105305, 122865, 143340, 166272, 191850, 220270, 251755, 287715, 327395, 371043
Offset: 1

Views

Author

Vincent Vatter, Nov 18 2004

Keywords

Examples

			a(24) = 19381; the 24-permutation with the most copies of 15432 is 1, 5, 4, 3, 2, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6.
		

References

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

Crossrefs

Formula

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