DescentWord
Letter i is 1 when the word falls between positions i and i + 1: the descent set as a binary word.
FindStat
Mp00109via PermutationDescentWord(Permutation)Letter i is 1 when the word falls between positions i and i + 1: the descent set as a binary word.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> binary_word | combinatorics | always |
Details
- Takes a
Permutationand returns aBinaryWord— a typed map, so a wrong carrier is a type error rather than a wrong answer. - One letter shorter than the permutation, so the empty permutation has no descent word.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |