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 444

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\subseteq\mathbb{N} be infinite and dA(n)d_A(n) count the number of a∈Aa\in A which divide nn. Is it true that, for every kk, lim sup⁡x→∞max⁡n<xdA(n)(∑n∈A∩[1,x)1n)k=∞?\limsup_{x\to \infty} \frac{\max_{n<x}d_A(n)}{\left(\sum_{n\in A\cap[1,x)}\frac{1}{n}\right)^k} =\infty?

This is asked in [ErGr80, p.88]. The answer is yes, proved by Erdős and Sárközy [ErSa80].

The maximum is over 1≤n<x1 \le n < x, since every a∈Aa \in A divides 00.

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

Formal statement

theorem erdos_444 : ∀ A : Set ℕ, A.Infinite → ∀ k : ℕ,
    atTop.limsup (fun x : ℝ ↦ (((Ico 1 ⌈x⌉₊).sup (divisorCount A) /
      (∑ n ∈ Ico 1 ⌈x⌉₊ with n ∈ A, (n : ℝ)⁻¹) ^ k : ℝ) : EReal)) = ⊤
Show the full Challenge.lean (71 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 444

*References:*
- [erdosproblems.com/444](https://www.erdosproblems.com/444)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [ErSa80] Erdős, P. and Sárközy, A., *Some asymptotic formulas on generalized divisor functions.
  IV*. Studia Sci. Math. Hungar. (1980), 467-479.
-/

@[expose] public section

open Filter Finset

namespace Erdos444

open scoped Classical in
/-- $d_A(n)$ is the number of $a \in A$ which divide $n$. Only the positive divisors of $n$ are
counted, so $0 \in A$ does not change $d_A(n)$ for $n \ge 1$. -/
noncomputable def divisorCount (A : Set ℕ) (n : ℕ) : ℕ :=
  #{a ∈ n.divisors | a ∈ A}

@[category test, AMS 11]
theorem divisorCount_zero (A : Set ℕ) : divisorCount A 0 = 0 := by
  simp [divisorCount]

@[category test, AMS 11]
theorem divisorCount_zero_two_three_four_twelve : divisorCount {0, 2, 3, 4} 12 = 3 := by
  simp [divisorCount, show Nat.divisors 12 = {1, 2, 3, 4, 6, 12} by decide, filter_insert]

open scoped Classical in
set_option linter.style.formal_proof_palomar false in
/--
Let $A\subseteq\mathbb{N}$ be infinite and $d_A(n)$ count the number of $a\in A$ which divide $n$.
Is it true that, for every $k$,
$$\limsup_{x\to \infty} \frac{\max_{n<x}d_A(n)}{\left(\sum_{n\in A\cap[1,x)}\frac{1}{n}\right)^k}
=\infty?$$

This is asked in [ErGr80, p.88]. The answer is yes, proved by Erdős and Sárközy [ErSa80].

The maximum is over $1 \le n < x$, since every $a \in A$ divides $0$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos444.lean#L38"]
theorem erdos_444 : ∀ A : Set ℕ, A.Infinite → ∀ k : ℕ,
    atTop.limsup (fun x : ℝ ↦ (((Ico 1 ⌈x⌉₊).sup (divisorCount A) /
      (∑ n ∈ Ico 1 ⌈x⌉₊ with n ∈ A, (n : ℝ)⁻¹) ^ k : ℝ) : EReal)) = ⊤ := by
  sorry

end Erdos444

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

nosorry fetch erdos-444
nosorry submit erdos-444 nosorry/erdos-444/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.