Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 537

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let ϵ>0\epsilon>0 and NN be sufficiently large. If A⊆{1,…,N}A\subseteq \{1,\ldots,N\} has ∣A∣≥ϵN\lvert A\rvert \geq \epsilon N then must there exist a1,a2,a3∈Aa_1,a_2,a_3\in A and distinct primes p1,p2,p3p_1,p_2,p_3 such that a1p1=a2p2=a3p3?a_1p_1=a_2p_2=a_3p_3?

A positive answer would imply [536].

Erdős describes a construction of Ruzsa which disproves this: consider the set of all squarefree numbers of the shape p1⋯prp_1\cdots p_r where pi+1>2pip_{i+1}>2p_i for 1≤i<r1\leq i<r. This set has positive density, and hence if AA is its intersection with (N/2,N)(N/2,N) then ∣A∣≫N\lvert A\rvert \gg N for all large NN. Suppose now that p1a1=p2a2=p3a3p_1a_1=p_2a_2=p_3a_3 where ai∈Aa_i\in A and p1,p2,p3p_1,p_2,p_3 are distinct primes. Without loss of generality we may assume that a2>a3a_2>a_3 and hence p2<p3p_2<p_3, and so since p2p3∣a1∈Ap_2p_3\mid a_1\in A we must have 2<p3/p22<p_3/p_2. On the other hand p3/p2=a2/a3∈(1,2)p_3/p_2=a_2/a_3\in (1,2), a contradiction.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.02405 [math.NT] · NS.02405v1 for this version
Declaration:Erdos537.erdos_537
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:bd874f15877406b47fd010ba94ec21bd9ae82c605240527d1b97158a9df03cbc
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/537.lean

Formal statement

theorem erdos_537 :
    ¬ ∀ ε : ℝ, 0 < ε → ∀ᶠ N : ℕ in atTop,
      ∀ A ⊆ Finset.Icc 1 N, (A.card : ℝ) ≥ ε * N →
        ∃ a₁ ∈ A, ∃ a₂ ∈ A, ∃ a₃ ∈ A, ∃ p₁ p₂ p₃ : ℕ,
          p₁.Prime ∧ p₂.Prime ∧ p₃.Prime ∧
          p₁ ≠ p₂ ∧ p₁ ≠ p₃ ∧ p₂ ≠ p₃ ∧
          a₁ * p₁ = a₂ * p₂ ∧ a₂ * p₂ = a₃ * p₃
Show the full Challenge.lean (63 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 537

*References:*
- [erdosproblems.com/537](https://www.erdosproblems.com/537)
- [Er73] Erdős, P., *Problems and results on combinatorial number theory*. A survey of combinatorial
  theory (Proc. Internat. Sympos., Colorado State Univ., Fort Collins, Colo., 1971) (1973), 117-138.
-/

@[expose] public section

open Filter

namespace Erdos537

set_option linter.style.formal_proof_palomar false in
/--
Let $\epsilon>0$ and $N$ be sufficiently large. If $A\subseteq \{1,\ldots,N\}$ has
$\lvert A\rvert \geq \epsilon N$ then must there exist $a_1,a_2,a_3\in A$ and distinct primes
$p_1,p_2,p_3$ such that
$$a_1p_1=a_2p_2=a_3p_3?$$

A positive answer would imply [536].

Erdős describes a construction of Ruzsa which disproves this: consider the set of all
squarefree numbers of the shape $p_1\cdots p_r$ where $p_{i+1}>2p_i$ for $1\leq i<r$. This
set has positive density, and hence if $A$ is its intersection with $(N/2,N)$ then
$\lvert A\rvert \gg N$ for all large $N$. Suppose now that $p_1a_1=p_2a_2=p_3a_3$ where
$a_i\in A$ and $p_1,p_2,p_3$ are distinct primes. Without loss of generality we may assume
that $a_2>a_3$ and hence $p_2<p_3$, and so since $p_2p_3\mid a_1\in A$ we must have
$2<p_3/p_2$. On the other hand $p_3/p_2=a_2/a_3\in (1,2)$, a contradiction.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos537.lean"]
theorem erdos_537 :
    ¬ ∀ ε : ℝ, 0 < ε → ∀ᶠ N : ℕ in atTop,
      ∀ A ⊆ Finset.Icc 1 N, (A.card : ℝ) ≥ ε * N →
        ∃ a₁ ∈ A, ∃ a₂ ∈ A, ∃ a₃ ∈ A, ∃ p₁ p₂ p₃ : ℕ,
          p₁.Prime ∧ p₂.Prime ∧ p₃.Prime ∧
          p₁ ≠ p₂ ∧ p₁ ≠ p₃ ∧ p₂ ≠ p₃ ∧
          a₁ * p₁ = a₂ * p₂ ∧ a₂ * p₂ = a₃ * p₃ := by
  sorry

end Erdos537

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos537.erdos_537 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_537 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-537
nosorry submit erdos-537 nosorry/erdos-537/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.