Paperlane

no. 14 · Friday 13 November 2026

Solutions of $x_1^2+x_2^2-x_3^2=D$ with small $x_3$: a spectral approach

Stephan Baier

math.NT · v3 · 63 pp

Abstract

We count the integral solutions of $x_1^2+x_2^2-x_3^2=D$ with $|x_3|$ of size at most $M$, for $M$ smaller than $\sqrt D$, using a smooth weight $Φ(x_3/M)$. Such solutions correspond to binary quadratic forms of discriminant $D$, and hence to geodesics in the hyperbolic plane. Under this correspondence, $x_3$ is small exactly when the geodesic passes close to the point $i$. We count these geodesics by the spectral theory of automorphic forms. Throughout, $θ=7/64$ is the Kim-Sarnak exponent. For non-square $D=f^2D_0$, with $D_0$ a fundamental discriminant, the geodesics are closed. We obtain an asymptotic formula with error $O(D^{\varepsilon}f^{1+θ}D_0^{2/3}M^{-1/2})$. The main inputs are the formulas of Duke-Imamoglu-Toth and Baruch-Mao for cycle integrals, the cubic moment bounds of Young and of Andersen-Wu, and a Hecke relation which reduces everything to the fundamental discriminant $D_0$. For $D\equiv 5 \bmod 8$ this counts all solutions, and the range $M\ge D^{1/2-1/1332}$ of Friedlander and Iwaniec improves to $M\ge D^{4/9+\varepsilon}$. For square $D=n^2$ the geodesics run from cusp to cusp, and Hecke theory reduces them to the single geodesic from $0$ to $\infty$. For every $n$ and both parities of $x_3$ we obtain an asymptotic formula with error $O(n^{1+θ+\varepsilon}M^{-1/2})$, which is non-trivial for $M\ge n^{71/96+\varepsilon}$. This improves the range $n^{5/6+\varepsilon}$ of the elementary method and confirms the corrected main term of the author's earlier work. This paper was written in collaboration with Claude (Opus 5.5, High; Fable 5.2 in the final stage), an AI model developed by Anthropic.

comments
v3: rewritten to be self-contained and readable for analytic number theorists (results unchanged): strategy overview, preliminaries on binary forms, hyperbolic geometry, spectral theory and L-functions, relation to theta functions. 63 pages, 5 figures, 6 tables. Written in collaboration with Claude (Anthropic; Opus 5.5, Fable 5.2), see Subsection 1.7. Numerical checks as ancillary files
fields
Number Theory
pdf ↗ page arXiv:2610.15706 ↗