AI-assisted construction counts squares with prescribed digit sums

For every base b≥2b\ge 2 and sufficiently large digit ∑q\sum q congruent to a square modulo b−1b-1 (automatic for b=2b=2), the authors construct at least exp⁡(cbq)\exp (c_{b}\sqrt{q}) squares n2n^{2} of bounded size with gcd⁡(n,b)=1\gcd (n,b)=1 and base-b digit ∑q\sum q. The explicit Lean statement gives q≥2304b4q\ge 2304b^{4}, n2≤b(3q)n^{2}\le b^{(3q)}, and at least 2⌊q/(36b)⌋2^{\lfloor\sqrt q/(36b)\rfloor} examples for b≥3b\ge 3, with a separate binary case.

What was already known

A base-ten existence argument using trailing-zero padding was known. It did not require roots coprime to the base or give this quantitative all-base count.

How the result developed

  1. 29 Aug 2026 · Result reported [1]

    The original report reported the AI-assisted result.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-centered
ImportanceNotable
Human understandingExplained

AI involvement

The submitting author, writing as vibefrtz, directed and verified the work with Claude Opus 5, Claude Fable 5 and OpenAI Sol. The carry-free Sidon-set construction behind the submitted theorem and the paper's quantitative lattice local-limit framework were worked out jointly with the models.

Importance

The carry-free construction strengthens existence to an explicit all-base count with coprime roots.

Technical verification

The author reports checking all proofs, and the specific Theorem 1.8 digit-sum construction is represented by sorry-free Lean statements with no paper-specific axioms; a registry audit compared the statement to the submitted claim. This does not elevate the broader square local-limit theorem, whose shrinking-frequency estimates remain outside the Lean proof.

Checking evidence

Author review of statements and proofs as stated in the author-submitted registry account

Checker
vibefrtz, pseudonymous paper author
Scope
Theorem 1.8 quantitative all-base prescribed square-digit-sum result
Basis
Source-reported

Machine checking

Sorry-free formal proof with axiom audit containing only Lean's standard axioms

Checker
Lean 4/mathlib kernel on DSS.sq_digit_sum_count and sq_digit_sum_count_two
Scope
The explicit prescribed-digit-sum count with coprime roots in every base
Basis
Source-reported

Human understanding

The author jointly worked out the Sidon construction and verified the argument, documenting understanding of the carry-free counting mechanism.

Human work and later research

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Initial publication of this result.