If the product of the lengths of the longest increasing subsequence (LIS) and longest decreasing subsequence (LDS) of a permutation equals the length of the permutation (a·b = k), then one can choose an LIS of length a and an LDS of length b that share a common element. When a·b = k, every pair of labels (ai,bi) appears exactly once. A suitable LIS is obtained by taking elements with bi=1 in order of increasing ai; a suitable LDS is obtained by taking elements with ai=1 in order of increasing bi. These two subsequences intersect at the element labelled (1,1).
Index | Value | LIS length (ai) |
LDS length (bi) |
---|