ConnectivityWord
Letter i is 1 when the first i entries are all smaller than the rest: the connectivity set as a binary word.
FindStat
Mp00114via PermutationConnectivityWord(Permutation)Letter i is 1 when the first i entries are all smaller than the rest: the connectivity 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. - FindStat's Mp00114. One letter shorter than the permutation; the word is all 0 exactly when the permutation is connected.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |