\section{The size of the denominator}\label{sec:size} From now on $0<\lambda\le1$ is fixed and $M=\lfloor\lambda K\rfloor$. We show that $\sum_d\eu(d)\Eb(d)\le C(\lambda)K^3+O(K^2\log^2K)$ and compute $C(\frac78)$. \subsection{The weights} Let $w_A\colon(0,3]\to\RR$ and $w_B\colon(0,\infty)\to\RR$ be the continuous functions defined as follows. \begin{itemize} \item On each interval $[\frac1{m+1},\frac1m]$ with $m\ge3$, $w_A$ and $w_B$ are affine, with the node values $w_A(\frac1m)=c_A(m)/m$ and $w_B(\frac1m)=c_B(m)/m$. \item On $[\frac13,3]$: \[ w_A(x)=\begin{cases}2,&\frac13\le x\le\frac37,\\ 3-\frac73x,&\frac37\le x\le\frac12,\\ 2-\frac x3,&\frac12\le x\le\frac34,\\ 3-\frac53x,&\frac34\le x\le1,\\ 2-\frac23x,&1\le x\le3;\end{cases} \] $w_B$ is affine on $[\frac13,\frac12]$ from $\frac13$ to $0$, and $w_B=0$ on $[\frac12,\infty)$. \end{itemize} Here $c_A(m)=(m+2)^2/4$ for even $m$ and $(m+1)(m+3)/4$ for odd $m$, and $c_B(m)=\lfloor(m-1)^2/4\rfloor$. The pieces match at $\frac13$ (where $c_A(3)/3=2$, $c_B(3)/3=\frac13$), $\frac37$, $\frac12$, $\frac34$, $1$, and $w_A(3)=0$. \begin{lemma}\label{lem:weights} \textup{(i)} If $3\nmid d$ and $d\le3M$, then $|\Eb(d)-M\,w_A(d/M)|\le2$; if $3\nmid d$ and $d>3M$, then $\Eb(d)=0$. \textup{(ii)} For every $e\ge1$, $W_B(e)=M\,w_B(e/M)$. \end{lemma} \begin{proof} Let $x=d/M$ (case A) or $x=e/M$ (case B) and $k=\lfloor1/x\rfloor$, $r=M-kd$ (resp.\ $M-ke$) for $x\le1$. The clusters $I_\ell$ with $\ell\le r$ have $k+1$ elements and the others have $k$. \emph{No exceptions.} In case B, and in case A when $k\ge3$ (then the exception rows do not matter), the bound is $r\,c(k+1)+(d-r)\,c(k)$ with $c=c_B$ resp.\ $c_A$ (in case B with $e$ in place of $d$, here and below). Since $M\bigl[(1-kx)c(k+1)+((k+1)x-1)c(k)\bigr]=r\,c(k+1)+(d-r)\,c(k)$ and the left side is $M$ times the affine interpolation of the node values, this is exactly $M\,w(x)$. For case B with $x>\frac12$ all clusters have at most two elements and $W_B=0$; for $x\ge1$ there are no collisions. \emph{Case A, $\frac12r=M-2d$) lose $1$ if $\ell3M$. \end{proof} \begin{lemma}\label{lem:wprops} There is an absolute constant $A_1$ with $0\le w_A(x)\le A_1/x$ and $0\le w_B(x)\le A_1/x$; the total variation of $w_A$ on $[x,3]$ and of $w_B$ on $[x,1]$ is at most $A_1/x$, for $00$ and let $\mathcal F\colon(0,X_0]\to\RR$ be continuous, with $|\mathcal F(x)|\le A_1/x$ and total variation at most $A_1/x$ on $[x,X_0]$. Then for $M\ge2$ \[ \sum_{1\le n\le X_0M}\alpha(n)\,\mathcal F(n/M)=2\varkappa M^2\int_0^{X_0}\mathcal F(x)\,x\,dx+O(M\log^2M), \] the implied constant depending only on $\varkappa$, $A_0$, $A_1$, $X_0$. \end{lemma} \begin{proof} Riemann--Stieltjes integration by parts, as in \cite{KriB}: with $f(u)=\mathcal F(u/M)$ and $Y=X_0M$, \[ \sum_{n\le Y}\alpha(n)f(n)=f(Y)E(Y)+\varkappa f(1)+2\varkappa\int_1^Yf(u)\,u\,du-\int_1^YE(u)\,df(u), \] and the last integral is $O(M\log^2M)$ by splitting $[1,Y]$ into dyadic intervals. \end{proof} \subsection{The constant} Put \begin{gather*} I_A=\int_0^3x\,w_A(x)\,dx,\qquad I_B=\int_0^1x\,w_B(x)\,dx,\\ C(\lambda)=\lambda^3\bigl(2aI_A+18\beta I_B\bigr)+3\beta(2-\lambda)^3 . \end{gather*} \begin{lemma}\label{lem:const} We have $\sum_{d\ge1}\eu(d)\Eb(d)\le C(\lambda)K^3+O(K^2\log^2K)$ and $\sum_{d\ge1}\Eb(d)=O(K^2\log K)$. \end{lemma} \begin{proof} \emph{Case A.} By Lemma~\ref{lem:weights}(i), Lemma~\ref{lem:partial} with $\alpha(n)=\eu(n)[3\nmid n]$, $\varkappa=a$, $X_0=3$, $\mathcal F=w_A$ (Lemma~\ref{lem:wprops}), and Lemma~\ref{lem:totient}, \begin{align*} \sum_{3\nmid d}\eu(d)\Eb(d)&\le M\sum_{3\nmid d\le3M}\eu(d)w_A(d/M)+2\mathcal A(3M)\\ &=2aI_AM^3+O(M^2\log^2M). \end{align*} \emph{Case B, clusters.} By Lemma~\ref{lem:weights}(ii) and Lemma~\ref{lem:partial} with $\alpha(n)=\eu(3n)$, $\varkappa=9\beta$, $X_0=1$, $\mathcal F=w_B$: $\sum_e\eu(3e)W_B(e)=18\beta I_BM^3+O(M^2\log^2M)$. \emph{Case B, rank part.} With $L=2K-M-1$, $\sum_e\eu(3e)(L-e)_+=\int_0^L\tilde{\mathcal B}(t)\,dt=3\beta L^3+ O(L^2\log L)$. Since $M^3=\lambda^3K^3+O(K^2)$ and $L^3=(2-\lambda)^3K^3+O(K^2)$, the three parts add up to the first claim. For the second: by Lemmas~\ref{lem:weights} and~\ref{lem:wprops}, $\Eb(d)\le A_1M^2/d+2$ in case A and $\Eb(3e)\le A_1M^2/e+2K$ in case B, and $\Eb(d)=0$ for $d>6K$. \end{proof} \begin{proposition}\label{prop:size} \textup{(i)} $C(\frac78)\le1.3412884<\frac14+\frac32\bigl(\frac78\bigr)^2=1.3984375$. \textup{(ii)} $\log C_K(b)\le\bigl(C(\lambda)+o(1)\bigr)K^3\log b$ as $K\to\infty$, uniformly in $b\ge2$, where $C_K(b)=\prod_d\Phi_d(b)^{\Eb(d)}$. \end{proposition} \begin{proof} (i) $C(\lambda)=\pi^{-2}\bigl[\lambda^3(\frac92I_A+\frac{27}2I_B)+\frac94(2-\lambda)^3\bigr]$, with $I_A,I_B>0$. On $[\frac13,3]$ the integrands are explicit polynomials, and on each interval $[\frac1{m+1},\frac1m]$ the integral of the affine function times $x$ is $\frac{z-y}6\bigl((2y+z)w(y)+(y+2z)w(z)\bigr)$ with $y=\frac1{m+1}$, $z=\frac1m$. We computed these exactly in rational arithmetic for $3\le m\le4000$. On $(0,\frac1{4001}]$ the integrands are nonnegative and bounded by $\frac14(1+\frac4{4001})^2$ (case A) and $\frac14$ (case B): on $[\frac1{m+1},\frac1m]$ we have $x\le\frac1m$, and the affine function is at most the larger node value, which is $\le(m+3)^2/(4m)$, resp.\ $\le m/4$, since $c_A(m)\le(m+2)^2/4$ and $c_B(m+1)\le m^2/4$. This gives \[ 3.12285866\le I_A\le3.12292128,\qquad 0.06847645\le I_B\le0.06853894, \] and, with $\pi^2>9.8696044$ and the exact rational values of the partial sums, $C(\frac78)\le1.34128835$. (Script \texttt{constant\_\allowbreak cert.py}. Two further independent evaluations, with different groupings of the series and different tail estimates, gave the upper bounds $1.3412884$ and $1.34128832$.) (ii) For $d\ge2$, $\Phi_d(b)=b^{\eu(d)}\prod_{c\mid d}(1-b^{-c})^{\mu(d/c)}$, so $\log\Phi_d(b)\le\eu(d)\log b+C_0$ with $C_0=\sum_{c\ge1}|\log(1-2^{-c})|<1.25$; and $\log\Phi_1(b)<\log b$. By Lemma~\ref{lem:const}, \begin{align*} \log C_K(b)&\le\log b\sum_d\eu(d)\Eb(d)+C_0\sum_d\Eb(d)\\ &\le C(\lambda)K^3\log b+O(K^2\log^2K\cdot\log b).\qedhere \end{align*} \end{proof} \begin{remark}[Closed form]\label{rem:closed} Summing the two series over $m$ in closed form with computer algebra gives $I_A=\frac{\pi^2}{48}+\frac{13723}{4704}$ and $I_B=\frac{\pi^2}{144}$, hence \eqref{eq:Cclosed}. Its pieces are $10/\pi^2$ from $x\ge1$ (no colliding poles), $\frac3{32}+\frac{9809}{3136\pi^2}$ from $x<1$ in case A, $\frac3{32}$ from the clusters of case B, and $\frac9{4\pi^2}(2-\lambda)^3$ from the rank part. The $\lambda^3$-coefficient $\frac3{16}+\frac{41169}{3136\pi^2}= 1.5176313167638\ldots$ was obtained independently by a hand derivation and by symbolic summation, which agree to $138$ digits. The resulting value $C(\frac78)=1.34128830687\ldots$ lies in the certified enclosure $[1.3412119,1.34128835]$ of~(i). We do not use the closed form. Direct summation of $\sum_d\eu(d)\Eb(d)/K^3$ with $M=\lfloor7K/8\rfloor$ gives $1.341929$, $1.341608$, $1.341449$, $1.341368$, $1.341328$, $1.341308$, $1.341298$ for $K=1000\cdot2^j$, $j=0,\dots,6$, decreasing towards $C(\frac78)=1.341288\ldots$. [Numerical] \end{remark} \begin{center} \small \begin{tabular}{cccc} \toprule $\lambda$ & $C(\lambda)$ & $\frac14+\frac32\lambda^2$ & $C(\lambda)-\frac14-\frac32\lambda^2$\\ \midrule $1$ & $1.74560$ & $1.75000$ & $-0.00440$\\ $9/10$ & $1.40978$ & $1.46500$ & $-0.05522$\\ $7/8$ & $1.34129$ & $1.39844$ & $-0.05715$\\ $5/6$ & $1.24027$ & $1.29167$ & $-0.05140$\\ \bottomrule \end{tabular} \end{center} The margin $C(\lambda)-\frac14-\frac32\lambda^2$ is minimal at $\lambda\approx0.8757$, where it equals $-0.057151$.