AlternatingComplement
Every second letter swapped for the other, starting with the second.
FindStat
Mp00158via BinaryWordAlternatingComplement(BinaryWord)Every second letter swapped for the other, starting with the second.Typed signatures
| Type | Package | Applies |
|---|---|---|
(binary_word) -> binary_word | combinatorics | always |
Details
- Takes a
BinaryWordand returns aBinaryWord— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00158, "alternating inverse", an involution.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |