ValleysToPeaks
Every valley 01 swapped for a peak 10, and a trailing 0 made a 1.
FindStat
Mp00234via BinaryWordValleysToPeaks(BinaryWord)Every valley 01 swapped for a peak 10, and a trailing 0 made a 1.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 Mp00234. Lossy: 01 and 10 both give 10.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |