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 13 · variants.general

Source:Erdős Problems · erdosproblems.com/13
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

A general version asks, for a fixed r∈Nr \in \mathbb{N}, if a set A⊆{1,...,N}A \subseteq \{1, ..., N\} has no a∈Aa \in A and b1,...,br∈Ab_1, ..., b_r \in A such that a∣(b1+...+br)a | (b_1 + ... + b_r) and a<min⁡(b1,...,br)a < \min(b_1, ..., b_r), then is it true that ∣A∣≤N/(r+1)+O(1)|A| \le N/(r+1) + O(1)?

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question
Cite as:NS.01068 [math.CO] · NS.01068v1 for this version
Declaration:Erdos13.erdos_13.variants.general
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:f8752c7dc759355e88f5f7d8f3f2f4b6c2b4072ba7ac6f9e3334b56aec262d65
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/13.lean

Formal statement

theorem erdos_13.variants.general : ∀ r : ℕ, ∃ C : ℝ, ∀ N : ℕ,
    ∀ A ⊆ Icc 1 N,
    (∀ a ∈ A, ∀ (b : Fin r → ℕ), (∀ i, b i ∈ A) → (∀ i, a < b i) →
      ¬ (a ∣ ∑ i, b i)) →
    (A.card : ℝ) ≤ (N : ℝ) / (r + 1) + C
Show the full Challenge.lean (68 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 13

*Reference:* [erdosproblems.com/13](https://www.erdosproblems.com/13)
-/

@[expose] public section

open Finset Nat

namespace Erdos13

/--
A finite set of naturals `A` is said to be forbidden-triple-free if for all `a, b, c ∈ A`,
if `a < min(b, c)` then `a` does not divide `b + c`.
-/
def IsForbiddenTripleFree (A : Finset ℕ) : Prop :=
  ∀ a ∈ A, ∀ b ∈ A, ∀ c ∈ A, a < min b c → ¬ (a ∣ b + c)

set_option linter.style.formal_proof_palomar false in
/--
If $A \subseteq \{1, ..., N\}$ is a set with no $a, b, c \in A$ such that $a | (b+c)$ and
$a < \min(b,c)$, then $|A| \le N/3 + O(1)$. This has been solved by Bedert [Be23].

[Be23] Bedert, B., _On a problem of Erdős and Sárközy about sequences with no term dividing
the sum of two larger terms_. arXiv:2301.07065 (2023).
-/
@[category research solved, AMS 5 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos13.lean#L8261"]
theorem erdos_13 : ∃ C : ℝ, ∀ N : ℕ, ∀ A ⊆ Icc 1 N, IsForbiddenTripleFree A →
    (A.card : ℝ) ≤ (N : ℝ) / 3 + C := by
  sorry

/--
A general version asks, for a fixed $r \in \mathbb{N}$, if a set
$A \subseteq \{1, ..., N\}$ has no $a \in A$ and $b_1, ..., b_r \in A$ such that
$a | (b_1 + ... + b_r)$ and $a < \min(b_1, ..., b_r)$, then is it true that
$|A| \le N/(r+1) + O(1)$?
-/
@[category research open, question, AMS 5 11]
theorem erdos_13.variants.general : ∀ r : ℕ, ∃ C : ℝ, ∀ N : ℕ,
    ∀ A ⊆ Icc 1 N,
    (∀ a ∈ A, ∀ (b : Fin r → ℕ), (∀ i, b i ∈ A) → (∀ i, a < b i) →
      ¬ (a ∣ ∑ i, b i)) →
    (A.card : ℝ) ≤ (N : ℝ) / (r + 1) + C := by
  sorry

end Erdos13

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

nosorry desk erdos-13--erdos-13-variants-general      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-13--erdos-13-variants-general
nosorry submit erdos-13--erdos-13-variants-general nosorry/erdos-13--erdos-13-variants-general/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.