RestrictedGrowthStrings
The restricted-growth strings of length : words with and .
OEIS
A000110SageMathSetPartitions(n)RestrictedGrowthStrings(n)the restricted-growth strings of length : words with and Combinatorica
Map[# - 1 &, RGFs[n], {2}]Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer<0..>) -> indexed_collection<restricted_growth_string> | combinatorics | always |
Details
- Count is the Bell number (A000110); the canonical RGS encoding of a set partition of used by SetPartitions.
Maps
Into and out of RestrictedGrowthString, called as CombinatorialMap(x, "Name"). Properties are the laws we state and what FindStat records.
From RestrictedGrowthString
- SetPartitionRestrictedGrowthString → SetPartitioninverseThe set partition a restricted growth string labels: block j holds the positions labelled j.
To RestrictedGrowthString
- RestrictedGrowthStringSetPartition → RestrictedGrowthStringinverseA set partition's restricted growth string: each position labelled with its block's index, from 0.
Examples
1 more kept as data, checked against the oraclesStatistics #
blocks, a set-partition statistic, reached through the order isomorphism: the Stirling numbers
live ↗InOut
Implementation
mapped
combinatoricapackages/oracle/src/mappings.tsCombinatorica's growth strings start at 1; ours start at 0.
See also: SetPartitions