Skip to content

BulgarianSolitaire ​

A move of Bulgarian solitaire: the first column of the Ferrers diagram becomes a new row.

BulgarianSolitaire(IntegerPartition)A move of Bulgarian solitaire: the first column of the Ferrers diagram becomes a new row.
Typed signatures
TypePackageApplies
(integer_partition) -> integer_partitioncombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a IntegerPartition and returns a IntegerPartition — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00308. Not injective; the fixed points are the staircase partitions.

Examples

Basic #

the partition 4+2+14 + 2 + 1

live ↗
InBulgarianSolitaire(IntegerPartition⁡([4,2,1]))\mathrm{BulgarianSolitaire}({\operatorname{IntegerPartition}}([4, 2, 1]))OutIntegerPartition⁡([3,3,1]){\operatorname{IntegerPartition}}([3, 3, 1])
About
Examples1
CrosswalkFindStat