N = ncpPartitions n
A non-crossing partition of size $n$ is a partitioning of the set $\{0,\ldots,n-1\}$ into a finite number of non-empty disjoint pieces such that if $a < b$ belong to one part, and $c < d$ belong to a different part, then $a < b < c < d$, $a < c < d < b$, or $c < d < a < b$.
|
The object ncPartitions is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Posets.m2:3661:0.