Category
Level
The partition function p(n) counts the number of ways to write n as a sum of positive integers where order does not matter.