Skip to content

PrimeDyckPath ​

The path wrapped in one more up step first and down step last: a path that touches the diagonal only at its ends.

PrimeDyckPath(DyckPath)The path wrapped in one more up step first and down step last: a path that touches the diagonal only at its ends.
Typed signatures
TypePackageApplies
(dyck_path) -> dyck_pathcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a DyckPath and returns a DyckPath — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00199. Injective, one semilength up; the paths it reaches are those with a single return.

Examples

Basic #

the Dyck path UUDDUDUUDDUD

live ↗
InPrimeDyckPath(DyckPath⁡([1,1,0,0,1,0]))\mathrm{PrimeDyckPath}({\operatorname{DyckPath}}([1, 1, 0, 0, 1, 0]))OutDyckPath⁡([1,1,1,0,0,1,0,0]){\operatorname{DyckPath}}([1, 1, 1, 0, 0, 1, 0, 0])
About
Examples1
CrosswalkFindStat