OFFSET
1,4
COMMENTS
Only permutations whose longest increasing subsequence is at most n/2 need to be considered.
LINKS
EXAMPLE
a(3) = 1 because the only permutation whose longest increasing subsequence is 1 is [3,2,1] and this contains two disjoint increasing subsequences of length 1.
The a(4) = 5 permutations are:
[2,1,4,3],
[2,4,1,3],
[3,1,4,2],
[3,4,1,2],
[4,3,2,1].
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ildar Gainullin, Jan 30 2020
STATUS
approved