Function Repository Resource:

PermutationToTableaux

Source Notebook

Get the two Young tableaux corresponding to a permutation

Contributed by: Ed Pegg Jr and Steven Skiena

ResourceFunction["PermutationToTableaux"][p]

returns the two Young tableaux corresponding to the permutation p.

Details

The permutation can be specified in list or disjoint cyclic format.

Examples

Basic Examples (1) 

Produce the tableaux for a given permutation:

In[1]:=
ResourceFunction["PermutationToTableaux"][{7, 3, 1, 2, 5, 6, 4}]
Out[1]=

Scope (2) 

Produce the tableaux for an indexed permutation:

In[2]:=
ResourceFunction["PermutationToTableaux"][
 ResourceFunction["PermutationFromIndex"][99999, 9]]
Out[2]=

Produce the tableaux for a permutation represented in disjoint cyclic form:

In[3]:=
ResourceFunction["PermutationToTableaux"][Cycles[{{3, 2}, {1, 6, 7}}]]
Out[3]=

Version History

  • 1.0.0 – 18 January 2022

Related Resources

License Information