Words are sequences of small positive integers.
Two words are Knuth equivalent if they can be transformed into one another using elementary Knuth transformations. An equivalent condition is that the words correspond to the same tableau.
The content of a word is a sequence where the ith position denotes the number of occurrences of i in the word.
For a word w to be a reverse lattice word (or Yamanouchi word) the last n letters of w must have at least as many 1's as 2's, at least as many 2's as 3's, etc. for any n. More precisely, for any n, the word formed by the last n letters of w must have a content which is a partition.
Returns the length of the longest possible weakly increasing sub--sequence (from left to right) contained in w.
Returns the maximum amount of letters in w that can be used in forming k distinct weakly increasing sub--sequences (from left to right). Empty Sequences are allowed.[Next][Prev] [Right] [Left] [Up] [Index] [Root]