OFFSET
0,3
COMMENTS
The canonical ordering of partitions is described in A080577.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..5000
EXAMPLE
a(3) = 8, because 222 has position 8 within the list of partitions of 6 in canonical ordering: 6, 51, 42, 411, 33, 321, 3111, 222, ... .
MAPLE
a:= n-> combinat[numbpart](2*n)-n:
seq(a(n), n=0..44);
MATHEMATICA
a[n_] := PartitionsP[2n] - n;
Table[a[n], {n, 0, 44}] (* Jean-François Alcover, Aug 20 2021, from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 20 2020
STATUS
approved