Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 26

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 A⊂NA\subset\mathbb{N} be infinite such that ∑a∈A1a=∞\sum_{a \in A} \frac{1}{a} = \infty. Must there exist some k≥1k\geq 1 such that almost all integers have a divisor of the form a+ka+k for some a∈Aa\in A?

This was formalized in Lean by Alexeev using Aristotle.

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

Formal statement

theorem erdos_26 : ¬ ∀ A : ℕ → ℕ, StrictMono A → IsThick A →
    ∃ k, IsBehrend (A · + k)
Show the full Challenge.lean (128 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 26

*References:*
- [erdosproblems.com/26](https://www.erdosproblems.com/26)
- [Te19](https://arxiv.org/pdf/1908.00488) G. Tenenbaum,
  _Some of Erdős' unconventional problems in number theory, thirty-four years later_,
  arXiv:1908.00488 [math.NT] (2019)
-/

@[expose] public section

namespace Erdos26

/-- A sequence of naturals $(a_i)$ is _thick_ if their sum of reciprocals diverges:
$$
  \sum_i \frac{1}{a_i} = \infty
$$-/
def IsThick {ι : Type*} (A : ι → ℕ) : Prop := ¬Summable (fun i ↦ (1 : ℝ) / A i)

@[category test, AMS 11]
theorem not_isThick_of_finite {ι : Type*} [Finite ι] (A : ι → ℕ) : ¬IsThick A := by
  simpa [IsThick] using .of_finite

@[category test, AMS 11]
theorem not_isThick_of_geom_one_lt (r : ℕ) (hr : r > 1) : ¬IsThick fun n : ℕ ↦ r ^ n := by
  simpa [IsThick] using summable_geometric_of_lt_one (r := 1 / r) (by aesop)
    (div_lt_self zero_lt_one (mod_cast hr))

@[category test, AMS 11]
theorem isThick_const {ι : Type*} [Infinite ι] (r : ℕ) (h : r > 0) : IsThick fun _ : ι ↦ r := by
  simp only [IsThick, one_div, summable_const_iff, inv_eq_zero, Nat.cast_eq_zero]
  exact Nat.ne_zero_of_lt h

/-- The set of multiples of a sequence $(a_i)$ is $\{na_i | n \in \mathbb{N}, i\}$. -/
def MultiplesOf {ι : Type*} (A : ι → ℕ) : Set ℕ := Set.range fun (n, i) ↦ n * A i

@[category test, AMS 11]
theorem multiplesOf_eq_univ {ι : Type*} (A : ι → ℕ) (h : 1 ∈ Set.range A) :
    MultiplesOf A = Set.univ := by
  obtain ⟨i, hi⟩ := h
  exact top_unique fun n hn ↦ ⟨(n, i), by simp [hi]⟩

/-- A sequence of naturals $(a_i)$ is _Behrend_ if almost all integers are a multiple of
some $a_i$. In other words, if the set of multiples has natural density $1$. -/
def IsBehrend {ι : Type*} (A : ι → ℕ) : Prop := (MultiplesOf A).HasDensity 1

/-- A sequence of naturals $(a_i)$ is _weakly Behrend_ with respect to $\varepsilon \in \mathbb{R}$
if at least $1 - \varepsilon$ density of all numbers are a multiple of $A$. -/
def IsWeaklyBehrend {ι : Type*} (A : ι → ℕ) (ε : ℝ) : Prop := 1 - ε ≤ (MultiplesOf A).lowerDensity

@[category test, AMS 11]
theorem isBehrend_of_contains_one {ι : Type*} (A : ι → ℕ) (h : 1 ∈ Set.range A) :
    IsBehrend A := by
  rw [IsBehrend, Set.HasDensity]
  exact tendsto_atTop_of_eventually_const (i₀ := 1) fun n hn ↦ by
    simp [multiplesOf_eq_univ A h, Set.partialDensity]
    lia

@[category test, AMS 11]
theorem isWeaklyBehrend_of_ge_one {ι : Type*} (A : ι → ℕ) {ε : ℝ} (hε : 1 ≤ ε) :
    IsWeaklyBehrend A ε := by
  exact (sub_nonpos.2 hε).trans (Set.lowerDensity_nonneg _)

@[category test, AMS 11]
theorem not_isWeaklyBehrend_of_neg {ι : Type*} (A : ι → ℕ) {ε : ℝ} (hε : ε < 0) :
    ¬IsWeaklyBehrend A ε := by
  norm_num [IsWeaklyBehrend]
  exact (add_lt_of_neg_right _ hε).trans_le (Set.lowerDensity_le_one _)

set_option linter.style.formal_proof_palomar false in
/--
Let $A\subset\mathbb{N}$ be infinite such that $\sum_{a \in A} \frac{1}{a} = \infty$. Must
there exist some $k\geq 1$ such that almost all integers have a divisor of the form $a+k$
for some $a\in A$?

This was formalized in Lean by Alexeev using Aristotle.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.24.0/ErdosProblems/Erdos26.lean"]
theorem erdos_26 : ¬ ∀ A : ℕ → ℕ, StrictMono A → IsThick A →
    ∃ k, IsBehrend (A · + k) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
If we allow for $\sum_{a\in A} \frac{1}{a} < \infty$ then Rusza has found a counter-example.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos26.lean#L752"]
theorem erdos_26.variants.rusza : ∃ A : ℕ → ℕ,
    StrictMono A ∧ ¬IsThick A ∧ ∀ k, ¬IsBehrend (A · + k) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Tenenbaum asked the weaker variant where for every $\epsilon>0$ there is
some $k=k(\epsilon)$ such that at least $1-\epsilon$ density of all integers have a
divisor of the form $a+k$ for some $a\in A$.

The DeepMind prover agent has found a formal disproof of this statement.
-/
@[category research solved, question, AMS 11,
formal_proof using formal_conjectures at "https://github.com/mo271/formal-conjectures/blob/09c54540aa51cb40dff73660c94a82e2631386f8/FormalConjectures/ErdosProblems/26.lean#L625"]
theorem erdos_26.variants.tenenbaum : ¬ ∀ᵉ (A : ℕ → ℕ), StrictMono A → IsThick A →
    (∀ ε > (0 : ℝ), ∃ k, IsWeaklyBehrend (A · + k) ε) := by
  sorry

end Erdos26

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

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

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.