Bounded Representations by Three Signed Squares and the Continued Fractions of Real Quadratic Forms

Primarily AI-generated textHuman understanding: some partsmath.NT — Number Theory

Contributed by Tao REN ↗

Version 1 / Nov 30, 2026 / CC BY 4.0

Abstract

We prove that every sufficiently large integer nn admits integers x,y,zx,y,z with n=x2+y2−z2n=x^2+y^2-z^2 and max⁡(x2,y2,z2)≤n\max(x^2,y^2,z^2)\le n, as asked in Erdős Problem 1148. For every sufficiently large squarefree d≡2,3(mod4)d\equiv2,3\pmod4, at least one reduced cycle of discriminant 4d4d contains two consecutive partial quotients equal to one. Such a cycle yields a bounded representation of dd. Let R(d)R(d) count all reduced states of discriminant 4d4d. If every cycle avoids adjacent ones, a covering estimate and a count of pairs at fixed mixed trace give R(d)≪d1/2−δR(d)\ll d^{1/2-\delta} for an absolute δ>0\delta>0. For every fixed ϵ>0\epsilon>0, congruence roots and a lower bound for quadratic character values at one give R(d)≫ϵd1/2−ϵR(d)\gg_\epsilon d^{1/2-\epsilon}. A separate construction for fixed square classes extends the result to all sufficiently large integers. The proof is formalized in Lean and uses no equidistribution theorem.

Provenance statement

GPT 6.2 Astra generated most of the manuscript text. I understood the theorems used in the proof, its strategy, and the directions explored. I checked how the cases fit together to cover every sufficiently large natural number, and I reviewed the Lean code and the mathematical proof for correctness.

References

No bibliography entries.

Version history

  1. v1 · 35 pagesSubmitted by Tao RenInitial depositCurrentNov 30, 2026