\section{Sharp major arcs with the modulus-three weights}\label{sec:arcs} Put \(D_N(\beta)=\sum_{n=1}^N e(n\beta)\). At a reduced fraction \(a/q\) define \[ B(a/q)=\frac1{\varphi(k)}\sum_{r\bmod k}^* W(r)e(ar/q), \quad k=\lcm(q,3),\qquad J_W(a/q+\beta)=B(a/q)D_N(\beta). \] A star restricts to units. Write \(G(y)=\sum_{d\le y}\mu^2(d)/\varphi(d)\). Grouping \(1/n\) by its radical gives \(G(y)\ge\log y\). Conversely \(n/\varphi(n)=\sum_{d\mid n}\mu^2(d)/\varphi(d)\), and \(\prod_p(1+1/[p(p-1)])\le\mathrm e\) gives \(G(y)\le3(1+\log y)\), for \(y\ge1\). \paragraph{From the explicit formula to a sharp cutoff.} For the weight \(v(x)=xe^{-x}\), every character modulo \(q\), and all \(B\in\mathbb R\), we claim \begin{equation}\label{eq:smooth} \left|\sum_n\Lambda(n)\chi(n)v(n/N)e(nB/N) -\delta_\chi N(1-2\pi iB)^{-2}\right| \le10^5\sqrt N(1+|B|)^{1/2}\log(256q(2+|B|)). \end{equation} Set \(d=\min(1,\delta)\) in \eqref{eq:kc}, so \(d^{-1}\le1+2\pi|B|\). The identity \(|\Gamma(1/2+iy)|^2=\pi/\cosh(\pi y)\) and the recurrence give \(|\Gamma(3/2+iy)|\le\sqrt{2\pi}(1+|y|)e^{-\pi |y|/2}\). Group ordinates in unit intervals of each sign and use \eqref{eq:zeros}. The zero contribution is at most \[ 80\sqrt{2\pi N}\,d^{3/2} \sum_{k\ge0}(k+2)e^{-dk}\log(8q(k+3)). \] Here \(|z|^{-1/2}\sin\delta=\sqrt N(\sin\delta)^{3/2}\). Use \(\log(8q(k+3))\le\log(32q/d)+dk\). The sums of \(1,k,k^2\) against \(e^{-dk}\) are at most \(2/d,4/d^2,16/d^3\). The displayed sum without its prefactor is bounded by \(32d^{-2}\log(32q/d)\). For the remainder of \eqref{eq:kc}, Jensen's inequality on the exponential density gives \(1+2N^{-1/2}d^{-1/2}(d_\chi+\log(3+1/d))\). Adding the primitive replacement from \S\ref{sec:inputs} proves \eqref{eq:smooth}. Put \(\Delta=t^{-8}\). Convolve \(\ind_{[3\Delta/2,1-\Delta/2]}\) with four probability boxes centered at zero of width \(\Delta/4\), obtaining \(h\). It is supported on \([\Delta,1]\) and equals one on \([2\Delta,1-\Delta]\). Put \(k(x)=h(x)e^x/x\) there and zero elsewhere. For the Fourier transform with kernel \(e(-ux)\), \(|\widehat k(u)|\le10^6t^{32}(1+|u|)^{-3}\). In fact \(\|h^{(j)}\|_1\le(8/\Delta)^j\) for \(j\le3\) by differences of boxes, and \(|(e^x/x)^{(i)}|\le3\mathrm e\, i!\Delta^{-i-1}\) for \(i\le3\). Use the \(L^1\) bound for \(|u|\le1\) and integrate by parts three times otherwise. Fourier inversion against \eqref{eq:smooth} replaces the pole by exactly \(I_h(\beta)=N\int h(s)e(N\beta s)\dd s\), since \(N(1-2\pi i B)^{-2}\) is the transform of the continuous weight. When \(|B|=|N\beta|\le N,\ q\le\sqrt N\), use \(1+|B+u|\le(1+|B|)(1+|u|)\) and bound the logarithm by \(3t+\log(2+|u|)\). Its integral against \((1+|u|)^{-5/2}\) is at most \(10t\). Thus for \(F_{h,\chi}=\sum\Lambda(n)\chi(n)h(n/N)e(n\beta)\) the remainder has size \[ |F_{h,\chi}-\delta_\chi I_h|\le \tfrac12 t^{40}\sqrt{N(1+N|\beta|)}. \] The prefactor before absorption is \(10^{12}t^{33}\). \paragraph{Orthogonality after translation.} First take an unweighted additive sum at a reduced \(b/d+\beta\). On units modulo \(d\), expand \(e(nb/d)\) in characters. The principal pole is \(\mu(d)I_h/\varphi(d)\). If \(R_\chi\) denotes the preceding remainder (with character conjugated as necessary), its error over reduced numerators has square norm \[ \sum_{b\bmod d}^* \left|\frac1{\varphi(d)}\sum_\chi\overline{\chi(b)}\tau(\chi)R_\chi\right|^2 =\frac1{\varphi(d)}\sum_\chi|\tau(\chi)|^2|R_\chi|^2 \le d\max_\chi|R_\chi|^2 . \] Indeed \(\sum_{\chi\bmod d}|\tau(\chi)|^2=\varphi(d)^2\) by Parseval on the unit group. Prime powers supported on \(p\mid d\) must be restored to the additive sum. For each \(b\) they contribute at most \(t\log d/\log2\), since each prime contributes total weight at most \(t\). Their vector norm is at most \(\sqrt d\,t\log d/\log2\), which fits the other half of \(\sqrt d\,t^{40}\sqrt{N(1+N|\beta|)}\). This also works at \(d=1\), where that correction vanishes. For \(W(n)=\sum_{j=0}^2\widehat W_j e(jn/3)\) each coefficient has absolute value at most \(2/3\), so their absolute sum is \(<4\). Fix \(j,q,\beta\). As \(a\) runs over the units, the rational parts \(a/q+j/3\) are distinct on \(\T\). For \(j=0\) the denominator is \(q\). For \(j=1,2\), if \(3\nmid q\) it is \(3q\). If \(q=3q_1\) with \(3\nmid q_1\), the numerator at denominator \(q\) is \(a+jq_1\). Cancellation gives \(q/3\) exactly when \(3\mid a+jq_1\), and otherwise \(q\). If \(9\mid q\), that numerator is a unit at \(3\) and the denominator stays \(q\). No prime away from \(3\) cancels. Thus each group at denominator \(d\) is a subset of the full reduced numerators at \(d\), including \(0/1\) when it occurs. Sum its squared error using the preceding estimate, then sum the \emph{distinct} denominators, at most \(5q\) in total and each at most \(3P<\sqrt N\). The weighted sum of the principal coefficients is \(B(a/q)\) because averages over units at \(\lcm(q,3)\) project uniformly to units at \(d\). By the triangle inequality for the numerator vectors the squared error for \(W\) is at most \(80q\, t^{80}N(1+N|\beta|)\). Integrate over \(|\beta|\le1/(qQ)\) and sum \(q\le P\). The resulting squared norm is at most \(320Nt^{-39}\), since \[ t^{80}\{2P/Q+N(1+\log P)/Q^2\}\le4t^{-39}. \] This keeps the integration width of the original arc even when the translated denominator drops by three. \paragraph{Unit averages and completion.} By the Chinese remainder theorem the nonzero coefficients are at \(b/d+s/3\) with \((d,3)=1,\ d\) squarefree, \((b,d)=1,\ s=0,1,2\). They equal \(\mu(d)B_s/\varphi(d)\), where \[ B_0=1,\quad B_1=(-1+i\sqrt3\,\kappa)/2,\quad B_2=\overline{B_1}. \] Indeed the unit average at \(d\) is a Ramanujan sum. When \(9\mid q\), summing over lifts in the \(3\)-part vanishes. Consequently \(\sum_{q\le P,a}^*|B(a/q)|^2\le2G(P)\). Returning from \(h\) to the sharp sum by circle Parseval costs at most \(4\sqrt N/t^3\) in norm (at most \(3\Delta N+3\) end-strip integers, weight at most \(6t/5\)). For \(I_1=N\int_0^1 e(N\beta s)\dd s\), real-line Plancherel gives \(\int_{\mathbb R}|I_h-I_1|^2\le3N\Delta\). The geometric formula gives \(|I_1-D_N|\le2\) on \(|\beta|\le1/2\), by \(|e^{iy}-1-iy e^{iy}|\le y^2/2,\ |e^{iy}-1|\ge2|y|/\pi\) for \(|y|\le\pi\). Multiplying the last two norm costs by \(\sqrt{2G(P)}\), and using \(\|D_N\|_{2,\T}=\sqrt N\), yields \begin{equation}\label{eq:sharp} \|S_W-J_W\|_{2,\M}\le100\sqrt N/t^3,\qquad \|J_W\|_{2,\M}\le\sqrt{2NG(P)} . \end{equation} Use \(S_W^2\) for a sum and \(|S_W|^2\) for a difference. For nonzero even \(j\) put \(f(j)=\prod_{p>3,\,p\mid j}(p-1)/(p-2)\). For all sum targets \(|j-N|\le4\cdot2^\ell\) and all nonzero differences \(|j|\le 2^\ell\), the major-arc Fourier coefficient in units \(N\) differs from \(2\Ctw\lambda_\pm(j)f(j)\) by less than \(10^{-7}\). Indeed the local sum over \(s\) of \(B_s^2e(-js/3)\) is \(3\lambda_+(j)/4\), and for \(|B_s|^2\) it is \(3\lambda_-(j)/4\), by orthogonality at three. Away from three the Euler factors are \(1+c_p(j)/(p-1)^2\), with \(c_p\) the Ramanujan sum. Since \(j\) is even their product is \((8/3)\Ctw f(j)\). Here are the four errors, each divided by \(N\). Substitution in either product costs \((100/t^3)(2\sqrt{6V}+100/t^3)\) by \eqref{eq:sharp}. Extending the local \(\beta\) integrals to a full period costs \((Q/N)\sum q|B(a/q)|^2\le20Vt^{-20}\), using \(|D_N|\le1/(2\|\beta\|)\). To complete the series, each \(s\)-component includes all \(d\le P/3\). Since \(|c_d(j)|\le(d,j)\) for squarefree \(d\) and \(d/\varphi(d)\le6d^{1/8}\) (separate primes \(<17\)), its absolute tail above \(R\) is bounded by \[ 36\sum_{d>R}(d,j)d^{-7/4}\le108\,\tau(|j|)R^{-3/4}. \] Expand \((d,j)=\sum_{l\mid d,j}\varphi(l)\) and use \(\sum_{m>u}m^{-7/4}\le3\max(1,u)^{-3/4}\). The inequality \(\tau(n)\le40^6 n^{1/4}\) follows by separating the six primes below 17, using \((1-2^{-1/4})^{-2}<40\), and \(2\le p^{1/4}\) thereafter. With \(R=P/3,\ |j|\le2N\), the cost including all \(s\) is \(\le10^{13}e^{-t/8}t^{60}\). Finally the full archimedean coefficient is \(N-|j|\) for a difference and \(N-|j-(N+1)|\) for a sum. Its discrepancy from \(N\) is \(\le4\cdot2^\ell+1\). The product estimate \eqref{eq:product} below gives \(2\Ctw\lambda_\pm f(j)\le30\log t\). Thus the total satisfies \begin{equation}\label{eq:arcerror} \frac{100}{t^3}\big(2\sqrt{6V}+100/t^3\big)+20Vt^{-20} +10^{13}e^{-t/8}t^{60}+30\log t\,(4e^{-\sqrt{t\log2}}+e^{-t})<10^{-7}. \end{equation} At zero difference retain \(d\le P/3\) prime to three and all \(s\). Their squared mass is \(\tfrac32(1+\kappa^2)\sum_{d\le P/3,(d,3)=1}\mu^2(d)/\varphi(d)\). Inserting the prime 3 in \(G\) increases the restricted sum by at most \(3/2\). Using the first two errors of \eqref{eq:arcerror} gives \begin{equation}\label{eq:majorzero} N^{-1}\int_{\M}|S_W|^2\dd\alpha\ge(1+\kappa^2)\log(P/3)-10^{-7}. \end{equation}