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 824

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 h(x)h(x) count the number of integers 1≤a<b<x1\leq a<b<x such that (a,b)=1(a,b)=1 and σ(a)=σ(b)\sigma(a)=\sigma(b), where σ\sigma is the sum of divisors function. Is it true that h(x)>x2−o(1)h(x)>x^{2-o(1)}?

That is, is it true that for every ϵ>0\epsilon > 0 we have h(x)>x2−ϵh(x) > x^{2-\epsilon} for all large xx? According to erdosproblems.com, Erdős [Er74b] proved that lim sup⁡h(x)/x=∞\limsup h(x)/x = \infty and claimed a similar proof for this problem.

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

Formal statement

theorem erdos_824 :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ x : ℕ in atTop, (x : ℝ) ^ (2 - ε) < (h x : ℝ)
Show the full Challenge.lean (97 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 824

*References:*
- [erdosproblems.com/824](https://www.erdosproblems.com/824)
- [Er59c] Erdős, P., *Remarks on number theory. II. Some problems on the $\sigma$ function*.
  Acta Arith. (1959), 171--177.
- [Er74b] Erdős, P., *Remarks on some problems in number theory*. Math. Balkanica (1974),
  197-202.
- [PoPo16] Pollack, Paul and Pomerance, Carl, *Some problems of Erdős on the sum-of-divisors
  function*. Trans. Amer. Math. Soc. Ser. B (2016), 1-26.
- [LiZh26] Li, Shisheng and Zhuang, Zhong, *Coprime pairs with equal sum of divisors, assuming
  smooth shifted primes*. Preprint (October 2026).
  [github.com/daizisheng/erdos-824](https://github.com/daizisheng/erdos-824/blob/b4b7099bb8ab9c1c7fc61dae18a73cdbe503fe5a/paper/erdos824.pdf)
- [OpenAI26] OpenAI, *Weighted dilation graphs, smooth shifted primes and totient fibers*.
  OpenAI Math Release preprint (September 2026).
  [github.com/openai/math](https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Weighted-Dilation-Graphs-Smooth-Shifted-Primes-and-Totient-Fibers-September-24-2026/paper.pdf)
-/

@[expose] public section

open Filter
open scoped ArithmeticFunction.sigma

namespace Erdos824

/-- `h x` is the number of pairs of integers $1 \leq a < b < x$ such that $(a, b) = 1$ and
$\sigma(a) = \sigma(b)$, where $\sigma$ is the sum of divisors function.

We take $x$ to be a natural number. For real $x$ the count equals `h ⌈x⌉`, so the asymptotic
statements below do not change. -/
def h (x : ℕ) : ℕ :=
  ((Finset.Ico 1 x ×ˢ Finset.Ico 1 x).filter fun (a, b) ↦
    a < b ∧ a.Coprime b ∧ σ 1 a = σ 1 b).card

/-- `hSquarefree x` is the number of pairs of integers $1 \leq a < b < x$ such that $a$ and $b$
are squarefree and $\sigma(a) = \sigma(b)$. -/
def hSquarefree (x : ℕ) : ℕ :=
  ((Finset.Ico 1 x ×ˢ Finset.Ico 1 x).filter fun (a, b) ↦
    a < b ∧ Squarefree a ∧ Squarefree b ∧ σ 1 a = σ 1 b).card

set_option linter.style.formal_proof_palomar false in
/--
Let $h(x)$ count the number of integers $1\leq a<b<x$ such that $(a,b)=1$ and
$\sigma(a)=\sigma(b)$, where $\sigma$ is the sum of divisors function. Is it true that
$h(x)>x^{2-o(1)}$?

That is, is it true that for every $\epsilon > 0$ we have $h(x) > x^{2-\epsilon}$ for all large
$x$? According to erdosproblems.com, Erdős [Er74b] proved that $\limsup h(x)/x = \infty$ and
claimed a similar proof for this problem.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at "https://github.com/cadamcat/equal-divisor-sums-lean4/blob/6280393739de142f3c54160ce7083110ed55f194/Erdos824/Theorem.lean#L17"]
theorem erdos_824 :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ x : ℕ in atTop, (x : ℝ) ^ (2 - ε) < (h x : ℝ) := by
  sorry

/--
Pollack and Pomerance [PoPo16, Section 6] proved that $h(x)/x \to \infty$, answering a question
of Erdős [Er59c].
-/
@[category research solved, AMS 11]
theorem erdos_824.variants.pollack_pomerance :
    Tendsto (fun x : ℕ ↦ (h x : ℝ) / (x : ℝ)) atTop atTop := by
  sorry

/--
A similar question can be asked if the condition $(a,b)=1$ is replaced by the condition that $a$
and $b$ are squarefree. Let $h'(x)$ count the number of squarefree integers $1\leq a<b<x$ with
$\sigma(a)=\sigma(b)$. Is it true that $h'(x)>x^{2-o(1)}$?
-/
@[category research open, question, AMS 11]
theorem erdos_824.variants.squarefree :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ x : ℕ in atTop, (x : ℝ) ^ (2 - ε) < (hSquarefree x : ℝ) := by
  sorry

end Erdos824

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

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