A Hardy-Ramanujan-Rademacher-type formula for $(r,s)$-regular partitions
James Mc Laughlin, Scott Parsell

TL;DR
This paper derives a Hardy-Ramanujan-Rademacher-type infinite series formula for counting partitions of integers into parts avoiding multiples of two square-free, coprime integers, expanding the analytical tools for such partition functions.
Contribution
It introduces a novel infinite series formula for $(r,s)$-regular partitions, generalizing classical partition formulas to new parameter settings.
Findings
Derived an explicit series for $p_{r,s}(n)$
Extended classical methods to new partition constraints
Provided analytical tools for $(r,s)$-regular partitions
Abstract
Let denote the number of partitions of a positive integer into parts containing no multiples of or , where and are square-free, relatively prime integers. We use classical methods to derive a Hardy-Ramanujan-Rademacher-type infinite series for .
| 1 | 310093947025049932429.8505 | |
|---|---|---|
| 2 | 310093947025073675628.9283 | 5.9283 |
| 3 | 310093947025073675414.3591 | |
| 4 | 310093947025073675623.3258 | 0.3258 |
| 5 | 310093947025073675623.3258 | 0.3258 |
| 6 | 310093947025073675623.3723 | 0.3723 |
| 7 | 310093947025073675623.3723 | 0.3723 |
| 8 | 310093947025073675623.3723 | 0.3723 |
| 9 | 310093947025073675623.2793 | 0.2793 |
| 10 | 310093947025073675623.2793 | 0.2793 |
| 11 | 310093947025073675623.4447 | 0.4447 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
∎
11institutetext: J. Mc Laughlin 22institutetext: S. Parsell 33institutetext: Mathematics Department, West Chester University, 25 University Avenue, West Chester, PA 19383
33email: [email protected], [email protected]
A Hardy-Ramanujan-Rademacher-type
formula for -regular partitions ††thanks: This work was partially supported by a grant from the Simons Foundation (#209175 to James Mc Laughlin). The second author is supported in part by National Security Agency grant H98230-11-1-0190.
James Mc Laughlin
Scott Parsell
(Received: date / Accepted: date)
Abstract
Let denote the number of partitions of a positive integer into parts containing no multiples of or , where and are square-free, relatively prime integers. We use classical methods to derive a Hardy-Ramanujan-Rademacher-type infinite series for .
Keywords:
-series partitions circle-method Hardy-Ramanujan-Rademacher
MSC:
Primary 11P82 Secondary 05A17 11L05 11D85 11P55 11Y35
1 Introduction
A partition of a positive integer is a representation of as a sum of positive integers, where the order of the summands does not matter. We use to denote the number of partitions of , so that, for example, , since 4 may be represented as 4, , , and . The function increases rapidly with , and it is difficult to compute directly for large .
Rademacher Rad:37 , by slightly modifying earlier work of Hardy and Ramanujan HR:18 , derived a remarkable infinite series for . To describe this series we need some notation. Recall that the Dedekind sum is defined by
[TABLE]
and for ease of notation, we use to denote , and for a positive integer , set
[TABLE]
We recall also that
[TABLE]
denotes the modified Bessel function of the first kind.
Theorem 1.1
(Rademacher) If is a positive integer, then
[TABLE]
Rademacher’s series converges incredibly fast. For example,
[TABLE]
and yet six terms of the series are sufficient to get within 0.5 of . The idea of course is that if a partial sum is known to be within of the value of the series, then the nearest integer gives the exact value of .
Since the publication of Rademacher’s paper Rad:37 , a number of authors have found series similar to (1.1) for certain restricted partition functions. Lehner Lehner:41 found such series for and , the number of partitions of into parts and respectively, and this was extended by Livingood L45 to series for , the number of partitions into parts , respectively, where is an odd prime. Hua H42 derived a Rademacher-type series for , the number of partitions of into odd parts.
Let be an odd prime and be a set of distinct integers satisfying . Hagis Hagis:62 gave a Hardy-Ramanujan-Rademacher-type series (H.R.R. series) for , the number of partitions of into parts . In a subsequent series of papers Hagis:63 ; Hagis:64 ; Hagis:64b ; Hagis:65 ; Hagis:66 ; Hagis:71 ; Hagis:71b , Hagis also developed similar series for other restricted partition functions (into odd parts, odd distinct parts, no part repeated more than times, etc.).
Niven Niven:40 gave a H.R.R. series for , the number of partitions of into parts containing no multiples of or . In a similar vein, Haberzetle Hab:41 gave a series for , the number of partitions of into parts containing no multiples of or , where and are distinct primes such that .
Iseki I:59 ; I:60 ; I:61 derived H.R.R. series that, amongst other results, extended the result of Livingood L45 cited above from a prime to a composite integer , and also extended the results of Niven Niven:40 and Haberzetle Hab:41 , by finding a H.R.R. series for , the number of partitions of into parts relatively prime to a square-free positive integer .
Sastri et al. PS01 ; S72 ; SV82 derived a number of H.R.R. series which, amongst other results, extended the result of Hagis cited above from a prime to an arbitrary positive integer .
More recently, Sills S10a ; S10b ; S10c has partly automated the process of finding H.R.R. series for restricted partition functions, and aided by the use of the computer algebra system Mathematica, has found many new such series, including ones for restricted partition functions represented by various identities of Rogers-Ramanujan type.
When and are relatively prime integers, let denote the number of partitions of into parts containing no multiples of or . We say that such a partition of an integer is -regular. In the present paper we give a H.R.R. series for when and are square-free. We note that this result includes those Niven Niven:40 and Haberzetle Hab:41 as special cases.
We now state our result explicitly. Define
[TABLE]
and denote by a solution to the congruence , and for consistency of notation below, set . For integers , and , let and and, for ease of notation, set
[TABLE]
Our result may be stated as follows.
Theorem 1.2
Let and be square-free relatively prime integers. For a positive integer and non-negative integer with , define the sequence by
[TABLE]
If , then
[TABLE]
where
[TABLE]
The method of proof follows to a large extent the method used by previous authors to derive similar convergent series for other partition functions. In section 2, the Cauchy Residue Theorem is applied to the generating function for the sequence , and a change of variable is then applied to convert the path of integration to the line segment . Next, this line segment is deformed to follow the path along the top of a collection of Ford circles, after which another change of variable transforms the arc along the top of each Ford circle to an arc along the circle in the complex plain with center 1/2 and radius 1/2. Next, the transformation formula for the Dedekind eta function is used to transform the integrand into a form whose properties can be exploited to derive the final series stated in Theorem 1.2. Each transformed infinite product is expanded in a series, which is broken into an initial finite part (which eventually leads to the series of the theorem) and a tail, whose contribution is shown to be negligible.
The path of integration for each of the terms coming from the tail of the series mentioned above is divided into three arcs. In section 3, Kloosterman sum estimates are developed, which are used in section 4 to get error bounds on the integrals along the three arcs for each term in the tail. This shows that these error terms go to zero as , where is the order of the Farey sequence giving rise to the collection of Ford circles.
In section 5, the arcs of integration along the circle with center 1/2 and radius 1/2 for the main terms are replaced with a new path along the entire circle. It is shown that the contributions from the additional arcs also go to zero as , where is as in the paragraph above. Two other changes of variable and an application of an integral formula for modified Bessel functions of the first kind lead the final result.
Remark: With the notation for as above and for as below, the generating functions
[TABLE]
are weight-zero modular forms, so that the general theorem of Bringmann and Ono BO11 could in theory be used to derive our series for . However, we prefer to employ the Hardy-Ramanujan-Rademacher method.
2 Initial transformations
Write , and let
[TABLE]
denote the generating function for the sequence . By the Cauchy Residue Theorem,
[TABLE]
where is any positively oriented simple closed curve inside the unit circle containing the origin. As usual, we start by taking to be the circle centered at the origin with radius , and make the change of variable to get
[TABLE]
We follow Rademacher by deforming the path of integration so that it traces the upper arcs of the collection of Ford circles
[TABLE]
where is the circle with center and radius , and is the set of Farey fractions of order . We denote the part of the path that is an arc of the circle by . Thus
[TABLE]
Next, for each circle , set , transforming the circle to the circle with center and radius , and transforming the arc to the arc (not passing through [math]) on the latter circle joining the points
[TABLE]
where are consecutive Farey fractions in . With these changes,
[TABLE]
Next, recall that the Dedekind eta function is defined by
[TABLE]
and satisfies the transformation formula (see for example Apostol Apostol:MF , Theorem 3.4)
[TABLE]
whenever \biggl{(}\!\begin{array}[]{c c}a&b\\ c&d\end{array}\!\biggr{)} is an element of the modular group, , and lies in the upper half-plane . Thus
[TABLE]
In what follows, for each set of choices for , and , we take to be . For , and , we set , so that . We then transform by setting , and , to get
[TABLE]
On substituting into (2.3), this gives
[TABLE]
We temporarily fix and introduce the shorthand . We observe that the congruences
[TABLE]
imply that
[TABLE]
when . Since and are square-free, we have , and hence the congruence
[TABLE]
has a solution , and we are free to take to be a multiple of . In particular, then, one has , and since it follows from (2) and the Chinese Remainder Theorem that
[TABLE]
Hence the periodicity of implies that
[TABLE]
Put
[TABLE]
Then we deduce from (2) that the ratio appearing in (2.6) is
[TABLE]
where we write
[TABLE]
for some coefficients . We note that the coefficients occurring in the statement of Theorem 1.2 satisfy
[TABLE]
so that in particular . Then (2.6) may be expressed as
[TABLE]
where
[TABLE]
We further introduce the notation
[TABLE]
which allows us to write
[TABLE]
We decompose the sum over into two parts, and , and write
[TABLE]
for the resulting decomposition of (2.11). We aim to show that contributes a negligible amount to the formula. We find it useful to split the path of integration from to into the three arcs , , and , and we further decompose the first two as unions of arcs of the shape , where
[TABLE]
It is easy to check that each lies on the circle . Since are denominators of consecutive elements in the Farey sequence of order , we have and , and hence and for all values of and . Moreover, since , we have and . It follows that , and hence the condition is equivalent to a restriction of to some interval modulo . We may therefore interchange the order of summation and integration in (2.11) to obtain
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
and
[TABLE]
In order to make further progress, we must develop suitable estimates for . We take up this task in the next section.
3 Kloosterman sums
In order to estimate , , and , we aim to express in terms of Kloosterman sums. As a first step, we are able to remove the restriction on in the summation at a cost of . The argument is similar to that of Hagis Hagis:71 (see also Lehner Lehner:41 ).
Lemma 1
For each and , there exists an integer with such that for every one has
[TABLE]
where the implicit constant is absolute.
Proof
Fix , , and , and let , where and are integers with . By orthogonality, we have
[TABLE]
and hence the expression
[TABLE]
is 1 if is congruent mod to one of the integers in and 0 otherwise. We therefore have
[TABLE]
where
[TABLE]
By summing this geometric progression, we find that
[TABLE]
where denotes the distance to the nearest integer. One now easily gets (see for example Lemma 3.2 of Baker Bak:DI )
[TABLE]
and the lemma follows after taking the maximum over in the inner summation of (3.1).
Write , where is the largest divisor of relatively prime to , and let denote the multiplicative inverse of modulo . We note that every prime factor of is a prime factor of , whence if and only if . Moreover, for each such and we can find with the property that and . These observations allow us to calculate the defined by (2.9) rather explicitly.
Lemma 2
Suppose that , let , , and be as above, and additionally write , , and
[TABLE]
where and are as in . When is odd one has
[TABLE]
and when is even one has
[TABLE]
Proof
When , write and
[TABLE]
Then when is odd, formula (2.4) of Niven Niven:40 gives
[TABLE]
When is even, the condition that is square-free implies that is odd, and hence we may apply formula (2.3) of Niven:40 to obtain
[TABLE]
Since is square-free, we have . Therefore, as in the argument preceding the statement of the lemma, we may replace each in (3.2) by an integer divisible by , and the argument leading to (2) then gives
[TABLE]
where we recall that is divisible by and hence by . Substituting into (3.2) now gives
[TABLE]
upon noting that , , and . It now follows with a bit of computation that
[TABLE]
The lemma now follows from (3.3) and (3.4) via routine calculations using the multiplicative properties of the Jacobi symbol.
We now show that the summation on the right hand side of Lemma 1 is a Kloosterman sum with modulus . Fix to be the integer in the statement of Lemma 1 for which the expression on the right is maximal and write for the corresponding sum, so that for each one has
[TABLE]
From the definition of the Dedekind sum (see Section 1), together with (2.9), we see that for all . Hence we can write
[TABLE]
since the definition of implies that if and only if . Moreover, since runs over a reduced residue system modulo as does and since , we find that
[TABLE]
We are now able to express in terms of the Kloosterman sum
[TABLE]
where . In our case , and plays the role of . According to Weil’s bound (see for example Iwaniec and Kowalski IK:ANT , Corollary 11.12) one has
[TABLE]
and this delivers the bound on recorded in the following lemma.
Lemma 3
One has , where the implicit constant depends at most on , , , and .
Proof
On substituting the results of Lemma 2 (with replaced by ) into (3.6), we obtain
[TABLE]
where
[TABLE]
and
[TABLE]
where if is odd and if is even. Since and , any common divisor of and must also divide the integer
[TABLE]
In view of the hypothesis that , we have and hence . The lemma now follows from (3.5) and (3.7).
4 The error terms
In order to complete the analysis of , we require an estimate for the growth rate of the coefficients in (2.11) arising from the expansion (2.8). The following crude bound will suffice for our purposes.
Lemma 4
One has
[TABLE]
where the implicit constant is independent of .
Proof
For simplicity, we consider the series
[TABLE]
so that (2.8) gives . Then by (2.7) one has
[TABLE]
where , , , and . We have
[TABLE]
and it follows that the coefficient of in is bounded above by . Furthermore, by Euler’s Pentagonal number theorem we have
[TABLE]
and from this one sees that the coefficient of in has absolute value at most . Hence on applying the well-known Hardy-Ramanujan asymptotic formula HR:18 for , we deduce that
[TABLE]
and the lemma follows.
We are now able to show that the terms in (2.11) with contribute a negligible amount. First of all, it follows from Lemma 3 and the definitions at the end of Section 2 that
[TABLE]
and
[TABLE]
Since in , the definition (2.10) immediately gives
[TABLE]
Moreover, one has in the disk and it follows that for all . If then (4.1) yields , whereas if and then we obtain .
With the above estimates in hand, it remains to bound the lengths of the various arcs of integration. After recalling (2.13), a simple calculation reveals that
[TABLE]
while . Therefore, on shifting the paths of integration from the circle to the respective chords connecting the endpoints, we deduce from (2.14), Lemma 4, and the discussion following (4.1) that
[TABLE]
Thus on recalling (2.12) we get
[TABLE]
and hence it suffices to analyze .
5 The main terms
For each , we now consider the main terms (if any) with . Recall that is the circle with center and radius , and let denote this circle traversed in the clockwise direction. We write
[TABLE]
and use this to decompose each of the integrals in (2.11). Our aim is to show that the integrals over the arcs in (2.11) can be replaced by integration over , with negligible error. By repeating the argument leading to (2.14), we find that the contribution from and is at most
[TABLE]
Since the coefficient of in the exponent of is positive when , we keep the path of integration on the circle, where we have , and hence (4.1) gives . Finally, it is easy to show (see for example the proof of Apostol Apostol:MF , Theorem 5.9) that each of the arcs , , and has length . It therefore follows from (5.1) and Lemma 3 that
[TABLE]
On letting , we deduce from (4.3) and (5.2) that
[TABLE]
where is as in the statement of Theorem 1.2. It remains to express the integral over in terms of modified Bessel functions of the first kind. Setting gives
[TABLE]
We now set
[TABLE]
to get
[TABLE]
Lastly, we use the formula
[TABLE]
(see Watson Watson:BF ) with and
[TABLE]
to get, after some simplification,
[TABLE]
The proof of Theorem 1.2 is now complete.
6 Convergence behaviour
Obtaining a bound for the error in using the th partial sum in Rademacher’s series to estimate is a difficult problem, and bounding the error in using the th partial sum of the series at (5.4) to estimate is likely to be at least as difficult. We do not attempt an analysis of this problem in the present paper. However, we do examine a particular numerical example, to get a feel for the speed and the nature of the convergence.
In the case examined (, , ), the convergence of the series is initially very fast, while it seems that once the partial sums of the series get to within 1.0 of the correct value, that convergence then proceeds much more slowly, with (for ) the greatest contributions to the sum of the series coming from those terms with , and with the contributions from the terms for the other being negligible in comparison. However, it is possible that the convergence behaviour may be different, if and have a different number of prime factors than in the example.
As an illustration of the convergence behaviour, we consider the convergence of the sum of the series to
[TABLE]
by examining the difference , where is the th partial sum of the series. We tabulate the values for in Table 1 to show the very fast convergence initially.
Note that the terms in the series corresponding to , and are zero, since , so that each of the inner sums over are empty, and thus contribute zero to the value of the series (the term in the series corresponding to is also zero, but this is because the terms in the inner sum over add to zero).
We next plot (Figure 1) the values for (the large initial values lie outside the range of the plot) to show how the terms in the sum corresponding to (multiples of ) contribute much more to the value of tail of the series than values of .
We remark that this apparent step-like convergence behaviour of the series for is in contrast to the apparent convergence behaviour of the Rademacher series for , which is more erratic. Figure 2 is a plot of the difference , , where is the th partial sum of Rademacher’s series.
We conclude by remarking that experimental evidence suggests that the requirement that and be square-free may be dropped, although it is not possible to employ the arguments used to get the Kloosterman sum estimates in this case. For example, seven terms of the series for
[TABLE]
appear to be sufficient to get within of . Figure 3 is a plot of difference , , where once again is the th partial sum of the series in Theorem 1.2.
Note that the convergence of the series for exhibits the same step-like behaviour seen above in the convergence of the series for , with the steps this time being multiples of .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) T. M. Apostol, Modular functions and Dirichlet series in number theory , Springer, 1990.
- 2(2) R. C. Baker, Diophantine inequalities , Clarendon Press, Oxford, 1986.
- 3(3) K. Bringmann and K. Ono, Coefficients of harmonic Maass forms , Proceedings of the 2008 University of Florida Conference on Partitions, q-series, and Modular Forms, Developments in Mathematics series, Springer, to appear.
- 4(4) M. Haberzetle, On some partition functions , Amer. J. Math. 63 (1941), 589 -599.
- 5(5) P. Hagis, A problem on partitions with a prime modulus p ≥ 3 𝑝 3 p\geq 3 , Trans. Amer. Math. Soc. 102 (1962), 30–62.
- 6(6) P. Hagis, Partitions into odd summands , Amer. J. Math. 85 (1963), 213 -222.
- 7(7) P. Hagis, On a class of partitions with distinct summands , Trans. Amer. Math. Soc. 112 (1964), 401 -415.
- 8(8) P. Hagis, Partitions into odd and unequal parts , Amer. J. Math. 86 (1964), 317 -324.
