Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Switch the rows and columns of a partition
|
ResourceFunction["ConjugatePartition"][p] gives the partition that switches the rows and columns of the integer partition p. |
Here is a partition of 10 and its Ferrers diagram:
| In[1]:= |
|
| In[2]:= |
|
| Out[2]= |
|
Here is the conjugate partition and its Ferrers diagram:
| In[3]:= |
|
| Out[3]= |
|
| In[4]:= |
|
| Out[4]= |
|
Some partitions are self-conjugate:
| In[5]:= |
|
| In[6]:= |
|
| Out[6]= |
|
A self-conjugate partition has a symmetric Ferrers diagram:
| In[7]:= |
|
| Out[7]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License