How does one denote a sum of partitions of an integer when writing an article? For example, I have a formula regarding an integer-valued variable (say q=5), and I need to write an expression of the form:
$$\sum_{p\in P(q)}$$
where $P(q)$ is the set of all partitions of $q$ (for example $\{1+1+1+1+1,1+1+1+2,1+2+2,1+1+3,2+3,4+1,5\}$) and $p$ is an element of the set, a particular partition. Then inside the summand, I need to refer to both the size of the partition (which I suppose I could denote $|p|$) and the contents of the partition. Is there any standard way of doing this?
In general, for sums over structures rather than simple integer ranges you have a few options:
Use notation indicating the structure. Here, for example, you could follow George Andrews in using $\lambda \vdash n$ to denote that $\lambda$ is a partition of $n$, and write
NB I've used
\,for spacing in the subscript.As a variant on the previous point, express the constraint algebraically, as suggested in the comments:
Use notation indicating the bound variables and express the constraint in text separately. E.g.
Since the purpose of mathematical writing is communication, I would favour a combination of 1 and 3 (where possible) for most audiences: