Skip to content

DeltaMorphism ​

The lengths of the maximal runs of equal parts, left to right.

DeltaMorphism(IntegerComposition)The lengths of the maximal runs of equal parts, left to right.
Typed signatures
TypePackageApplies
(composition) -> compositioncombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a IntegerComposition and returns a IntegerComposition — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00133. Lossy: the parts' values are forgotten. RunComposition is the same on a binary word.

Examples

Basic #

the composition 2+1+32 + 1 + 3

live ↗
InDeltaMorphism(IntegerComposition⁡([2,1,3]))\mathrm{DeltaMorphism}({\operatorname{IntegerComposition}}([2, 1, 3]))OutIntegerComposition⁡([1,1,1]){\operatorname{IntegerComposition}}([1, 1, 1])
About
Examples1
CrosswalkFindStat