Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Proving the sign pattern in a sum involving partition counting functions

Combinatorics

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

We have a function η(s,n,m)\eta(s,n,m)η(s,n,m) that counts the number of nondecreasing (or nonincreasing) partitions of sss with at most nnn parts, each of size at most mmm. The function can be defined by a recurrence relation:

η(s,n,m)={0if s>nm or s<01if s=nmη(s,n,m−1)+η(s−m,n−1,m)o.w.\eta(s,n,m)=\begin{cases} 0&\text{if }s>nm\text{ or }s<0\\ 1&\text{if }s=nm\\ \eta(s,n,m-1)+\eta(s-m,n-1,m)&\text{o.w.} \end{cases}η(s,n,m)=⎩⎨⎧​01η(s,n,m−1)+η(s−m,n−1,m)​if s>nm or s<0if s=nmo.w.​

I arrived at an expression given by

D=∑sL+sR=s−uc(sL−sR)η(sL,nL,uc)η(sR,nR,uc)D=\sum_{s_L+s_R=s-u_c}(s_L-s_R)\eta(s_L,n_L,u_c)\eta(s_R,n_R,u_c)D=sL​+sR​=s−uc​∑​(sL​−sR​)η(sL​,nL​,uc​)η(sR​,nR​,uc​)

where all variables are integers, 0<uc<s0<u_c<s0<uc​<s, and 0<nL,nR≤s−uc0<n_L,n_R\le s-u_c0<nL​,nR​≤s−uc​.

Here are some computed values of DDD for different values of nLn_LnL​ and nRn_RnR​ with s=10s=10s=10 and uc=3u_c=3uc​=3.

n_R    1    2    3    4    5    6    7 
n_L
1      0  -10  -41  -69  -91 -103 -110
2     10    0  -36  -68  -93 -105 -112
3     41   36    0  -33  -58  -70  -77
4     69   68   33    0  -25  -37  -44
5     91   93   58   25    0  -12  -19
6    103  105   70   37   12    0   -7
7    110  112   77   44   19    7    0

There is an antisymmetry such that D(nL,nR)=−D(nR,nL)D(n_L,n_R)=-D(n_R,n_L)D(nL​,nR​)=−D(nR​,nL​). Testing with different values seems to maintain a similar pattern.

Question. Is it true that

sgn⁡D=sgn⁡(nL−nR)? \operatorname{sgn}D=\operatorname{sgn}(n_L-n_R)?sgnD=sgn(nL​−nR​)?

I believe the relation is true based on intuition and empirical evidence, and I have made various attempts to prove it without much success. Any help would be greatly appreciated.

Below are some relations that may or may not help.

The generating function for η\etaη is given by the qqq-binomial coefficient.

∑s=0nmη(s,n,m)qs=(n+mn)q=(n+mm)q\sum^{nm}_{s=0}\eta(s,n,m)q^s = {n+m \choose n}_q = {n+m \choose m}_qs=0∑nm​η(s,n,m)qs=(nn+m​)q​=(mn+m​)q​

where

(n+mn)q=∏i=1n+m(1−qi)∏i=1n(1−qi)∏i=1m(1−qi)=∏i=1n1−qm+i1−qi=∏i=1m1−qn+i1−qi.{n+m \choose n}_q=\frac{\prod^{n+m}_{i=1}(1-q^i)}{\prod^{n}_{i=1}(1-q^i)\prod^{m}_{i=1}(1-q^i)}=\prod_{i=1}^{n}\frac{1-q^{m+i}}{1-q^{i}}=\prod_{i=1}^{m}\frac{1-q^{n+i}}{1-q^{i}}.(nn+m​)q​=∏i=1n​(1−qi)∏i=1m​(1−qi)∏i=1n+m​(1−qi)​=i=1∏n​1−qi1−qm+i​=i=1∏m​1−qi1−qn+i​.

Let

ΩL(q)=(nL+ucnL)q=∑sL≥0η(sL,nL,uc)qsL\Omega_L(q)=\binom{n_L+u_c}{n_L}_q=\sum_{s_L\ge0}\eta(s_L,n_L,u_c)q^{s_L}ΩL​(q)=(nL​nL​+uc​​)q​=sL​≥0∑​η(sL​,nL​,uc​)qsL​ ΩR(q)=(nR+ucnR)q=∑sR≥0η(sR,nR,uc)qsR.\Omega_R(q)=\binom{n_R+u_c}{n_R}_q=\sum_{s_R\ge0}\eta(s_R,n_R,u_c)q^{s_R}.ΩR​(q)=(nR​nR​+uc​​)q​=sR​≥0∑​η(sR​,nR​,uc​)qsR​.

It follows that

q(ΩL′(q)ΩR(q)−ΩR′(q)ΩL(q))=∑sL,sR≥0(sL−sR)η(sL,nL,uc)η(sR,nR,uc)qsL+sRq\left(\Omega_L'(q)\Omega_R(q)-\Omega_R'(q)\Omega_L(q)\right)=\sum_{s_L,s_R\ge0}(s_L-s_R)\eta(s_L,n_L,u_c)\eta(s_R,n_R,u_c)q^{s_L+s_R}q(ΩL′​(q)ΩR​(q)−ΩR′​(q)ΩL​(q))=sL​,sR​≥0∑​(sL​−sR​)η(sL​,nL​,uc​)η(sR​,nR​,uc​)qsL​+sR​

and

D=[qs−uc−1](ΩL′(q)ΩR(q)−ΩR′(q)ΩL(q)).D=\left[q^{s-u_c-1}\right]\left(\Omega_L'(q)\Omega_R(q)-\Omega_R'(q)\Omega_L(q)\right).D=[qs−uc​−1](ΩL′​(q)ΩR​(q)−ΩR′​(q)ΩL​(q)).

Taking the log-derivative

ddqln⁡ΩL(q)=∑i=1uc(iqi−11−qi−(nL+i)qnL+i−11−qnL+i),\frac{d}{dq} \ln\Omega_L(q) =\sum_{i=1}^{u_c}\left(\frac{iq^{i-1}}{1-q^i}-\frac{(n_L+i)q^{n_L+i-1}}{1-q^{n_L+i}}\right),dqd​lnΩL​(q)=i=1∑uc​​(1−qiiqi−1​−1−qnL​+i(nL​+i)qnL​+i−1​),

we have

ddq(ln⁡ΩL(q)−ln⁡ΩR(q))=∑i=1uc((nR+i)qnR+i−11−qnR+i−(nL+i)qnL+i−11−qnL+i),\frac{d}{dq}\left(\ln\Omega_L(q)-\ln\Omega_R(q)\right) =\sum_{i=1}^{u_c}\left(\frac{(n_R+i)q^{n_R+i-1}}{1-q^{n_R+i}}-\frac{(n_L+i)q^{n_L+i-1}}{1-q^{n_L+i}}\right),dqd​(lnΩL​(q)−lnΩR​(q))=i=1∑uc​​(1−qnR​+i(nR​+i)qnR​+i−1​−1−qnL​+i(nL​+i)qnL​+i−1​),

or we can also write

ddqln⁡ΩL(q)=∑i=1nL(iqi−11−qi−(uc+i)quc+i−11−quc+i),\frac{d}{dq} \ln\Omega_L(q)=\sum_{i=1}^{n_L}\left(\frac{iq^{i-1}}{1-q^i}-\frac{(u_c+i)q^{u_c+i-1}}{1-q^{u_c+i}}\right),dqd​lnΩL​(q)=i=1∑nL​​(1−qiiqi−1​−1−quc​+i(uc​+i)quc​+i−1​),

and

ddq(ln⁡ΩL(q)−ln⁡ΩR(q))=sgn⁡(nL−nR)∑i=min⁡(nL,nR)+1max⁡(nL,nR)(iqi−11−qi−(uc+i)quc+i−11−quc+i).\frac{d}{dq}\left(\ln\Omega_L(q)-\ln\Omega_R(q)\right)=\operatorname{sgn}(n_L-n_R)\sum_{i=\min(n_L,n_R)+1}^{\max(n_L,n_R)}\left(\frac{iq^{i-1}}{1-q^i}-\frac{(u_c+i)q^{u_c+i-1}}{1-q^{u_c+i}}\right).dqd​(lnΩL​(q)−lnΩR​(q))=sgn(nL​−nR​)i=min(nL​,nR​)+1∑max(nL​,nR​)​(1−qiiqi−1​−1−quc​+i(uc​+i)quc​+i−1​).

Since

ΩL′(q)ΩR(q)−ΩR′(q)ΩL(q)=ΩL(q)ΩR(q)(ddq(ln⁡ΩL(q)−ln⁡ΩR(q))),\Omega_L'(q)\Omega_R(q)-\Omega_R'(q)\Omega_L(q)=\Omega_L(q)\Omega_R(q)\left(\frac{d}{dq}\left(\ln\Omega_L(q)-\ln\Omega_R(q)\right)\right),ΩL′​(q)ΩR​(q)−ΩR′​(q)ΩL​(q)=ΩL​(q)ΩR​(q)(dqd​(lnΩL​(q)−lnΩR​(q))),

an alternative expression for DDD is

D=[qs−uc−1]ΩL(q)ΩR(q)∑i=1uc((nR+i)qnR+i−11−qnR+i−(nL+i)qnL+i−11−qnL+i),D=\left[q^{s-u_c-1}\right]\Omega_L(q)\Omega_R(q)\sum_{i=1}^{u_c}\left(\frac{(n_R+i)q^{n_R+i-1}}{1-q^{n_R+i}}-\frac{(n_L+i)q^{n_L+i-1}}{1-q^{n_L+i}}\right),D=[qs−uc​−1]ΩL​(q)ΩR​(q)i=1∑uc​​(1−qnR​+i(nR​+i)qnR​+i−1​−1−qnL​+i(nL​+i)qnL​+i−1​),

or also

D=[qs−uc−1]sgn⁡(nL−nR)ΩL(q)ΩR(q)∑i=min⁡(nL,nR)+1max⁡(nL,nR)(iqi−11−qi−(uc+i)quc+i−11−quc+i).D=\left[q^{s-u_c-1}\right]\operatorname{sgn}(n_L-n_R)\Omega_L(q)\Omega_R(q)\sum_{i=\min(n_L,n_R)+1}^{\max(n_L,n_R)}\left(\frac{iq^{i-1}}{1-q^i}-\frac{(u_c+i)q^{u_c+i-1}}{1-q^{u_c+i}}\right).D=[qs−uc​−1]sgn(nL​−nR​)ΩL​(q)ΩR​(q)i=min(nL​,nR​)+1∑max(nL​,nR​)​(1−qiiqi−1​−1−quc​+i(uc​+i)quc​+i−1​).

But I'm not sure if it actually helps or merely restates the problem in a more complicated form.

Another way to write DDD is by pairing:

D=12∑sL+sR=s−uc(sL−sR)(η(sL,nL,uc)η(sR,nR,uc)−η(sR,nL,uc)η(sL,nR,uc))=∑sL+sR=s−ucsL>sR(sL−sR)(η(sL,nL,uc)η(sR,nR,uc)−η(sR,nL,uc)η(sL,nR,uc)).\begin{split} D&=\frac12\sum_{s_L+s_R=s-u_c}(s_L-s_R)(\eta(s_L,n_L,u_c)\eta(s_R,n_R,u_c)-\eta(s_R,n_L,u_c)\eta(s_L,n_R,u_c))\\ &=\sum_{{s_L+s_R=s-u_c\atop s_L>s_R}}(s_L-s_R)(\eta(s_L,n_L,u_c)\eta(s_R,n_R,u_c)-\eta(s_R,n_L,u_c)\eta(s_L,n_R,u_c)). \end{split}D​=21​sL​+sR​=s−uc​∑​(sL​−sR​)(η(sL​,nL​,uc​)η(sR​,nR​,uc​)−η(sR​,nL​,uc​)η(sL​,nR​,uc​))=sL​>sR​sL​+sR​=s−uc​​∑​(sL​−sR​)(η(sL​,nL​,uc​)η(sR​,nR​,uc​)−η(sR​,nL​,uc​)η(sL​,nR​,uc​)).​

Now that sL−sR>0s_L-s_R>0sL​−sR​>0, if the η…−η…\eta\ldots-\eta\ldotsη…−η… part is always nonnegative or nonpositive, we can deduce the sign of DDD. Unfortunately, there are some rare counterexamples in which the sign of the η…−η…\eta\ldots-\eta\ldotsη…−η… part flips. When nL=4n_L=4nL​=4, nR=5n_R=5nR​=5, uc=3u_c=3uc​=3, and s−uc=11s-u_c=11s−uc​=11, every η…−η…\eta\ldots-\eta\ldotsη…−η… is nonpositive (aligning with nL−nR<0n_L-n_R<0nL​−nR​<0) except for the one that sL=5s_L=5sL​=5 and sR=6s_R=6sR​=6.

Below is a link to the python code used to generate the table of DDD values:

https://www.online-python.com/mGSR8seIzE

Statement and context adapted from MathOverflow · xiver77

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : co.combinatorics · inequalities · enumerative-combinatorics · partitions · generating-functions

Authors listed by the source : xiver77

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : January 24, 2025

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni