Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Display the Ferrers diagram of a partition with dots
ResourceFunction["FerrersDiagram"][p] gives a ragged array of dots, with the number of dots in each row equal to a corresponding part of the integer partition p. |
Rows 1 to 4 have 5, 4, 2, 2 dots:
In[1]:= |
Out[1]= |
Here is a random choice of one of the 204,226 partitions of 50:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License