Basic Examples 
(2)
 

The largest part is 4 and there are three parts, so the rank is
4-3=1
:
[◼]
PartitionRank
[{4,2,2}]
1
———
The largest part and the number of parts are both 5;
5-5=0
:
In[80]:=
[◼]
PartitionRank
[{5,2,1,1,1}]
Out[80]=
0

Neat Examples 
(2)
 
