Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the side length of the Durfee square of an integer partition
ResourceFunction["DurfeeSquare"][f] gives the side-length of the largest square of dots in the Ferrers diagram of an integer partition. |
Here is an integer partition:
In[1]:= |
This is its Ferrers diagram. The first row has 6 dots, and so on:
In[2]:= |
Out[2]= |
The largest square of dots is 4×4:
In[3]:= |
Out[3]= |
The Ferrers diagram of the conjugate partition of λ switches the rows and columns of the Ferrers diagram of λ:
In[4]:= |
Out[4]= |
Clearly, the Durfee square of a partition is the same as its conjugate:
In[5]:= |
Out[5]= |
Remarkably, the sum of the Durfee squares of the partitions of n equals the sum of the positive cranks of the partitions of n:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
Wolfram Language 12.3 (May 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License