Generating key points…
Answers are grounded in this paper and cite their sources.
The modes of an over-Mahonian row are determined by rounding a rational centre, with an exact coefficient comparison for rows whose centre lies within a certified distance of a half-integer. A finite initial range is handled by binary search. The rule gives both the positions and the number of modes for every positive integer \(n\), answering the question posed by Kessouri, Ahmia and Mesbahi. Original question in Section 5, arXiv v2, PDF p. 38 A mode is an index at which the row attains its maximum. The original authors gave the product formula and established log-concavity. Write their row as \(A_k=iB'(n,k)=[q^k]P_n(q)\), where \([q^k]\) extracts the coefficient of \(q^k\) and \[P_n(q)=∏ⱼ₌₁ⁿF_j(q), F_1(q)=1, F_j(q)=1+2q+⋯+2qʲ⁻¹(j≥2). \] The positive support is \(0≤ k≤ d_n= n2\), and coefficients outside it are zero. For \(n≥2\), the row is strictly log-concave throughout this support, so \(A_k^2>Aₖ₋₁Aₖ₊₁\). The successive ratios therefore decrease strictly, which permits either one maximum or two equal adjacent maxima. Every mode lies at or below \(min( n^2/4,d_n)\). For \(n=1\), the mode set is \(\{0\}\). Normalising the coefficients by \(P_n(1)\) gives the distribution of a sum of independent variables \(X_j\), each with probability \(1/(2j-1)\) at zero and \(2/(2j-1)\) at each integer from \(1\) to \(j-1\). The mean \(μ\), variance \(V\) and third cumulant \(K\) of the sum are \[μ=n^2/4-14∑ⱼ₌₁^n1/2j-1, V=∑ⱼ₌₁^nj(j-1)(j^2-j+1)/3(2j-1)^2, K=-∑ⱼ₌₁^nj^2(j-1)^2/2(2j-1)^3. \] For \(n≥2\), set \(c=-K/(2V)\), \(a=μ+c\) and \(b= a\). The negative third cumulant shifts the rounding centre above the mean by \(c=9/(16n)+O(n⁻²)\). The decision rule uses the exact rational value of \(a\). For \(n≥512\) and \(V≥4n^2\), define \(R_4=4∑_s s^4\) and \(R_5=4∑_s s^3\), with both sums over \(s=n-1,n-3,…>0\). Set \(B_0=4\), \(B_r=4(2r-1)!!(3/2)^r\) for positive integers \(r\), where \((2r-1)!!=1·3⋯(2r-1)\), and \(h(x)=2- x\) for \(x≥0\). The error radius is \[{aligned} E_n={}&5|K|/6[R_4(B_4+3B_3)/V^3+h\!(V/24n^2)B_2+3B_1/V]\\ &+5[6B_2/V+(R_5+|K|/144)B_3/V^2+|K|^3B_5/324V^4]\\ &+60nVh\!(V/12n^2)+80V^2h(n/512). {aligned} \] For any integer \(k\) with \(|k+12-μ|≤2\), the sign of \(Aₖ₊₁-A_k\) agrees with the sign of \(a-k-12\) whenever \(|a-k-12|>E_n\). If \(E_n<1/4\), \(c≤1/2\) and \(1≤ b<d_n-1\), this confines every mode to \(\{b,b+1\}\). Put \(δ=a-b-12\). If \(δ>E_n\), the mode set is \(\{b+1\}\). If \(δ<-E_n\), it is \(\{b\}\). When \(|δ|≤ E_n\), compare \(A_b\) and \(Ab+1\) exactly. The larger coefficient gives the unique mode, and equality gives both modes. The radius is \(O(n⁻²)\), and the conditions for this two-candidate rule hold for all sufficiently large \(n\). Among rows up to \(N\) that meet those conditions, only \(O(log N)\) can fall inside the half-integer window and require a coefficient comparison. For an exact comparison, take integers \(L,U\) with \(0≤ L≤ U≤ d_n\) enclosing all modes. Use \(L=b, U=b+1\) in the half-integer window. If the conditions for the two-candidate rule fail, use \(L=0, U=min( n^2/4,d_n)\). Compute \[H=∏ⱼ₌₁ⁿ(2j-1), B=21+log_2 H, Q=[∏ⱼ₌₂ⁿ(1+2B^j-B/B-1)] BU+1, D_i=/B^i B(0≤ i≤ U). \] Here \(\) denotes the least non-negative residue. Each coefficient is at most \(H=P_n(1)<B\), so the base-\(B\) digit \(D_i\) is exactly \(A_i\). Intermediate products can be reduced modulo \(BU+1\). If \(L=U\), return \(\{L\}\). Otherwise, binary search for the first \(i\) from \(L\) to \(U-1\) with \(Dᵢ₊₁≤ D_i\), taking \(i=U\) if no such index exists. Return \(\{i,i+1\}\) if \(i<U\) and the digits are equal, and \(\{i\}\) otherwise. The size of this set gives the mode count. The search uses \(O(log(U-L+1))\) digit comparisons, and the integer encoding the digits can be large.
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: