OFFSET
0,9
COMMENTS
The content of square (i,j) of the Young diagram of a partition p is j-i. The content sum of p is the sum of its contents.
All self-conjugate partitions have content sum 0. The least n for which there is a non-self-conjugate partition with content sum 0 is 15. This explains why the present sequence agrees with A000700 for n<15.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..160
Eric Weisstein's World of Mathematics, Self-Conjugate Partition.
Wikipedia, Young tableau, Diagrams.
EXAMPLE
For n=15, there are four self-conjugate partitions together with (6,3,2,2,2) and (5,5,2,1,1,1).
PROG
(PARI)
cs(p)=sum(i=1, #p, p[i]*(p[i]-2*i+1)/2)
a(n) = { my(c=0); forpart(p=n, if(cs(Vecrev(p))==0, c++)); c } \\ Andrew Howroyd, Jan 28 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Richard Stanley, Jan 28 2026
STATUS
approved
