Introduction
Recently Merca [Mer26] defined the two-block odd partition function a(n) as the signed number of partitions of n into exactly two distinct part sizes, each occurring an odd number of times: a(n) counts the representations n=(2r1+1)x+(2r2+1)y with 1≤x<y, with sign (−1)r1+r2. Its generating function is the double Lambert series
A(q):=n≥1∑a(n)qn=1≤n1<n2∑1+q2n1qn11+q2n2qn2.(1)
We set some notations first. Throughout, q is a formal variable, (a;q)∞=∏i≥0(1−aqi), and N[[q]] denotes the set of formal power series with nonnegative integer coefficients. For a series X(q)=∑nx(n)qn we write [qn]X=x(n), and for two series we write X≥Y if X−Y∈N[[q]]. We write Tj=j(j+1)/2 for the triangular numbers. Let χ4 be the nontrivial character modulo 4, λ(n)=∑d∣nχ4(d), σ(n)=∑d∣nd, with σ(x)=0 if x∈/Z>0. Among other things, Merca [Mer26] proved the following results.
Theorem 1.1 ([Mer26, Theorem 1.1 and Corollary 1.2]). For every n≥1,
a(n)=4σ(n)−λ(n)−2σ(n/2)+σ(n/4).(2) Consequently a(n)≥0 for all n≥1, with equality if and only if n∈{1,2}.
Theorem 1.2 ([Mer26, Theorem 1.3]). Let
P(q):=n≥0∑pod(n)qn=(q2;q2)∞(−q;q2)∞=(q;q)∞(q2;q4)∞.(3)
be the generating function of the partitions in which odd parts are distinct and even parts are unrestricted, and let
S(q):=r≥1∑(−1)Tr−1T⌈r/2⌉qTr+1=q3−q6−3q10+3q15+6q21−6q28−10q36+10q45+⋯.(4)
Then A(q)=P(q)S(q).
For N≥1 let SN(q) be the N-th partial sum of (1.4) and let
FN(q):=P(q)SN(q)=(q;q)∞(q2;q4)∞r=1∑N(−1)Tr−1T⌈r/2⌉qTr+1.(5)
Since A=PS∈N[[q]] by Theorem 1.1, it is natural to ask whether the truncations FN are nonnegative as well. This is what Merca conjectured.
Conjecture 1.3. [Mer26] If N≡1,2(mod4), then FN(q) has nonnegative coefficients. Moreover, for all n≥3 the coefficient of qn in FN(q) is positive.
Our goal here is to prove this conjecture.2
We write RN:=S−SN for the tail of the series (1.4), so that
FN(q)=P(q)SN(q)=A(q)−P(q)RN(q).(6)
The main result of this note is that the second term is itself a series with nonpositive coefficients whenever N≡1,2(mod4). This is the exact analogue of the phenomenon behind the truncated pentagonal number theorem of Andrews and Merca [1], where the tail of the pentagonal series divided by (q;q)∞ has coefficients of constant sign.
Theorem 1.4. Let N≡1,2(mod4). Then
−P(q)RN(q)∈N[[q]],equivalentlyP(q)SN(q)−A(q)∈N[[q]]. In particular Conjecture 1.3 holds, that is, we have FN(q)∈N[[q]], and the coefficients of q0,q1,q2 in FN vanish, and [qn]FN≥a(n)>0 for every $n \ge 3.
Theorem 1.4 is a consequence of two results which we state below, where the tail is divided by a finite product rather than by P(q)−1. Both of these results are proved by the method of [SS26]: explicit quasi-polynomial estimates for the number of partitions into a fixed finite set of parts, an exact evaluation of the resulting alternating polynomial sums, and a case analysis whose finitely many polynomial inequalities are certified by computer algebra. This method has been applied successfully to several open problems in the recent years: see for example the work of Zhou [Zho24], Yao [Yao24], Chen and Yao [2] and Liu [Liu25] for a sampler of this.
Theorem 1.5. Let k≥0 be even and N=2k+1 (that is, N≡1(mod4)). Then
(1−q)(1−q3)(1−q5)−RN(q)∈N[[q]].
Theorem 1.6. Let k≥0 be even and N=2k+2 (that is, N≡2(mod4)). Then
(1−q)(1−q3)(1−q4)(1−q5)(1−q7)−RN(q)∈N[[q]].
The rest of the paper is organized as follows: Section 2 rewrites S, its truncations and its tails in a convenient paired form, records the elementary factorisation of P(q) that we need, and proves the reduction of Theorem 1.4 to Theorems 1.5 and 1.6. Section 3 collects all the necessary tools that we need: quasi-polynomials for partitions into the parts of {1,3,5} and of {1,3,4,5,7}, an exact summation formula for alternating sums of polynomials, and two elementary positivity criteria for polynomials on an interval. Sections 4 and 5 prove Theorems 1.5 and 1.6 respectively. The explicit polynomials needed in Section 4 are displayed there; those needed in Section 5 are given in Appendix A.
Preliminary Results and a Reduction
We use the following notation throughout. For m≥1 put
am:=m(2m+1)=T2m,bm:=(m+1)(2m+1)=T2m+1,(7)
so that
bm−am=2m+1,am+1−bm=2m+2,am+1−am=4m+3,(8)
and a1<b1<a2<b2<⋯.
We have the following easy to prove lemmas.
Lemma 2.1. We have
S(q)=m≥1∑(−1)m−1Tm(qam−qbm),(9) and, for every even k≥0,
−R2k+1=Tk+1qbk+1+m≥k+2∑(−1)mTm(qam−qbm),(10) −R2k+2=m≥k+2∑(−1)mTm(qam−qbm)=−R2k+1−Tk+1qbk+1.(11)
Proof. Pair the terms r=2m−1 and r=2m in (1.4). For r=2m−1 we have Tr−1=(m−1)(2m−1)≡m−1(mod2) and Tr+1=T2m=am, and for r=2m we have Tr−1=m(2m−1)≡m(mod2) and Tr+1=T2m+1=bm; in both cases T⌈r/2⌉=Tm. This gives (2.3).
Removing the first 2k+1, respectively 2k+2, terms of (1.4) from (2.3) gives the tail formulas (2.4) and (2.5).
Lemma 2.2. Let D:={m≥1:m odd}∪{m≥1:4∣m}. Then
P(q)=m∈D∏1−qm1.(12)
Proof. In
P(q)=(q;q)∞(q4;q4)∞(q2;q2)∞
the factors (1−qm) with m even in (q;q)∞ cancel against (q2;q2)∞, and what remains in the denominator is ∏m odd(1−qm)∏4∣m(1−qm).
We now reduce proving Theorem 1.4 to proving Theorems 1.5 and 1.6.
Proof of Theorem 1.4, assuming Theorems 1.5 and 1.6. Let S⊂D be a finite set. By Lemma 2.2,
P(q)s∈S∏(1−qs)=m∈D∖S∏1−qm1∈N[[q]],(13)
and hence
−P(q)RN(q)=(P(q)s∈S∏(1−qs))⋅∏s∈S(1−qs)−RN(q)∈N[[q]]
whenever the second factor lies in N[[q]]. For N≡1(mod4) this is Theorem 1.5 with S={1,3,5}⊂D, and for N≡2(mod4) it is Theorem 1.6 with S={1,3,4,5,7}⊂D (note that 4∈D). This proves −P(q)RN(q)∈N[[q]], that is, P(q)SN(q)−A(q)∈N[[q]] by (6).
The remaining assertions follow: [qn]FN≥a(n) for all n, which is positive for n≥3 by Theorem 1.1, and [qn]FN=0 for n≤2 because SN has no term of degree less than 3. □
Results such as Theorem 1.4 comes with some partition theoretic linear inequalities as easy corollaries. We mention the one associated with Theorem 1.4 giving us linear inequalities for pod(n) below.
Corollary 2.3. For every even k≥0 and every n≥1,
m=1∑k(−1)m−1Tm(pod(n−am)−pod(n−bm))+Tk+1pod(n−ak+1)≥a(n), m=1∑k+1(−1)m−1Tm(pod(n−am)−pod(n−bm))≥a(n), where pod(x)=0 for x<0.
Proof. These are the coefficient inequalities [qn](PSN)≥a(n) for N=2k+1 and N=2k+2, where SN is written out using the paired form (9) of S. □
The Toolkit
In this section, we collect results which are essential for the proofs of Theorems 1.5 and 1.6.
For a finite set S of positive integers let αS(n) denote the number of partitions of n into parts belonging to S, with αS(n)=0 for n<0, so that ∑n≥0αS(n)qn=∏s∈S(1−qs)−1. We need two instances of S for our results.
Lemma 3.1 ([SS26, Lemma 2.1]). Let o3(n):=α{1,3,5}(n) and Q(x):=(2x+9)2/120. Then for all n≥0
o3(n)=Q(n)+ε(n),−12049≤ε(n)≤12039=4013,(14) where ε is periodic with period 15.
The next lemma is a particular instance of what Liu has observed [Liu25, Eq. (3.7)]. The proof is similar to other such results in the literature, so we only sketch the essential parts here.
Lemma 3.2. Let α(n):=α{1,3,4,5,7}(n) and
P4(x):=10080x4+252x3+100855x2+8425x+302400157091.(15) Then for all n≥0
α(n)=P4(n)+η(n),ηmin:=−302400110771≤η(n)≤302400145309=:ηmax,(16) where η is periodic with period 420, and both bounds are attained. We put
E:=ηmax−ηmin=302400256080=12601067. Proof. The parts 1, 3, 4, 5, 7 are pairwise coprime, so the five-part case of the classical quasi-polynomial theorem of Pólya and Szegő [PS98, Part I, Problem 27.1] applies, in the explicit form given by Liu [Liu25, Eq. (3.7)] and Liu and Liao [LL25, Lemma 3.2]. For the parts 1, 3, 4, 5, 7 it reads
α(n)=10080n4+40n3+550n2+3000n+t(n),t(n+420)=t(n), so that (3.3) holds with η(n):=t(n)−302400157091, which is periodic with period 420. Its extreme values can therefore be read off from one period, exactly as in the proofs of [2 Lemmas 2.2, 3.1 and 3.2]: evaluating η(n)=α(n)−P4(n) for 0≤n≤419 gives
nmaxη(n)=η(0)=1−302400157091=302400145309, nminη(n)=η(2)=1−100808536−302400157091=−302400110771, where we used α(0)=α(2)=1. □
We need the following fact about polynomials over Q.
Lemma 3.3. Let f be a polynomial in m, then there exists a unique polynomial g of the same degree with
g(m)+g(m+1)=f(m),(17) and for all integers A≤B, we have
m=A∑B(−1)mf(m)=(−1)Ag(A)+(−1)Bg(B+1).(18) Proof. The linear map g↦g(m)+g(m+1) on polynomials of degree ≤d is injective (its leading coefficient is 2 times that of g), hence bijective, which gives existence and uniqueness. For (3.5),
m=A∑B(−1)m(g(m)+g(m+1))=m=A∑B(−1)mg(m)−m=A+1∑B+1(−1)mg(m) =(−1)Ag(A)−(−1)B+1g(B+1).
We shall also use the following elementary identity:
m=A∑BTm=(3B+2)−(3A+1).(19)
Lemma 3.4. Let φ(u)=A2u2+A1u+A0 with A2>0, and let L>0. If
φ(0)≥0,φ(L)≥0,A0−A2L2≥0, then φ(u)≥0 for all u∈[0,L]. The same conclusion holds if φ(0)≥0 and A1≥0.
Proof. Put u∗:=−A1/(2A2). Completing the square gives us
φ(u)=A2(u−u∗)2+φ(u∗),φ(u∗)=A0−4A2A12,
so φ is decreasing on (−∞,u∗] and increasing on [u∗,∞). We distinguish three cases according to the position of u∗.
Case u∗≤0. Then φ is increasing on [0,L], so φ(u)≥φ(0)≥0 for u∈[0,L].
Case u∗≥L. Then φ is decreasing on [0,L], so φ(u)≥φ(L)≥0 for u∈[0,L].
Case 0<u∗<L. Then the minimum of φ on [0,L] is the global minimum φ(u∗). Since A2>0 and 0<u∗<L, we have ∣A1∣=2A2u∗<2A2L, hence A12/(4A2)<A2L2 and
φ(u)≥φ(u∗)=A0−4A2A12>A0−A2L2≥0(u∈[0,L]).
This proves the first assertion.
For the second, note that A1≥0 is equivalent to u∗≤0, so we are in the first case and φ(u)≥φ(0)≥0 for all u≥0. □
Lemma 3.5. Let p(u)=∑j=0dcjuj be a polynomial of degree at most d and let L>0. Define
βi:=j=0∑i(jd)(ji)cjLj(0≤i≤d).(20) Then
p(Lx)=i=0∑dβi(id)xi(1−x)d−i, and consequently β0,…,βd≥0 implies p(u)≥0 for all u∈[0,L].
Proof. We have
xj=xj(x+(1−x))d−j=i=j∑d(i−jd−j)xi(1−x)d−i=i=j∑d(jd)(ji)(id)xi(1−x)d−i,
where in the last step, we used (i−jd−j)(jd)=(id)(ji). Multiplying the j-th identity by cjLj and summing over 0≤j≤d, the left-hand side becomes p(Lx), while on the right-hand side the coefficient of (id)xi(1−x)d−i is ∑j≤i(jd)(ji)cjLj=βi; this proves, for all real x, we have
p(Lx)=i=0∑dβi(id)xi(1−x)d−i.
Now let u∈[0,L] and put x=u/L∈[0,1]. Then x≥0 and 1−x≥0, so each (id)xi(1−x)d−i is nonnegative, and if β0,…,βd≥0 then p(u)=p(Lx)≥0. □
Proof of Theorem 1.5: the case N≡1(mod4)
Throughout this section, k≥0 is an even integer and N=2k+1. By (10) and Lemma 3.1, we can write
(1−q)(1−q3)(1−q5)−RN(q)=n≥0∑bk(n)qn,(21)
where
bk(n):=Tk+1o3(n−bk+1)+m≥k+2∑(−1)mTm(o3(n−am)−o3(n−bm)),(22)
with the convention o3(x)=0 for x<0. Thus, to prove Theorem 1.5, it suffices to show that bk(n)≥0 for all integers n≥0. Note that, since o3 is nondecreasing, the m-th summand in (22) is nonnegative for even m and nonpositive for odd m.
For m0≥k+2 we define the partial sums
B(n,k,m0):=Tk+1o3(n−bk+1)+m=k+2∑m0−1(−1)mTm(o3(n−am)−o3(n−bm)),(23)
so that B(n,k,k+2)=Tk+1o3(n−bk+1). The following lemma, which is the analogue of [SS26, Lemma 2.2] and of [2 Lemma 2.3], gives a polynomial lower bound for these partial sums.
Lemma 4.1. Let k≥0 be even, m0≥k+2 and n≥bm0−1 be integers. Then
B(n,k,m0)≥Φ(n,k,m0):=Φ0(n,k)+(m03−m0)((−1)m0302m02−n−8−9011),(24) where
Φ0(n,k):=60(k+1)(k+2)n2−(15k4+52k3+6041k2+4k−101)n+15k6+53k5+60107k4+4582k3+607k2−18k+52.(25) Proof. Since n≥bm0−1, all the arguments of o3 in (23) are nonnegative, so we may use Lemma 3.1 for each of them. By (14), for all x,y≥0 we have o3(x)≥Q(x)−12049 and o3(x)−o3(y)≥Q(x)−Q(y)−12049−12039=Q(x)−Q(y)−1511, and the same with the roles of x and y interchanged. Hence
B(n,k,m0)≥Tk+1(Q(n−bk+1)−12049)+m=k+2∑m0−1((−1)mTm(Q(n−am)−Q(n−bm))−1511Tm).(26) A short computation using (7) gives
Q(n−am)−Q(n−bm)=30(bm−am)(2n−am−bm+9)=15(2m+1)(n−2m2−2m+4), so that Tm(Q(n−am)−Q(n−bm))=30f(m) with
f(m):=m(m+1)(2m+1)(n−2m2−2m+4).
One checks directly that the polynomial g(m):=−(m3−m)(2m2−n−8) satisfies g(m)+g(m+1)=f(m). Therefore, by Lemma 3.3 (recall that k+2 is even) and by (3.6), we have
m=k+2∑m0−1(−1)mf(m)=g(k+2)+(−1)m0−1g(m0),
and
m=k+2∑m0−1Tm=(3m0+1)−(3k+3).
Substituting these into (4.6), we obtain
B(n,k,m0)≥=120Tk+1((2(n−bk+1)+9)2−49)+30g(k+2)−(−1)m0g(m0)−1511((3m0+1)−(3k+3))Φ0(n,k)+(−1)m030(m03−m0)(2m02−n−8)−9011(m03−m0).
where Φ0(n,k) collects all the terms which do not involve m0, namely
Φ0(n,k)=120Tk+1((2(n−bk+1)+9)2−49)+30g(k+2)+1511(3k+3).
Expanding this expression gives (4.5) which proves the lemma. □
We are now ready to prove Theorem 1.5. The argument follows the pattern of [SS26, Lemma 2.4] and [2 Section 2.1]: we locate n in one of the intervals [aM,aM+1), M≥k+2, which partition {n:n≥ak+2}, and in each of four cases we bound bk(n) from below by an explicit polynomial using Lemma 4.1 and Lemma 3.1. The resulting polynomials are quadratic in the position of n inside the interval, and their nonnegativity is established by Lemma 3.4 after expanding them in the variables κ,s≥0 defined by
k=2κ,M={2κ+2+s,2κ+3+s,M even,M odd.(27)
Proof of Theorem 1.5. We show that bk(n)≥0 for all n≥0. If n<bk+1, then bk(n)=0, and if bk+1≤n<ak+2, then bk(n)=Tk+1o3(n−bk+1)≥0 by (4.2). So let n≥ak+2. Since ak+2<ak+3<⋯, there exists a unique integer M≥k+2 such that
aM≤n≤aM+1−1=aM+4M+2,
and we put t:=n−aM, so that 0≤t≤4M+2. By (4.2) and (4.3), all the terms with m≥M+1 vanish, and
bk(n)={B(n,k,M)+(−1)MTMo3(t),B(n,k,M+1),0≤t≤2M(i.e. aM≤n<bM),2M+1≤t≤4M+2(i.e. bM≤n<aM+1).(28)
because o3(n−bM)=0 in the first range. Note that n≥aM≥bM−1+2M and, in the second range, n≥bM, so Lemma 4.1 is applicable to B(n,k,M) and to B(n,k,M+1) respectively.
We now consider four cases.
Case 1. aM≤n≤bM−1 and M is even.
Write M=2κ+2+s as in (4.7). By (4.8), Lemma 4.1 and (3.1),
bk(n)=B(n,k,M)+TMo3(t)≥Φ(n,k,M)+TM(Q(t)−12049)=:A2t2+A1t+A0,
where, after substituting n=aM+t and (4.7),
60A260A1=8κ2+4κs+16κ+s2+5s+8,=64κ3s+32κ3+16κ2s2+144κ2s+152κ2+12κs2+128κs+208κ−2s3+5s2+59s+88,(29)
90A0=384κ4s2+576κ4s+96κ4+192κ3s3+1584κ3s2+2520κ3s+552κ3+24κ2s4+504κ2s3+2394κ2s2+3450κ2s+1068κ2+36κs4+396κs3+1293κs2+1671κs+864κ+9s4+49s3+114s2+212s+252.
Clearly A2>0 and A0≥0. We apply Lemma 3.4 on the interval [0,L] with L=2M=4κ+2s+4. The value at t=L is
90(A2L2+A1L+A0)=384κ4s2+960κ4s+480κ4+192κ3s3+1872κ3s2+4152κ3s+2424κ3+24κ2s4+552κ2s3+3162κ2s2+6426κ2s+4380κ2+36κs4+468κs3+2139κs2+4329κs+3408κ+9s4+106s3+513s2+1142s+972≥0,
and
90(A0−A2L2)=384κ4s2+576κ4s−96κ4+192κ3s3+1584κ3s2+2232κ3s−216κ3+24κ2s4+504κ2s3+2226κ2s2+2562κ2s−84κ2+36κs4+348κs3+933κs2+759κs+96κ+3s4−5s3−78s2−100s+60.(30)
We distinguish three sub-cases.
If s=0, then by (4.9) A1=152(κ+1)2(4κ+11)>0, and the last assertion of Lemma 3.4 gives bk(n)≥A0≥0.
If κ≥1 and s≥1, we replace κ by κ+1 and s by s+1 in (4.10); the resulting polynomial in κ,s≥0 has only nonnegative coefficients, so A0−A2L2≥0 and Lemma 3.4 gives bk(n)≥0.
If κ=0 and s≥1, then 60A1=−2s3+5s2+59s+88, which is positive for 1≤s≤7 (its value at s=7 is 60), so again bk(n)≥A0≥0 for these s. For s≥8, (4.10) reduces to 3s4−5s3−78s2−100s+60, and replacing s by s+8 gives 3s4+91s3+954s2+3836s+3996>0; hence A0−A2L2≥0 and Lemma 3.4 applies.
Thus bk(n)≥0 in Case 1.
Case 2. aM≤n≤bM−1 and M is odd. Write M=2κ+3+s as in (27). By (28), Lemma 4.1 and (14),
bk(n)=B(n,k,M)−TMo3(t)≥Φ(n,k,M)−TM(Q(t)+12039)=:ψ(t).
Here ψ is a quadratic polynomial in t with leading coefficient −601(4κs+8κ+s2+7s+10)<0, so ψ is concave and ψ(t)≥min{ψ(0),ψ(2M)} for 0≤t≤2M. Now
90ψ(0)=384κ4s2+1344κ4s+1152κ4+192κ3s3+2160κ3s2+6456κ3s+5808κ3+24κ2s4+600κ2s3+4194κ2s2+11286κ2s+10212κ2+36κs4+588κs3+3417κs2+8361κs+7182κ+15s4+205s3+1008s2+2084s+1536,
90ψ(2M)=384κ4s2+1728κ4s+1920κ4+192κ3s3+2448κ3s2+8664κ3s+9072κ3+24κ2s4+648κ2s3+5106κ2s2+15150κ2s+14676κ2+36κs4+660κs3+4083κs2+10287κs+8946κ+15s4+196s3+918s2+1805s+1266,
both of which are clearly positive. Thus bk(n)≥0 in Case 2.
Case 3. bM≤n≤aM+1−1 and M is even. Write M=2κ+2+s and t=2M+1+u, so that 0≤u≤2M+1. By (28) and Lemma 4.1 (applied with m0=M+1, which is odd),
90bk(n)≥90Φ(n,k,M+1)=384κ4s2+960κ4s+480κ4+192κ3s3+1872κ3s2+96κ3su+4248κ3s+144κ3u+2568κ3+24κ2s4+552κ2s3+24κ2s2u+3186κ2s2+312κ2su+6738κ2s+6κ2u2+486κ2u+4728κ2+36κs4+468κs3+54κs2u+2193κs2+354κsu+4551κs+9κu2+513κu+3582κ+9s4+3s3u+109s3+39s2u+519s2+144su+1121s+3u2+171u+942,
which is clearly positive for all κ,s,u≥0. Thus bk(n)≥0 in Case 3.
Case 4. bM≤n≤aM+1−1 and M is odd. Write M=2κ+3+s and t=2M+1+u with 0≤u≤L:=2M+1=4κ+2s+7. By (28) and Lemma 4.1 (applied with m0=M+1, which is even),
bk(n)≥Φ(n,k,M+1)=:A2u2+A1u+A0,
where
30A2=(κ+1)(2κ+1),
30A1=32κ3s+64κ3+8κ2s2+96κ2s+178κ2+6κs2+58κs+119κ−s3−8s2−17s−1,
90A0=384κ4s2+1728κ4s+1920κ4+192κ3s3+2448κ3s2+8760κ3s+9264κ3+24κ2s4+648κ2s3+5130κ2s2+15438κ2s+15204κ2+36κs4+660κs3+4101κs2+10461κs+9294κ+15s4+193s3+894s2+1754s+1260.
Note that A1 may be negative (for κ=0 it equals −(s3+8s2+17s+1)/30), so the minimum of this quadratic over the real line need not be nonnegative, and we use Lemma 3.4 instead. We have A2>0, A0>0,
90(A2L2+A1L+A0)=384κ4s2+2112κ4s+2784κ4+192κ3s3+2736κ3s2+11064κ3s+13224κ3+24κ2s4+696κ2s3+5970κ2s2+19530κ2s+21216κ2+36κs4+684κs3+4515κs2+12489κs+12390κ+9s4+124s3+636s2+1475s+1386>0,
and
90(A0−A2L2)=384κ4s2+1728κ4s+1824κ4+192κ3s3+2448κ3s2+8664κ3s+8784κ3+24κ2s4+648κ2s3+5106κ2s2+15126κ2s+14358κ2+36κs4+660κs3+4065κs2+10161κs+8685κ+15s4+193s3+882s2+1670s+1113>0.
By Lemma 3.4, bk(n)≥0 for 0≤u≤L, which is Case 4.
We have shown that bk(n)≥0 for all n≥0, and Theorem 1.5 now follows from (4.1). □
Proof of Theorem 1.6: the case N≡2(mod4)
Throughout this section, k≥0 is an even integer, N=2k+2, and α=α{1,3,4,5,7} is as in Lemma 3.2. By (2.5),
(1−q)(1−q3)(1−q4)(1−q5)(1−q7)−RN(q)=n≥0∑ck(n)qn,(31)
where
ck(n):=m≥k+2∑(−1)mTm(α(n−am)−α(n−bm)),(32)
with α(x)=0 for x<0, and it suffices to show that ck(n)≥0 for all n≥0. The proof runs parallel to that of Theorem 1.5, with Lemma 3.2 in place of Lemma 3.1: there is no leading term, the main terms are now of degree 4 in n, and the final positivity check uses Lemma 3.5 instead of Lemma 3.4.
For m0≥k+2 let
C(n,k,m0):=m=k+2∑m0−1(−1)mTm(α(n−am)−α(n−bm)),(33)
an empty sum when m0=k+2. Recall E=ηmax−ηmin=12601067 from Lemma 3.2.
Lemma 5.1. Let k≥0 be even, m0≥k+2 and n≥bm0−1 be integers. Then
C(n,k,m0)≥Φ2(n,k,m0):=Φ2,0(n,k)+(m03−m0)((−1)m020160W(m0,n)−75601067).(34)
where
W(m,n):=32m6−48m4n−736m4+24m2n2+692m2n+5322m2−4n3−162n2−2272n−11725(35)
and
Φ2,0(n,k):=(5040k3+840k2+504011k+8401)n3−(840k5+84k4+112043k3+168067k2−6725k−56011)n2+(420k7+30k6+5040823k5+504151k4+504061k3−504229k2−25255k+21017)n−630k9−35k8−214k7−158k6−100803029k5+50406359k4+60480106861k3+3360559k2+6048029501k+100809031.(36)
Proof. As in the proof of Lemma 4.1, all arguments of α are nonnegative, and (16) gives ±(α(x)−α(y))≥±(P4(x)−P4(y))−E for x,y≥0. Hence
C(n,k,m0)≥m=k+2∑m0−1((−1)mf2(m)−ETm),
and
f2(m):=Tm(P4(n−am)−P4(n−bm)).
Here f2 is a polynomial of degree 9 in m (and of degree 3 in n, the terms in n4 cancelling), and one verifies that the polynomial
g2(m):=−20160(m3−m)W(m,n)
satisfies g2(m)+g2(m+1)=f2(m). By Lemma 3.3 and (19),
C(n,k,m0)≥g2(k+2)+(−1)m0−1g2(m0)−E((3m0+1)−(3k+3))=Φ2,0(n,k)+(−1)m020160(m03−m0)W(m0,n)−75601067(m03−m0),
where Φ2,0(n,k)=g2(k+2)+E(3k+3) collects the terms free of m0; expanding gives (36). □
Proof of Theorem 1.6. If n<ak+2, then ck(n)=0. For n≥ak+2 let M≥k+2 be the unique integer with aM≤n≤aM+1−1 and put t:=n−aM∈[0,4M+2]. Exactly as in (4.8),
ck(n)={C(n,k,M)+(−1)MTMα(t),C(n,k,M+1),0≤t≤2M,2M+1≤t≤4M+2,(37)
and Lemma 5.1 applies to the partial sums occurring here.
We use the substitution (4.7) and again consider four cases; in each case we obtain, from (5.7), Lemma 5.1 and (3.3), a lower bound ck(n)≥p(u) by a polynomial p of degree at most 4 in a variable u∈[0,L], whose coefficients are polynomials in κ and s:
Case 1. aM≤n<bM, M=2κ+2+s even: u=t, L=2M, and p(u)=Φ2(aM+u,k,M)+TM(P4(u)+ηmin).
Case 2. aM≤n<bM, M=2κ+3+s odd: u=t, L=2M, and p(u)=Φ2(aM+u,k,M)−TM(P4(u)+ηmax).
Case 3. bM≤n<aM+1, M=2κ+2+s even: u=t−2M−1, L=2M+1, and p(u)=Φ2(bM+u,k,M+1).
Case 4. bM≤n<aM+1, M=2κ+3+s odd: u=t−2M−1, L=2M+1, and p(u)=Φ2(bM+u,k,M+1).
(In Cases 1 and 2 we used TMα(t)≥TM(P4(t)+ηmin) and −TMα(t)≥−TM(P4(t)+ηmax) respectively.) In each case we compute the five coefficients β0,…,β4 of p on [0,L] according to (3.7) with d=4; they are polynomials in (κ,s) and are listed in Appendix A.
One finds:
In Cases 2, 3 and 4, all five βi have nonnegative coefficients as polynomials in κ and s, hence βi≥0 for all κ,s≥0, and Lemma 3.5 gives ck(n)≥p(u)≥0.
In Case 1, all five βi have nonnegative coefficients after replacing s by s+1, hence ck(n)≥0 whenever s≥1. If s=0, then M=k+2, the sum (5.3) is empty, and (5.7) gives directly ck(n)=Tk+2α(t)≥0.
Therefore ck(n)≥0 for all n≥0, and Theorem 1.6 follows from (5.1). □
Acknowledgments
The author used Anthropic’s Claude Fable 5.1 to generate the skeleton of the arguments presented here (based on the ideas and proof strategy used in the author’s recent AI-free co-authored paper [SS26]). After several rounds of edits the final form of the proofs took shape. We have followed closely the strategy used in [SS26]. The final version of the manuscript was reviewed using OpenAI’s GPT-6 Sol for any errors and redundancies. The author takes full responsibility for the contents of this paper.
Appendix A. Explicit polynomials for Theorem 1.6
The following expressions are the coefficients β0,…,β4 defined in (20) (with d=4) of the lower bounds p(u) on [0,L] of Cases 1–4 in the proof of Theorem 1.6, as polynomials in the variables (κ,s) of (27); for Case 1 they are printed in the variables (κ,v), where s=v+1. Every coefficient of every polynomial below is nonnegative.
Case 1: β0, in the variables (κ,v) with s=v+1 (multiplied by 60480):
49152κv3+184320κv2+196608κv+61440κ6+36864κ5v4+479232κ5v3+1689600κ5v2+2085888κ5v+838656κ5+9216κ4v5+241920κ4v4+1913856κ4v3+6308160κ4v2+8755392κ4v+4128384κ4+768κ3v6+42624κ3v5+623232κ3v4+3926304κ3v3+12362256κ3v2+18407616κ3v+9390288κ3+2304κ2v6+70272κ2v5+779616κ2v4+4386720κ2v3+13306944κ2v2+19691484κ2v+10078140κ2+2112κv6+49536κv5+490224κv4+2554776κv3+7033218κv2+9245076κv+4370154κ+696v6+15240v5+132888v4+558161v3+1139085v2+1011874v+340398
Case 1: β1, in the variables (κ,v) with s=v+1 (multiplied by 60480):
49152κv3+202752κv2+242688κv+89088κ6+36864κ5v4+497664κ5v3+1867008κ5v2+2511744κ5v+1105536κ5+9216κ4v5+247680κ4v4+2033664κ4v3+7021536κ4v2+10313568κ4v+5087232κ4+768κ3v6+43200κ3v5+649728κ3v4+4240272κ3v3+13814640κ3v2+21166992κ3v+11021328κ3+2304κ2v6+72000κ2v5+825984κ2v4+4779264κ2v3+14733480κ2v2+21998196κ2v+11432220κ2+2112κv6+51696κv5+523668κv4+2739708κv3+7520550κv2+9936240κv+4871634κ+744v6+16050v5+135534v4+550403v3+1095855v2+992110v+408222
Case 1: β2, in the variables (κ,v) with s=v+1 (multiplied by 60480):
49152κ6v3+221184κ6v2+294912κ6v+122880κ6+36864κ5v4+516096κ5v3+2052096κ5v2+2987520κ5v+1414656κ5+9216κ4v5+253440κ4v4+2156544κ4v3+7777920κ4v2+12012096κ4v+6164096κ4+768κ3v6+43776κ3v5+676608κ3v4+4564416κ3v3+15328368κ3v2+24086944κ3v+12840592κ3+2304κ2v6+73728κ2v5+872064κ2v4+5164416κ2v3+16139664κ2v2+24372492κ2v+12999132κ2+2112κv6+53568κv5+550608κv4+2884336κv3+7928610κv2+10657356κv+5545050κ+768v6+16104v5+131492v4+519037v3+1027137v2+1005718v+543654
Case 1: β3, in the variables (κ,v) with s=v+1 (multiplied by 60480):
49152κ6v3+239616κ6v2+353280κ6v+162816κ6+36864κ5v4+534528κ5v3+2244864κ5v2+3510912κ5v+1771392κ5+9216κ4v5+259200κ4v4+2282496κ4v3+8572704κ4v2+13849440κ4v+7404288κ4+768κ3v6+44352κ3v5+703872κ3v4+4895088κ3v3+16893264κ3v2+27219696κ3v+14998992κ3+2304κ2v6+75456κ2v5+916416κ2v4+5535072κ2v3+17548824κ2v2+26992356κ2v+15027708κ2+2112κv6+54864κv5+569124κv4+2994180κv3+8333862κv2+11627448κv+6593874κ+744v6+15210v5+121386v4+476015v3+984123v2+1147306v+812790
Case 1: β4, in the variables (κ,v) with s=v+1 (multiplied by 60480):
49152κ6v3+258048κ6v2+417792κ6v+211968κ6+36864κ5v4+552960κ5v3+2445312κ5v2+4088832κ5v+2210304κ5+9216κ4v5+264960κ4v4+2411520κ4v3+9412800κ4v2+15897024κ4v+8968320κ4+768κ3v6+44928κ3v5+731520κ3v4+5236320κ3v3+18572112κ3v2+30847872κ3v+17889360κ3+2304κ2v6+77184κ2v5+960480κ2v4+5920608κ2v3+19157088κ2v2+30398652κ2v+18051900κ2+2112κv6+55872κv5+586416κv4+3132360κv3+8994210κv2+13350660κv+8400426κ+696v6+14088v5+113040v4+463529v3+1089285v2+1600906v+1328382
Case 2: β0 (multiplied by 60480):
49152κ6s3+184320κ6s2+196608κ6s+46080κ6+36864κ5s4+479232κ5s3+1689600κ5s2+2039808κ5s+582144κ5+9216κ4s5+241920κ4s4+1913856κ4s3+6250560κ4s2+8114112κ4s+2944896κ4+768κ3s6+42624κ3s5+623232κ3s4+3887904κ3s3+11720976κ3s2+16040640κ3s+7616448κ3+2304κ2s6+70272κ2s5+765216κ2s4+4066080κ2s3+11531712κ2s2+17030724κ2s+10388052κ2+2112κs6+46656κs5+410064κs4+1963032κs3+5702838κs2+9554988κs+6878898κ+456s6+7224s5+58920s4+336431s3+1216563s2+2266246s+1637982
Case 2: β1 (multiplied by 60480):
49152κ6s3+202752κ6s2+242688κ6s+67584κ6+36864κ5s4+497664κ5s3+1867008κ5s2+2447232κ5s+824832κ5+9216κ4s5+247680κ4s4+2033664κ4s3+6940896κ4s2+9611808κ4s+4040256κ4+768κ3s6+43200κ3s5+649728κ3s4+4186512κ3s3+13112880κ3s2+19073040κ3s+10116384κ3+2304κ2s6+72000κ2s5+805824κ2s4+4428384κ2s3+13163016κ2s2+20640780κ2s+13396068κ2+2112κs6+47664κs5+435948κs4+2216220κs3+6841842κs2+11900088κs+8652474κ+408s6+7278s5+70098s4+437285s3+1586817s2+2882530s+2020302
Case 2: β2 (multiplied by 60480):
49152κ6s3+221184κ6s2+294912κ6s+98304κ6+36864κ5s4+516096κ5s3+2052096κ5s2+2913792κ5s+1158144κ5+9216κ4s5+253440κ4s4+2156544κ4s3+7685760κ4s2+11370816κ4s+5476864κ4+768κ3s6+43776κ3s5+676608κ3s4+4502976κ3s3+14687088κ3s2+22712480κ3s+13239872κ3+2304κ2s6+73728κ2s5+849024κ2s4+4843776κ2s3+15108816κ2s2+24971412κ2s+16961940κ2+2112κs6+48960κs5+470448κs4+2540720κs3+8228070κs2+14620164κs+10623474κ+384s6+8088s5+88540s4+568947s3+2017839s2+3544930s+2403702
Case 2: β3 (multiplied by 60480):
49152κ6s3+239616κ6s2+353280κ6s+141312κ6+36864κ5s4+534528κ5s3+2244864κ5s2+3446400κ5s+1599744κ5+9216κ4s5+259200κ4s4+2282496κ4s3+8492064κ4s2+13420320κ4s+7280064κ4+768κ3s6+44352κ3s5+703872κ3s4+4841328κ3s3+16464144κ3s2+26971248κ3s+16948896κ3+2304κ2s6+75456κ2s5+896256κ2s4+5320512κ2s3+17362488κ2s2+29917212κ2s+20935332κ2+2112κs6+50832κs5+515484κs4+2932068κs3+9796290κs2+17535072κs+12632490κ+408s6+9846s5+113622s4+719753s3+2461029s2+4166614s+2729862
Case 2: β4 (multiplied by 60480):
49152κ6s3+258048κ6s2+417792κ6s+196608κ6+36864κ5s4+552960κ5s3+2445312κ5s2+4042752κ5s+2138112κ5+9216κ4s5+264960κ4s4+2411520κ4s3+9355200κ4s2+15716544κ4s+9360000κ4+768κ3s6+44928κ3s5+731520κ3s4+5197920κ3s3+18391632κ3s2+31631232κ3s+20963520κ3+2304κ2s6+77184κ2s5+946080κ2s4+5830368κ2s3+19744608κ2s2+35009892κ2s+24880788κ2+2112κs6+52992κs5+563856κs4+3328200κs3+11299830κs2+20179548κs+14341266κ+456s6+11832s5+137520s4+847799s3+2796507s2+4571326s+2893806
Case 3: β0 (multiplied by 60480):
49152κ6s3+110592κ6s2+49152κ6s+3072κ6+36864κ5s4+405504κ5s3+1026048κ5s2+737280κ5s+53760κ5+9216κ4s5+218880κ4s4+1453056κ4s3+3788736κ4s2+3497664κ4s+369408κ4+768κ3s6+40320κ3s5+519552κ3s4+2784480κ3s3+7088208κ3s2+7223808κ3s+1269120κ3+2304κ2s6+63360κ2s5+612576κ2s4+2863968κ2s3+6709728κ2s2+6974148κ2s+2124468κ2+2112κs6+43200κs5+340944κs4+1325928κs3+2710374κs2+2965020κs+1639170κ+696s6+9816s5+51528s4+134399s3+249555s2+441334s+465102
Case 3: β1 (multiplied by 60480):
49152κ6s3+129024κ6s2+76800κ6s+6144κ6+36864κ5s4+423936κ5s3+1175808κ5s2+981120κ5s+99840κ5+9216κ4s5+224640κ4s4+1561344κ4s3+4308000κ4s2+4304640κ4s+638016κ4+768κ3s6+40896κ3s5+544608κ3s4+3031536κ3s3+7983864κ3s2+8603448κ3s+2010720κ3+2304κ2s6+65088κ2s5+648864κ2s4+3105696κ2s3+7502520κ2s2+8373228κ2s+3171468κ2+2112κs6+44208κs5+353388κs4+1411932κs3+3091344κs2+3827370κs+2372670κ+648s6+8922s5+47649s4+143849s3+354930s2+696334s+667602
Case 3: β2 (multiplied by 15120):
12288κ6s3+36864κ6s2+27648κ6s+3072κ6+9216κ5s4+110592κ5s3+333312κ5s2+316800κ5s+46080κ5+2304κ4s5+57600κ4s4+418176κ4s3+1216416κ4s2+1314816κ4s+268608κ4+192κ3s6+10368κ3s5+142512κ3s4+822000κ3s3+2243544κ3s2+2577240κ3s+777600κ3+576κ2s6+16704κ2s5+171216κ2s4+841152κ2s3+2112504κ2s2+2552232κ2s+1156392κ2+528κs6+11232κs5+91512κs4+381180κs3+905286κs2+1251030κs+835980κ+144s6+1986s5+11433s4+42686s3+129795s2+260896s+231588
Case 3: β3 (multiplied by 60480):
49152κ6s3+165888κ6s2+150528κ6s+24576κ6+36864κ5s4+460800κ5s3+1498368κ5s2+1602432κ5s+330240κ5+9216κ4s5+236160κ4s4+1787136κ4s3+5468640κ4s2+6405888κ4s+1750464κ4+768κ3s6+42048κ3s5+595872κ3s4+3557904κ3s3+10095720κ3s2+12453768κ3s+4687200κ3+2304κ2s6+68544κ2s5+722016κ2s4+3657120κ2s3+9624360κ2s2+12625788κ2s+6597468κ2+2112κs6+45648κs5+382884κs4+1686372κs3+4362684κs2+6587070κs+4607670κ+504s6+7278s5+48471s4+224909s3+762780s2+1506334s+1252602
Case 3: β4 (multiplied by 60480):
49152κ6s3+184320κ6s2+196608κ6s+46080κ6+36864κ5s4+479232κ5s3+1671168κ5s2+1993728κ5s+560640κ5+9216κ4s5+241920κ4s4+1904640κ4s3+6123840κ4s2+7788864κ4s+2737920κ4+768κ3s6+42624κ3s5+622080κ3s4+3845280κ3s3+11385072κ3s2+15151296κ3s+6860160κ3+2304κ2s6+70272κ2s5+761760κ2s4+3999648κ2s3+11097696κ2s2+15768348κ2s+9197868κ2+2112κs6+46656κs5+407856κs4+1918968κs3+5378874κs2+8668020κs+6218670κ+456s6+7320s5+58560s4+316169s3+1106205s2+2107834s+1657602
Case 4: β0 (multiplied by 60480):
49152κ6s3+258048κ6s2+417792κ6s+196608κ6+36864κ5s4+552960κ5s3+2463744κ5s2+4107264κ5s+2193408κ5+9216κ4s5+264960κ4s4+2420736κ4s3+9495744κ4s2+16190784κ4s+9820032κ4+768κ3s6+44928κ3s5+732672κ3s4+5242848κ3s3+18808560κ3s2+33004224κ3s+22382784κ3+2304κ2s6+77184κ2s5+949536κ2s4+5911392κ2s3+20369856κ2s2+36951228κ2s+26844024κ2+2112κs6+52992κs5+567984κs4+3405480κs3+11789898κs2+21449472κs+15456024κ+456s6+11928s5+141240s4+884657s3+2943888s2+4817647s+3029670
Case 4: β1 (multiplied by 60480):
49152κ6s3+276480κ6s2+482304κ6s+251904κ6+36864κ5s4+571392κ5s3+2668800κ5s2+4724352κ5s+2754816κ5+9216κ4s5+270720κ4s4+2552064κ4s3+10397472κ4s2+18642432κ4s+12074880κ4+768κ3s6+45504κ3s5+760608κ3s4+5611248κ3s3+20859720κ3s2+38111352κ3s+26911056κ3+2304κ2s6+78912κ2s5+1000224κ2s4+6444672κ2s3+22941768κ2s2+42672900κ2s+31510248κ2+2112κs6+55152κs5+617748κs4+3824316κs3+13442640κs2+24534198κs+17638092κ+504s6+13974s5+166293s4+1023527s3+3331581s2+5344369s+3304854
Case 4: β2 (multiplied by 15120):
12288κ6s3+73728κ6s2+138240κ6s+79872κ6+9216κ5s4+147456κ5s3+720384κ5s2+1352064κ5s+854784κ5+2304κ4s5+69120κ4s4+671616κ4s3+2839584κ4s2+5341056κ4s+3664512κ4+192κ3s6+11520κ3s5+197232κ3s4+1499568κ3s3+5768136κ3s2+10926552κ3s+7977744κ3+576κ2s6+20160κ2s5+263376κ2s4+1753056κ2s3+6418824κ2s2+12178968κ2s+9101328κ2+528κs6+14400κs5+167712κs4+1063404κs3+3771354κs2+6881070κs+4927572κ+144s6+4062s5+47685s4+286694s3+911109s2+1430482s+867888
Case 4: β3 (multiplied by 60480):
49152κ6s3+313344κ6s2+629760κ6s+399360κ6+36864κ5s4+608256κ5s3+3101952κ5s2+6156672κ5s+4181760κ5+9216κ4s5+282240κ4s4+2823936κ4s3+12373728κ4s2+24327936κ4s+17531520κ4+768κ3s6+46656κ3s5+817632κ3s4+6400272κ3s3+25409304κ3s2+49665288κ3s+37257264κ3+2304κ2s6+82368κ2s5+1107936κ2s4+7593024κ2s3+28458840κ2s2+54826452κ2s+41323080κ2+2112κs6+60048κs5+721884κs4+4653636κs3+16575252κs2+30169482κs+21503268κ+648s6+18210s5+209547s4+1229651s3+3815043s2+5854333s+3474198
Case 4: β4 (multiplied by 60480):
49152κ6s3+331776κ6s2+712704κ6s+491520κ6+36864κ5s4+626688κ5s3+3330048κ5s2+6967296κ5s+5038080κ5+9216κ4s5+288000κ4s4+2964480κ4s3+13439040κ4s2+27505344κ4s+20657280κ4+768κ3s6+47232κ3s5+846720κ3s4+6813600κ3s3+27832272κ3s2+55865088κ3s+42824640κ3+2304κ2s6+84096κ2s5+1162080κ2s4+8166048κ2s3+31180800κ2s2+60750948κ2s+46057416κ2+2112κs6+62208κs5+765456κs4+4984632κs3+17769174κs2+32219568κs+22847688κ+696s6+19320s5+217680s4+1247399s3+3775992s2+5645593s+3257226
(M. P. Saikia) Mathematical and Physical Sciences division, School of Arts & Sciences, Ahmedabad University, Navrangpura, Ahmedabad 380009, Gujarat, India
Email address: manjil.saikia@ahduni.edu.in