Significance
In the past, what we call “almost partition identities” were immediate corollaries of classical theta series identities, such as Jacobi’s triple product. Consequently, they were always of this form: “The number of partitions of n from a certain class with a given partition statistic even” equals “the number of partitions of n from the same class with the given partitions statistic odd.” This paper opens possibilities for research in this area, relying on subtle results in basic hypergeometric series and mock modular forms.
Keywords: partitions, identities, asymptotics
Abstract
An almost partition identity is an identity for partition numbers that is true asymptotically of the time and fails infinitely often. We prove a kind of almost partition identity, namely that the number of parts in all self-conjugate partitions of is almost always equal to the number of partitions of in which no odd part is repeated and there is exactly one even part (possibly repeated). Not only does the identity fail infinitely often, but also, the error grows without bound. In addition, we prove several identities involving the number of parts in restricted partitions. We show that the difference in the number of parts in all self-conjugate partitions of and the number of parts in all partitions of into distinct odd parts equals the number of partitions of in which no odd part is repeated, the smallest part is odd, and there is exactly one even part (possibly repeated). We provide both analytic and combinatorial proofs of this identity.
1. Introduction
A partition of a positive integer is a nonincreasing sequence of positive integers that add up to . We write a partition as with . The integers are called the parts of . The number of parts of , denoted , is called the length of . We refer to as the largest part of .
As usual, denotes the number of partitions of , and denotes the number of partitions of satisfying the condition.
The Ferrers diagram of is an array of left-justified boxes with boxes in row . By abuse of notation, when there is no confusion, we also refer to the Ferrers diagram as . The conjugate of a partition , denoted , is the partition with rows that are precisely the columns of . A partition is called self-conjugate if .
Partition identities have a long history starting with Euler’s famous theorem
| [1] |
Indeed, ref. 1 provides a survey of the subject up through 1972; the subject has flourished since then.
Somewhat in the shadow of partition identities exists related results, which we call almost partition identities. The first of these is Legendre’s interpretation of Euler’s Pentagonal Number Theorem (2):
| [2] |
except when , in which case the two sides differ by . Thus, [2] is an almost partition identity (i.e., [2] is asymptotically valid of the time), failing for on the order of times.
Part of the reason that almost partition identities attract little interest is that, until now, they have been immediate corollaries of a series or theta series identity and are of the form
| [3] |
For example, Legendre’s theorem [2] can be generalized by similarly interpreting Jacobi’s triple-product identity (ref. 3, p. 21):
| [4] |
This work was inspired by the recent work on the difference in the total number of parts in all partitions of into odd parts and the total number of parts in all partitions of into distinct parts (4–7). It is natural to consider differences in the number of parts in partitions involved in other identities.
We consider the well-known identity (refs. 3, p. 14, example 8 and 8):
We follow the notation of ref. 9. Let denote the total number of parts in all partitions of into distinct odd parts, and let denote the total number of parts in all self-conjugate partitions of . We denote by the set of partitions of in which no odd part is repeated and there is exactly one even part (possibly repeated). Let . We denote by the subset of partitions in with smallest part odd and let . Then, the following identity holds.
Theorem 1.
For , we have
In section 2, we give both analytic and combinatorial proofs of this theorem.
Example 1:
The self-conjugate partitions of 10 are and ; so, . The partitions of 10 into odd distinct parts are and ; so, . We have . Thus, .
A modification of the combinatorial proof of Theorem 1 leads to the following identity.
Theorem 2.
Let . Let be the subset of of partitions for which half the size of the even part is greater than the number of odd parts. Let be subset of of partitions with smallest part even. Then, for ,
In section 3, we prove the following asymptotic result about . Note that this result is an almost partition identity that is not of the form [3].
Theorem 3.
The identity
| [5] |
is true for almost all . Explicitly, if is the number of times that [5] is true for , then
Surprisingly, identity [5] fails infinitely often, and the error grows without bound. We explain this in section 3.
Example 2:
The only self-conjugate partition of 7 is , and therefore, . We have , and therefore, . However, the self-conjugate partitions of 12 are ; so, . We have
; hence, .
As a consequence of Theorems 1 and 3, we have the following asymptotic result.
Corollary.
Let be the number of partitions in with smallest part even. Then, the identity
| [6] |
is true for almost all (as in Theorem 3).
We denote by the set of partitions of into odd parts and by the set of partitions of into distinct parts. Let denote the sum of the largest parts in all partitions of into distinct parts: that is,
Given a partition , let
and let
Let denote the total number of parts in the partitions of into odd parts: that is,
In section 4, we give analytic and combinatorial proofs of the following theorem.
Theorem 4.
For , we have
Example 3:
Since , we have . However, . Hence, . We also have . Thus,
Finally, in section 4, we also show that is almost always even. Specifically, we have the following theorem.
Theorem 5.
is odd if and only if is an odd generalized pentagonal number.
2. Proofs of Theorems 1 and 2
2.1. Analytic Proof of Theorem 1
We use the notation to mean the derivative of with respect to evaluated at : that is,
Note that, if is a partition generating function wherein the exponent of keeps track of the number being partitioned and the exponent of counts the number of parts, then is the generating function for the number of parts in the partitions considered.
We use the fact that
We denote the generating functions for and by and , respectively. Thus,
and
Recall that the generating function for the number of partitions into distinct odd parts with the exponent of keeping track of the number of parts is
and for the number of self-conjugate partitions, the generating function is
Here, if , and .
Hence,
| [7] |
Now,
The last equality was obtained from Heine’s transformation (ref. 3, p. 19, corollary 2.3) by first replacing by and then substituting .
Therefore,
| [8] |
We now apply to [8] to obtain
| [9] |
Now, the first expression in [9] is the generating function for partitions in which odd parts are distinct and exactly one even part (possibly repeated) appears as a part. The second expression generates the same type of partitions with the added condition that the smallest part is even. Hence, the expression in [9] is the generating function for partitions in which odd parts are distinct, the smallest part is odd, and exactly one even part (possibly repeated) appears as a part.
2.2. Combinatorial Proof of Theorem 1
Recall the combinatorial proof of the identity
If is a partition with distinct odd parts, each part of is bent into a self-conjugate hook. The resulting hooks are nested so that they become the principal hooks of a self-conjugate partition . We set . For the inverse transformation , take a self-conjugate partition , and straighten all principal hooks to form the parts of , a partition with distinct odd parts. The number of parts in is equal to the size of the Durfee square of . The Durfee square of a partition is the largest square that fits inside the Ferrers diagram of the partition. Thus, equals the number of parts below the Durfee square of .
If we denote by the number of parts in all partitions of satisfying the given condition, we have
| [10] |
However, by doubling the size of each part, we see that
Thus,
as suggested by [7] in the analytic proof of Theorem 1.
If is a self-conjugate partition, let be the partition formed by the parts below the Durfee square of . Then, the partition to the right of the Durfee square is .
Definition:
A marked partition is a partition with exactly one part below the Durfee square overlined.
Notice that marked partitions are different from overpartitions where only the first occurrence of a part may be overlined.
We denote by the set of marked self-conjugate partitions. For example, the self-conjugate partition contributes three partitions to , namely , and , and three is also the number of parts below the Durfee square in . It follows from [10] that
To prove the theorem combinatorially, we create a bijection between and . Recall that is the set of partitions of in which no odd part is repeated, the smallest part is odd, and there is exactly one even part (possibly repeated). We do this in two steps.
(i) Let be the subset of consisting of partitions of in which no odd part is repeated, there is exactly one even part (possibly repeated), and is at most the number of odd parts. Note that each partition in has at least one odd part. We create a bijection from to .
Start with a marked partition with marked part . Remove the th row (i.e., the row corresponding to ) and all rows of size above from the Ferrers diagram of . Also, remove the same number of columns of length from (these columns will be to the right of the Durfee square of ). Denote the obtained partition by . Then, is a self-conjugate partition, and is a partition with distinct odd parts. Merge each removed row with the corresponding removed column to form even parts, obtaining a partition with equal even parts. Let be the partition formed from the parts of and . Then, .
For example, , , and .
The transformation is invertible. For a partition , first remove the even parts to obtain a partition with distinct odd parts. Split each even part of into two equal parts. Insert half of the resulting parts in the appropriate place under the Durfee square of and the other half as columns to the right of the Durfee square of . Overline the last inserted row. The resulting partition, , is in .
(ii) Next, we create a bijection from to . Recall that the 2-modular MacMahon diagram of a partition is obtained from collapsing two adjacent squares in a row of the Ferrers diagram of whenever possible and labeling the new square with 2. If is odd, the last square in is labeled with 1.
For example, if , the 2-modular MacMahon diagram is given below:
![]() |
For a partition in which no odd part is repeated, exactly one even part (possibly repeated) occurs, and is larger than the number of odd parts, we create a modified 2-modular MacMahon diagram as follows. Denote by the partition consisting of the even parts of and by the partition consisting of the odd parts of . Then, is the diagram obtained by placing the conjugate of below . Since , this is the 2-modular MacMahon diagram of a partition.
For example, if , the modified 2-modular MacMahon diagram of is given below:
![]() |
Start with . Let be the size of the even part, and let , the number of odd parts of . Then, . If the smallest part of is odd, let . If the smallest part of is even, we will modify as follows. Denote by the smallest odd part of . It corresponds to a part of length in . Since the smallest part in is even, we have . We can write uniquely with . Now, in , we remove boxes labeled 2 from each of the first rows, and we add boxes labeled 2 to each of the rows of the resulting diagram. The conjugate of the final diagram is the modified 2-modular MacMahon diagram of a partition with even parts of size , exactly odd parts (and thus, ), and smallest part equal to . We let .
Example 4:
If , we have . Then, . The 2-modular MacMahon diagram of is
![]() |
We write . We remove 10 boxes labeled 2 from each of the parts ending in 1 to obtain
![]() |
and add boxes labeled 2 to each part in the diagram above to obtain the following diagram:
![]() |
The conjugate of this diagram is
![]() |
which is the modified 2-modular MacMahon diagram for
.
The transformation is invertible. To see this, start with , a partition in which no odd part is repeated, the smallest part is odd, and there is exactly one even part (possibly repeated). Let be the number of odd parts in . If , then . If , consider the conjugate of the modified 2-modular MacMahon diagram . Denote by the number of even parts in , and write uniquely as with . Remove boxes labeled 2 from each row of . We removed a total of boxes. Next, add boxes to each of the first rows of the obtained diagram. Note that these are precisely the rows ending in a box labeled 1. We obtain a 2-modular MacMahon diagram for a partition . The partition has no repeated odd parts, one even part equal to and repeated times. Since , , and we take .
Then, the transformation gives a bijection between and .
Remark 1:
As noted at the beginning of this section, the excess in the number of parts between and equals , where and . This is also the of as defined in section 5 of ref. 10. If we denote the of by , we have
where the sum runs over all partitions of with distinct odd parts.
2.3. Combinatorial Proof of Theorem 2
The set is the disjoint union of and . It is also the disjoint union of and . In step (ii) of the combinatorial proof of Theorem 1, we showed that . Then, .
We also give a bijection between and .
Let , and consider the modified 2-modular MacMahon diagram of . The conjugate of is the 2-modular MacMahon diagram of a partition . We set .
Example 5:
If , the modified 2-modular MacMahon diagram is
![]() |
and its conjugate is
![]() |
giving .
The transformation is clearly reversible, and therefore, .
3. Proof of Theorem 3
As in the proof of Theorem 1, we write the generating function for self-conjugate partitions as a limit. We have
Next, we apply the transformation on the last line of p. 38 of ref. 3, in which we first replace by and then, substitute . Finally, we take the limit as . We obtain
| [11] |
To find , we use ref. 11, proposition 2.1 and theorem 1. When using theorem 1 in ref. 11, we first replace by and then, set and . Therefore,
| [12] |
The fact that asymptotically of the coefficients in
are zero follows from Theorem 5 and section 3 of ref. 12.
To explain the failure of [5], let be the set of partitions of into odd parts with no gap (i.e., if appears as a part, so does every odd part less than ). Let denote the number of parts in that are repeated an even number of times, and set
Then, is the generating function for , and [5] fails whenever . Moreover, from ref. 12, we have .
4. Proofs of Theorems 4 and 5
4.1. Analytic Proof of Theorem 4
We first introduce some notation and recall two identities from Ramanujan’s “lost” notebook, which are proved in ref. 13.
Denote by
the generating function for partitions into odd parts (and also, for partitions into distinct parts), by
the generating sum for partitions into indistinct parts (adjusted by the constant ), and by
the generating function for the difference between the number of partitions of into distinct parts with even rank and the number of partitions of into distinct parts with odd rank. The rank of a partition equals , the difference between the largest part and the number of parts. From ref. 13, equations 1.4 and 1.5, we have
| [13] |
and
| [14] |
Now, we subtract [14] from [13]. Notice that is the generating function for partitions in with parts larger than . When summing, each partition of is counted as many times as its largest part. Hence, the left-hand side of [13] is the generating function for . Similarly, the left-hand side of [14] is the generating function for .
The right-hand side of [13] minus the right-hand side of [14] equals
This is the generating function for (as shown in the proof of Theorem 5).
4.2. Combinatorial Proof of Theorem 4
Recall Sylvester’s bijection (14). Start with , and consider the 2-modular MacMahon diagram . For each successive principal hook, create two parts: one equal to the number of boxes in the hook and one equal to the number of boxes labeled 2 in the hook. The partition formed by all of the new parts is in .
For example, if , the 2-modular MacMahon diagram is
![]() |
and the corresponding partition with distinct parts is .
The largest part in is
Summing after all partitions in finishes the proof.
4.3. Analytic Proof of Theorem 5
We have
Remark 2:
If , then . Therefore, if is even, then is even. If is odd, then , where is the number of partitions of into odd parts. By Euler’s Pentagonal Number Theorem, is odd if and only if is an odd generalized pentagonal number.
5. Concluding Remarks
The inspiration for this article came from ref. 4, where the difference in the number of parts in all partitions counted by the respective sides of Euler’s identity is shown to be equal to the number of partitions similar to those counted by one side of the identity, the condition on the parts being just slightly modified. In this article, we considered the analogous problem for the identity
In Theorem 1, we showed that the difference in the number of parts in all partitions counted by the respective sides of the identity is equal to the number of partitions similar to those counted on the left [i.e., all odd parts must be distinct, but there is one even part (possibly repeated), and the smallest part must be odd]. It is natural to ask if is also equal to the number of partitions similar to those counted on the right of the identity with a relaxation of the condition. Indeed, in the combinatorial proof of Theorem 1, we showed that , where is the set of partitions of in which no odd part is repeated, there is exactly one even part (possibly repeated), and is at most the number of odd parts. Given a partition , we take the partition formed by the odd parts, , and transform it into a self-conjugate partition . If is the even part of and it is repeated times, we add to each of the first parts of . The obtained partition, , is almost self-conjugate (i.e., the Frobenius symbol of is such that the difference between the first row and the second row is a sequence consisting of repeated times and zero repeated times, where the number of odd parts in ). Note that, in the Frobenius symbol of a self-conjugate partition, the two rows are equal. The described transformation is reversible. Therefore, is also the number of almost self-conjugate partitions of in which the difference in the rows of the Frobenius symbol is of the form , with even, positive, and appearing at least once.
Footnotes
The authors declare no conflict of interest.
References
- 1.Andrews GE. Partition identities. Adv Math. 1972;9:10–51. reprinted in Sills AV (2013) The selected works of G. E. Andrews. (Imperial College Press, London), Vol 3, pp 800–841. [Google Scholar]
- 2.Legendre AM. Théorie des nombres. 3rd Ed. Vol 2. Chez Firmin Didot Frères; Libraires, Paris; 1830. pp. 128–133. [Google Scholar]
- 3.Andrews GE. 1976. The Theory of Partitions; reprinted (1998) (Cambridge Mathematical Library, Cambridge Univ Press, Cambridge, UK), p 255.
- 4.Andrews GE. Euler’s partition identity and two problems of George Beck. Math Student. 2017;86:115–119. [Google Scholar]
- 5.Fu S, Tang D. Generalizing a partition theorem of Andrews. Math Student. 2017;86:91–96. [Google Scholar]
- 6.Ballantine C, Bielak R. 2018. Combinatorial proofs of two Euler type identities due to Andrews. Preprint, posted June 29, 2018.
- 7.Yang JYX. Combinatorial proofs and generalizations on conjectures related with Euler’s partition theorem. European J Combin. 2018;76:62–72. [Google Scholar]
- 8.Sylvester JJ. Collected Papers. Vol IV. Cambridge University Press; Cambridge, UK: 1912. pp. 21–23. [Google Scholar]
- 9.Knopfmacher A, Robbins N. Identities for the total number of parts in partitions of integers. Util Math. 2005;67:9–18. [Google Scholar]
- 10.Berkovich A, Garvan FG. Some observations on Dyson’s new symmtries of partitions. J Combin Theory Ser A. 2002;100:61–93. [Google Scholar]
- 11.Andrews GE, Jiménez-Urroz J, Ono K. -series identities and values of certain -functions. Duke Math J. 2001;108:395–419. [Google Scholar]
- 12.Andrews GE, Dyson F, Hickerson D. Partitions and indefinite quadratic forms. Invent Math. 1988;91:391–407. [Google Scholar]
- 13.Andrews GE. Ramanujan’s “Lost” notebook V: Euler’s partition identity. Adv Math. 1986;61:156–164. [Google Scholar]
- 14.Pak I. Partition bijections: A survey. Ramanujan J. 2006;12:5–75. [Google Scholar]









