Skip to content

ValleysToPeaks from BinaryWord ​

Every valley 01 swapped for a peak 10, and a trailing 0 made a 1.

BinaryWord → BinaryWord

FindStat's Mp00234. Lossy: 01 and 10 both give 10.

Called as CombinatorialMap(x, "ValleysToPeaks"). The head's page has its examples.

Live

Explore

Each element of BinaryWord at a size, and its image, applied in your browser; sizes past 6 are not offered.

Properties

Transport a statistic

Pick a statistic on BinaryWord. Its distribution over the images of BinaryWord at each size is computed, and compared with the 59 statistics on BinaryWord: those that share it are the ones the map sends it to, as far as the sizes computed show.

FindStat Mp00234

valleys-to-peaks

Matched by value: our map agrees with FindStat's image on each of the 126 rows of size at most 6 we can read (0 unread; its table has 1200 rows).

Graded mapas FindStat records them, checked by FindStat's contributors.

Return the binary word with every valley replaced by a peak.
ObjectImage
01
11
0001
0110

Data from FindStat, the combinatorial statistic finder; the page at findstat.org/Mp00234 has the rest.