Skip to content

Rudin's Conjecture on Squares in Arithmetic Progressions #2282

@franzhusch

Description

@franzhusch

What is the conjecture

Let $Q(N; q, a)$ denote the number of perfect squares in the arithmetic progression ${qn + a : n = 0, 1, \ldots, N-1}$, where $q, a \geq 1$ and $\gcd(q, a) = 1$ with $(q, a) \neq (1, 1)$. Let $Q(N) = \max {Q(N; q, a)}$ over all such non-trivial arithmetic progressions.

Rudin's Conjecture claims that $Q(N) = O(\sqrt{N})$. A stronger form of the conjecture states that for $N \geq 6$, the arithmetic progression $24n + 1$ attains the maximum and is the unique such progression (up to equivalence).

(This description may contain subtle errors especially on more complex problems; for exact details, refer to the sources.)

Sources:

Prerequisites needed

Formalizability Rating: 1/5 (0 is best) (as of 2026-02-13)

Building blocks (1-3; from search results):

  • Set.IsAPOfLengthWith from FormalConjecturesForMathlib/Combinatorics/AP/Basic.lean for arithmetic progression definitions
  • Nat.sqrt and Finset.card from Mathlib for counting and big-O notation
  • Standard Mathlib definitions for perfect squares and finite sets

Missing pieces (exactly 2; unclear/absent from search results):

  • A helper function to count perfect squares in a specific arithmetic progression parameterized by (q, a)
  • A formalization of the big-O asymptotic bound in the context of arithmetic combinatorics

Rating justification (1-2 sentences): The core mathematical objects (arithmetic progressions, cardinality, perfect squares) are available in Mathlib and FormalConjecturesForMathlib. Only minor helper definitions are needed to state the conjecture precisely, making it straightforward to formalize.

AMS categories

  • ams-11
  • ams-05

Choose either option

  • I plan on adding this conjecture to the repository
  • This issue is up for grabs: I would like to see this conjecture added by somebody else

This issue was generated by an AI agent and reviewed by me.

See more information here: link

Feedback on mistakes/hallucinations: link

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions