Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Find a closed form for the generating function for the number of partitions of n into 3 parts.

share|cite|improve this question
Do they have to be distinct parts? Also, don't just transcribe the question like that - then it makes it look like you're commmanding us as if you're our teacher or at least don't have any intention of talking with us. Say, "I have this problem, problem, and here are my thoughts." – anon Feb 8 '12 at 20:09

Note that any $k$-part partition's conjugate (obtained by flipping the Ferrers diagram) is a partition with parts of sizes less than or equal to $k$. Of course, this means we may write the conjugates as


with $a_j$'s nonnegative integers counting the number of $j$'s in the conjugate partition of $n$. According to the diagram, there is at least one $k$ in the conjugate partition, so $a_j\ge1$. From this we may deduce that, since $k$-part partitions are in bijection with all-parts-of-size-$\le k$ partitions,

$$\sum_{n=1}^\infty p(k,n)x^n=\left(\sum_{a_1=0 }^\infty x^{a_1}\right)\left(\sum_{a_2=0}^\infty x^{a_2 2}\right)\cdots\left(\sum_{a_k=1}^\infty x^{a_k k}\right)=$$


Of course here we are looking at $k=3$.

share|cite|improve this answer
Huh? There are a lot of geometric series with no term equal to 1, e.g., $2+6+18+54+\cdots$, or $1/2+3/2+9/2+27/2+\cdots$, and the ones like these that are just numbers don't have any coefficients, even if you raise them to the $k$th power. You are far too subtle for me. But I have upvoted your comment - OP has to do better. – Gerry Myerson Feb 8 '12 at 23:55
@Gerry: You're right, it wasn't helpful like I felt while posting it. I've taken a different tact instead. – anon Feb 9 '12 at 0:33
@Gerry: By ‘no 1 term’ anon meant ‘no constant term’. (I see that the answer has now been expanded to make this clear.) – Brian M. Scott Feb 9 '12 at 0:36
This version’s very clear (and much more helpful). – Brian M. Scott Feb 9 '12 at 0:37
Why do the sums start at 1, and not at zero? I guess $a_3$ has to be positive (for $k=3$), but why $a_1$ and $a_2$? – Gerry Myerson Feb 9 '12 at 2:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.