Skip to content

ConnectivityWord ​

Letter i is 1 when the first i entries are all smaller than the rest: the connectivity set as a binary word.

ConnectivityWord(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
TypePackageApplies
(permutation) -> binary_wordcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a Permutation and returns a BinaryWord — 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

Basic #

the one-line word 231231

live ↗
InConnectivityWord(Permutation⁡([2,3,1]))\mathrm{ConnectivityWord}({\operatorname{Permutation}}([2, 3, 1]))OutBinaryWord⁡([0,0]){\operatorname{BinaryWord}}([0, 0])
About
Examples1
CrosswalkFindStat