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

A320600 Let w = (w_1, w_2, ..., w_n) be a permutation of the integers {1, 2, ..., n}, and let f(k, w) be the length of the longest monotone subsequence of (w_k, w_{k+1}, ..., w_n) starting with w_k. Then a(n) is the number of permutations w in S_n such that Sum_{k=1..n} f(k,w) is minimized.

Original entry on oeis.org

1, 2, 4, 4, 32, 156, 564, 1386, 1764
Offset: 1

Views

Author

Peter Kagey, Oct 16 2018

Keywords

Comments

a(n) is even, because if a permutation is minimal, then so is its reverse.
The minimal sum is given by A327672. - Peter Kagey, Sep 21 2019

Examples

			For n = 4 the a(4) = 4 permutations are
w_1 = (2,1,4,3),
w_2 = (2,4,1,3),
w_3 = (3,1,4,2), and
w_4 = (3,4,1,2).
In each case, f(1,w_i) + f(2,w_i) + f(3,w_i) + f(4,w_i) = A327672(4) = 7.
		
Showing 1-1 of 1 results.