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.

Showing 1-2 of 2 results.

A100354 Maximal number of 1432 patterns in a permutation of 1,2,...,n.

Original entry on oeis.org

0, 0, 0, 1, 4, 10, 20, 40, 70, 112, 168, 252, 360, 495, 661, 881, 1145, 1457, 1824, 2279, 2804, 3404, 4090, 4906, 5824, 6850, 8000, 9330, 10800, 12417, 14208, 16232, 18440, 20840, 23470, 26395, 29554, 32956, 36652, 40712, 45062, 49712, 54728, 60184
Offset: 1

Views

Author

Vincent Vatter, Nov 18 2004

Keywords

Examples

			a(20) = 2279; the 20-permutation with the most copies of 1432 is 1, 5, 4, 3, 2, 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, 3), 1 <= k < n)

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)
Showing 1-2 of 2 results.