# Route 107 (job 2669): exact spectral form of the twin-pair singular-series defect Notation. A = 2C_2. F(h) = S_4(h)/A^2 for the 4-tuple {0,2,h,h+2}, so F(h) = prod_p f_p(h) with f_2(h) = 2*1[2|h] and, for odd p, f_p(h) = (1 - nu_p(h)/p)/(1 - 2/p)^2, where nu_p(h) = #{0,2,h,h+2} mod p. F(+-2) = 0 (p = 3) and h = 0 is excluded (F(0) diverges). The defect is standardized as in #1317: D(H) = A^2 H^2 - A^2 sum_{0<|h|= 0). ## Lemma 1 (local Fourier coefficients; proven, checked in check2669.py part A) Let w_p = f_p - 1. For every prime p and every h, w_p(h) = sum_{b != 0 mod p} |tau_p(b)|^2 e(hb/p), tau_2 = 1, tau_p(b) = (1 + e(2b/p))/(p-2) (p odd). Proof (odd p). f_p equals g_p = (1-4/p)/(1-2/p)^2 off the classes h = 0, +-2, and exceeds it by (2/p)/(1-2/p)^2 at h = 0 and by (1/p)/(1-2/p)^2 at h = +-2. The mean of f_p over h mod p is 1 (direct sum: (p-2)^2/p divided by p(1-2/p)^2). So the b-th coefficient (b != 0) is p^{-2}(1-2/p)^{-2}(2 + 2cos(4 pi b/p)) = |1+e(2b/p)|^2/(p-2)^2. p = 2: w_2(h) = (-1)^h. Consequences: sigma_p := w_p(0) = sum_b |tau_p(b)|^2 = 2/(p-2) (p odd), sigma_2 = 1. Equivalent Ramanujan-sum form: w_p(h) = (2 c_p(h) + c_p(h+2) + c_p(h-2))/(p-2)^2. ## Lemma 2 (truncated identity; proven, checked in part B) For squarefree r put w_r = prod_{p|r} w_p and tau(b/r) = prod_{p|r} tau_p(b * inverse(r/p) mod p) (CRT), sigma(r) = prod_{p|r} sigma_p. For P(y) = prod_{p<=y} p and F_y = prod_{p<=y} f_p: sum_{|h|oo} sum_{1= 3. The h-sum is finite, so D = lim_y D_y. This is the Montgomery-Soundararajan shape (their weights mu^2(q)/phi(q)^2 become the b-dependent weights |tau(b/r)|^2 = prod 4cos^2(2 pi b_p/p)/(p-2)^2), with every weight nonnegative. ## Theorem B (split at level R; exact) For every R >= 2, with T_R(h) = F(h) - sum_{r<=R} w_r(h) (the tail of the absolutely convergent expansion for h != 0, +-2), D(H)/(A^2 H) = (I) - (II) + (III), (I) = sum_{r<=R} sigma(r), (II) = sum_{1= 0, (III) = -(2/H) sum_{0 R part of Theorem A equals (III) because sum_b |tau(b/r)|^2 F_H(b/r) = (1/H) sum_{|h| -1/2 because (1 + sigma_p p^{-s})(1 - p^{-1-s})^2 = 1 + O(p^{-2-Re s} + p^{-2-2Re s}). G(0) = (1/2) prod_{p>2} (p-1)^2/(p(p-2)) = 1/(2C_2), G'/G(0) = (3/2) ln 2 + 2 sum_{p>2} ln p/(p(p-1)) = 1.857306. Hence sum_{r<=R} sigma(r) = (1/(4C_2)) ln^2 R + b_1 ln R + c_1 + O(R^{-1/2+eps}), 1/(4C_2) = 0.378695, b_1 = G(0)(2 gamma + G'/G(0)) = 2.281060. ## (III): the tail (sketch; constants not optimized, not independently checked) For h != 0, +-2: |w_p(h)| <= 2/(p-2) if p | h(h^2-4) (|w_3| <= 2, |w_2| = 1) and |w_p(h)| = 4/(p-2)^2 otherwise. Writing r = s t with s | h(h^2-4) and t coprime to it, sum_{t>T} 4^{omega(t)}/g(t)^2 << ln^3 T / T (g(t) = prod (p-2)), so |T_R(h)| << (ln^3 R / R) prod_{p | h(h^2-4)} (3 + 4/(p-2)). A Nair-Tenenbaum type bound for the mean of that multiplicative function at the cubic h(h^2-4) gives (2/H) sum_{0= 0 of size ~ 1/r). With R = H (ln H)^10, (III) = O(1). ## Corollary (one-sided bound; rung: proof sketch, conditional on the (III) sketch) Since (II) >= 0 and (III) = O(1) at R = H (ln H)^10: D(H)/(A^2 H) <= (1/(4C_2)) ln^2 H + O(ln H ln ln H). So limsup D/(A^2 H ln^2 H) <= 1/(4C_2) = 0.378695. The #1315 free fit gave a = 0.38298. ## What remains (exact obligation) Lower bound for a, and any statement about b, c: show (II) = o(ln^2 H) at R = H (ln H)^10, and for b, c evaluate (II) to o(1). The trivial bound |tau(b/r)|^2 <= 4^{omega(r)}/g(r)^2 with sum_{b != 0} F_H(b/r) <= min(r, r^2/H) gives only (II) << ln^3 H ln ln H: the O(H log^k H) boundary failure the route anticipated, now isolated in one nonnegative sum. The input needed is equidistribution of the CRT phases in |tau(b/r)|^2 = g(r)^{-2} sum_{r_0 r_1 = r} 2^{omega(r_0)} prod_{p|r_1} 2cos(4 pi b_p/p) for b << r/H and r ~ H: the r_1 = 1 part contributes only O(ln H ln ln H); the r_1 > 1 parts carry the phases e(2 b inverse(r/s)/s), whose average over r needs a Kloosterman/Weil-type cancellation in the modulus. Neither Montgomery-Soundararajan (weights depend on q only) nor Kuperberg 2301.06095 (fixed classes/weights) supplies this. ## Measurement (part C; cheap, not a proof) Replacing 1 - F_H by the sharp cutoff r <= H in Theorem A predicts D/(A^2 H) ~ S(H) = sum_{r<=H} sigma(r). Against the #1315 table (cited, not rerun) the difference D/(A^2 H) - S(H) runs -0.20, 0.12, -0.58, -0.55, -0.71, -1.09, -0.99, -1.25, -1.35, -1.54 for H = 1e3..1e6 (values 34..103), and a two-parameter refit with a fixed at 1/(4C_2) gives b = 2.0674, c = 1.8172, max residual 0.2543 (free three-parameter fit: 0.2427). This is consistent with a = 1/(4C_2) and does not determine b or c.