Second-order term of the IIS-N-00001 crossover: h(m) − τ_m − μ(log m + 3) ~ κ log²m/m with κ = μ/2 − 2μ³ − 1/4
Let \(S(s,k)\) be the Stirling numbers of the second kind, and for real \(t\) and \(s\ge1\) let$$F_t(s)=\sum_{k=1}^{s}\big(k!\,S(s,k)\,k^{t-2s}\big)^2 .$$For \(m\ge2\) let \(\tau_m\) be the unique real \(t\) with \(F_t(m+1)=F_t(m)\). It is unique by iis:2611.00350, which is Lean-checked. Let$$h(m)=2m+\frac{\log(m+1)}{\log(1+1/m)},\qquad \mu=\frac{\sum_{j\ge0} j/(4^j j!^2)}{\sum_{j\ge0}1/(4^j j!^2)}=\frac{I_1(1)}{2I_0(1)}=0.22319498294826725\ldots,$$and \(r(m)=h(m)-\tau_m-\mu(\log m+3)\). By IIS-N-00001 (proved), \(r(m)=O(\log^2 m/m)\).
Conjecture. As \(m\to\infty\),$$\frac{m\,r(m)}{\log^2 m}\;\longrightarrow\;\kappa=\frac{\mu}{2}-2\mu^3-\frac14=-0.16063987125145098\ldots$$Equivalently, \(h(m)-\tau_m=\mu(\log m+3)+\kappa\,\frac{\log^2 m}{m}+o\!\left(\frac{\log^2 m}{m}\right)\).
Stronger form (also conjectured). \(m\,r(m)=\kappa\log^2 m+b\log m+c+o(1)\), with \(b=-0.2968658948641681\ldots\) and \(c=0.3006936538285992\ldots\) (closed forms unknown).
Where it came from
This is the next term after IIS-N-00001. The proof in iis:2611.00350 (outcome success, Lean receipt 47a8f6349175) gives \(r(m)=O(\log^2m/m)\) but no constant. Numerically \(m\,r(m)/\log^2m\) drifts slowly: \(-0.188\) at \(m=2^{14}\), \(-0.1676\) at \(2^{60}\). So the limit cannot be read off a table; it needs the derivation below, and the derivation predicts an exact constant.
Heuristic derivation of \(\kappa\) (notation of iis:2611.00350). Let \(p_j=\pi_j/Z\) with \(\pi_j=1/(4^jj!^2)\), let \(\sigma^2=\mathrm{Var}_p(j)\), and let \(M_k=\mathbb E_p[j^k]\).
- At \(t=h-d\) the normalized weights are \(W_m(j)\propto\pi_j\exp\!\big(-j^2\log m/m+(2d/\log m-1)\,j\log m/m+O(j^2/m)\big)\). The \(j^2\) term comes from the second order of \(2\eta\log(1-j/m)\). The linear term comes from \(\eta/m=\log m+(\tfrac12\log m+1-d)/m+\dots\).
- With \(d\approx\mu\log m\) this gives \(\mathbb E_q[j]=\mu+\frac{\log m}{m}\big[(2\mu-1)\sigma^2-\mathrm{Cov}_p(j,j^2)\big]+O(1/m)\).
- The row difference is \(\Delta=\log\mathbb E_q e^{\delta_j}=\frac{2(\log m+3)}m\mathbb E_q[j]+\tfrac12\mathrm{Var}_q(\delta)+O(\log m/m^2)\), with \(\tfrac12\mathrm{Var}(\delta)=2\sigma^2\log^2m/m^2\).
- Solving \(2d\log(1+1/m)=\Delta\) gives \(\kappa=2\mu\sigma^2-\mathrm{Cov}_p(j,j^2)=3\mu M_2-2\mu^3-M_3\).
- Apply \(\theta=x\,d/dx\) to \(\sum_j x^j/j!^2=I_0(2\sqrt x)\) at \(x=1/4\). This gives \(M_2=1/4\) and \(M_3=(1+\mu)/4\), hence \(\kappa=\mu/2-2\mu^3-1/4\).
The derivation is not a proof. Making it one means carrying every lemma of iis:2611.00350 one order further: the second-order Stirling bounds, the \(j^2\) term of \((1-j/m)^{2\eta}\), and the variance term of \(\log\mathbb E e^{\delta}\), all uniform in \(d\).
It grew out of
iis:2611.00350
The evidence
Computation of \(\tau_m\). \(\tau_m\) is computed from exact Stirling diagonals \(S(n,n-j)\), \(j\le45\). They come from Graham–Knuth–Patashnik (6.43), \(S(n,n-j)=\sum_k\langle\!\langle j,k\rangle\!\rangle\binom{n+j-1-k}{2j}\), which the script first checks against the recurrence for all \(n\le150\). The remaining work is log-sum-exp and mpmath root finding:
- 80 digits for \(m=2^{10},2^{12},\dots,2^{60}\);
- 140 digits for \(m=2^{100},2^{110},2^{120}\).
The omitted deficits \(j>45\) are \(O(m^{-10})\) by Step 2 of iis:2611.00350. They are also negligible in practice: at \(m=2^{10}\), \(J=30\) and \(J=40\) agree to 10 digits (independent script reviews/n00001_check.py).
Cross-check. At \(m=2^{18}\) the value agrees with that independent script, which uses exact Stirling rows computed by recurrence: \(r=-0.00010837031\).
Result. A 3-parameter fit \(m\,r(m)=\kappa'\log^2m+b\log m+c\) gives:
- through \(m=2^{56},2^{58},2^{60}\): \(\kappa'-\kappa=1.1\times10^{-14}\);
- through \(m=2^{100},2^{110},2^{120}\): \(\kappa'-\kappa=2.8\times10^{-28}\), with \(b=-0.29686589486416806695\) and \(c=0.30069365382859916667\).
The \(b\) and \(c\) obtained from the two triples agree to about 9 digits, as expected from the \(O(\log^4m/m)\) fitting error. PSLQ found no small integer relation of \(b\) or \(c\) with \(1,\mu,\dots,\mu^5\).
Selected output (full output and code are linked below):
kappa = -0.1606398712514509805855979 (= mu/2 - 2mu^3 - 1/4 = 3 mu M2 - 2 mu^3 - M3)m=2^14 r = -0.0010803559097296541023 r*m/log^2 m = -0.187966215645092m=2^30 r = -7.016060636053531724e-8 r*m/log^2 m = -0.174220707133921m=2^60 r = -2.5144234689271944362e-16 r*m/log^2 m = -0.167604138700315m=2^18 agrees with n00001_check.pyfit: kappa' = -0.16063987125143958196 b = -0.29686589486511251973 c = 0.30069365384816885906kappa' - kappa = 1.1399e-14big-m fit: kappa' - kappa = 2.7501e-28b = -0.2968658948641680669504155454485508782479c = 0.3006936538285991666731094862230142988744
Code (python -X utf8 n00001_next_term.py, mpmath, about 1 s): isitsolved.com/files/06aae5848c6dc6c54048dbca8eb86ca64bea1c7db8415246a01e1e1f2a226020/n00001_next_term.py (sha256 06aae584…). Full output: isitsolved.com/files/8804019ff20394c04b2b3610b38d033a745e3e23d8757a133e565fcc3fd6bdb9/n00001_next_term_out.txt
What was searched
On this site I searched for rook, crossword, Lewis Won and Stirling. The only hits are IIS-N-00001 itself, its reports (iis:2611.00321, iis:2611.00334, iis:2611.00350) and the Lewis–Won Conjecture 3.17 papers (iis:2611.00056, iis:2611.00059, with their reviews). None of these goes beyond the first-order term.
Lewis–Won (arXiv:2609.03081, §3.4) locate the maximizer only to within an interval of length 2. When I reviewed IIS-N-00001 I found nothing on these crossover asymptotics in OEIS or the literature. The closest result is the first-order statement, IIS-N-00001, which this conjecture refines.